1
0
Fork 0

The server builds and uses Lua as DLL in Debug mode.

This is a test to see how LuaRocks will interact. Only debug mode on Windows is affected, all other platforms and modes are unchanged.
This commit is contained in:
madmaxoft 2013-12-02 22:36:43 +01:00
parent e07c54f7f8
commit 70cf0c09a8
3 changed files with 16 additions and 8 deletions

4
MCServer/.gitignore vendored
View File

@ -1,4 +1,7 @@
*.exe
*.dll
*.exp
*.lib
*.ini
MCServer
logs
@ -20,3 +23,4 @@ valgrind.log
motd.txt
*.deuser
*.dmp
*.xml

View File

@ -20,7 +20,7 @@
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)\Lua"
IntermediateDirectory="$(ConfigurationName)\Lua"
ConfigurationType="4"
ConfigurationType="2"
CharacterSet="1"
>
<Tool
@ -41,7 +41,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;LUA_BUILD_AS_DLL"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
@ -59,11 +59,16 @@
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
Name="VCLinkerTool"
OutputFile="$(ProjectDir)\..\MCServer\lua5.1.dll"
GenerateDebugInformation="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
@ -73,6 +78,9 @@
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
@ -375,10 +383,6 @@
RelativePath="..\lib\lua\src\ltm.c"
>
</File>
<File
RelativePath="..\lib\lua\src\lua.c"
>
</File>
<File
RelativePath="..\lib\lua\src\luac.c"
>

View File

@ -43,7 +43,7 @@
AdditionalOptions="/MP"
Optimization="0"
AdditionalIncludeDirectories="&quot;../lib/jsoncpp/include&quot;;../lib"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;XML_STATIC"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;XML_STATIC;LUA_BUILD_AS_DLL"
MinimalRebuild="false"
BasicRuntimeChecks="3"
RuntimeLibrary="1"