tweaked lua VPC to match it's actual lib makefile, a few tweaks. still not working on linux tho

Conflicts:
	mp/src/thirdparty/lua/lua.vpc
This commit is contained in:
Dexter 2013-11-02 08:58:14 +00:00 committed by squeek
parent 54b5307c72
commit c6be12a4e0
3 changed files with 85 additions and 91 deletions

View file

@ -39,12 +39,6 @@ $Project "Client (FF)"
$File "ff\ff_cl_player.cpp" $File "ff\ff_cl_player.cpp"
$File "ff\ff_cl_player.h" $File "ff\ff_cl_player.h"
} }
$Folder "Libraries"
{
$Lib lua
$Lib luabind
}
} }
// IMPORTANT: remove conflicting hl2dm SDK stuff as we implement our own!! // IMPORTANT: remove conflicting hl2dm SDK stuff as we implement our own!!

View file

@ -11,9 +11,7 @@ $Configuration
$AdditionalIncludeDirectories "$BASE" $AdditionalIncludeDirectories "$BASE"
$EnableC++Exceptions "Yes (/EHsc)" $EnableC++Exceptions "Yes (/EHsc)"
$PreprocessorDefinitions "LUA_OPNAMES" $PreprocessorDefinitions "LUA_OPNAMES"
// Compile as C++ code breaks symbols, didnt want to spend any more time figuring out why becuase this is essentially what $CompileAs "Compile as C Code (/TC)"
// we have been doing
$CompileAs "Compile as C Code (/TC)"
} }
} }
@ -22,51 +20,54 @@ $Project "lua"
$Folder "Source Files" $Folder "Source Files"
{ {
$File "lapi.c" $File "lapi.c"
$File "lauxlib.c"
$File "lbaselib.c"
$File "lcode.c" $File "lcode.c"
$File "ldblib.c"
$File "ldebug.c" $File "ldebug.c"
$File "ldo.c" $File "ldo.c"
$File "ldump.c" $File "ldump.c"
$File "lfunc.c" $File "lfunc.c"
$File "lgc.c" $File "lgc.c"
$File "linit.c"
$File "liolib.c"
$File "llex.c" $File "llex.c"
$File "lmathlib.c"
$File "lmem.c" $File "lmem.c"
$File "loadlib.c" $File "lundump.c"
$File "lobject.c" $File "lobject.c"
$File "lopcodes.c" $File "lopcodes.c"
$File "loslib.c"
$File "lparser.c" $File "lparser.c"
$File "lstate.c" $File "lstate.c"
$File "lstring.c" $File "lstring.c"
$File "lstrlib.c"
$File "ltable.c" $File "ltable.c"
$File "ltablib.c"
$File "ltm.c" $File "ltm.c"
//$File "lua.c"
$File "luac.c"
$File "lundump.c"
$File "lvm.c" $File "lvm.c"
$File "lzio.c" $File "lzio.c"
$File "print.c"
$File "lauxlib.c"
$File "lbaselib.c"
$File "ldblib.c"
$File "liolib.c"
$File "lmathlib.c"
$File "loslib.c"
$File "ltablib.c"
$File "lstrlib.c"
$File "loadlib.c"
$File "linit.c"
} }
$Folder "Header Files" $Folder "Header Files"
{ {
$File "lapi.h" $File "lapi.h"
$File "lauxlib.h"
$File "lcode.h" $File "lcode.h"
$File "ldebug.h" $File "ldebug.h"
$File "ldo.h" $File "ldo.h"
$File "lfunc.h" $File "lfunc.h"
$File "lgc.h" $File "lgc.h"
$File "llex.h" $File "llex.h"
$File "llimits.h" // ask me how many times i typo'd this
$File "lmem.h" $File "lmem.h"
$File "lundump.h"
$File "lvm.h"
$File "lzio.h"
$File "lauxlib.h"
$File "lobject.h" $File "lobject.h"
$File "lopcodes.h" $File "lopcodes.h"
$File "lparser.h" $File "lparser.h"
@ -74,11 +75,8 @@ $Project "lua"
$File "lstring.h" $File "lstring.h"
$File "ltable.h" $File "ltable.h"
$File "ltm.h" $File "ltm.h"
$File "lua.hpp"
$File "luaconf.h" $File "luaconf.h"
$File "lualib.h" $File "lualib.h"
$File "lundump.h"
$File "lvm.h"
$File "lzio.h"
} }
} }

View file

@ -12,6 +12,8 @@ $Configuration
{ {
$AdditionalIncludeDirectories "$BASE;$THIRDPARTYDIR;$LUADIR" $AdditionalIncludeDirectories "$BASE;$THIRDPARTYDIR;$LUADIR"
$EnableC++Exceptions "Yes (/EHsc)" $EnableC++Exceptions "Yes (/EHsc)"
//$PreprocessorDefinitions "LUABIND_CPLUSPLUS_LUA"
//$CompileAs "Compile as C Code (/TC)"
} }
} }