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

@ -1,84 +1,82 @@
// lua project script // lua project script
$Macro SRCDIR "..\.." $Macro SRCDIR "..\.."
$Include "$SRCDIR\vpc_scripts\source_lib_base.vpc" // this for static lib $Include "$SRCDIR\vpc_scripts\source_lib_base.vpc" // this for static lib
$Configuration $Configuration
{ {
$Compiler $Compiler
{ {
$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)" }
}
} $Project "lua"
{
$Project "lua" $Folder "Source Files"
{ {
$Folder "Source Files" $File "lapi.c"
{ $File "lcode.c"
$File "lapi.c" $File "ldebug.c"
$File "lauxlib.c" $File "ldo.c"
$File "lbaselib.c" $File "ldump.c"
$File "lcode.c" $File "lfunc.c"
$File "ldblib.c" $File "lgc.c"
$File "ldebug.c" $File "llex.c"
$File "ldo.c" $File "lmem.c"
$File "ldump.c" $File "lundump.c"
$File "lfunc.c" $File "lobject.c"
$File "lgc.c" $File "lopcodes.c"
$File "linit.c" $File "lparser.c"
$File "liolib.c" $File "lstate.c"
$File "llex.c" $File "lstring.c"
$File "lmathlib.c" $File "ltable.c"
$File "lmem.c" $File "ltm.c"
$File "loadlib.c" $File "lvm.c"
$File "lobject.c" $File "lzio.c"
$File "lopcodes.c"
$File "loslib.c" $File "lauxlib.c"
$File "lparser.c" $File "lbaselib.c"
$File "lstate.c" $File "ldblib.c"
$File "lstring.c" $File "liolib.c"
$File "lstrlib.c" $File "lmathlib.c"
$File "ltable.c" $File "loslib.c"
$File "ltablib.c" $File "ltablib.c"
$File "ltm.c" $File "lstrlib.c"
//$File "lua.c" $File "loadlib.c"
$File "luac.c" $File "linit.c"
$File "lundump.c" }
$File "lvm.c"
$File "lzio.c" $Folder "Header Files"
$File "print.c" {
} $File "lapi.h"
$Folder "Header Files" $File "lcode.h"
{ $File "ldebug.h"
$File "lapi.h" $File "ldo.h"
$File "lauxlib.h" $File "lfunc.h"
$File "lcode.h" $File "lgc.h"
$File "ldebug.h" $File "llex.h"
$File "ldo.h" $File "lmem.h"
$File "lfunc.h" $File "lundump.h"
$File "lgc.h" $File "lvm.h"
$File "llex.h" $File "lzio.h"
$File "llimits.h" // ask me how many times i typo'd this
$File "lmem.h" $File "lauxlib.h"
$File "lobject.h"
$File "lopcodes.h" $File "lobject.h"
$File "lparser.h" $File "lopcodes.h"
$File "lstate.h" $File "lparser.h"
$File "lstring.h" $File "lstate.h"
$File "ltable.h" $File "lstring.h"
$File "ltm.h" $File "ltable.h"
$File "lua.hpp" $File "ltm.h"
$File "luaconf.h" $File "luaconf.h"
$File "lualib.h" $File "lualib.h"
$File "lundump.h"
$File "lvm.h" }
$File "lzio.h" }
}
}

View file

@ -10,8 +10,10 @@ $Configuration
{ {
$Compiler $Compiler
{ {
$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)"
} }
} }