From 0e48fd35bdabe79d3dc625eedda9eb5d12cc53de Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Tue, 3 Dec 2013 21:37:34 +0100 Subject: Made Lua compila as a standalone DLL on Windows. This enables us to use LuaRocks. --- Install/Zip2008.list | 1 + VC2008/Lua.vcproj | 39 ++++++++++++++++++++++++++++++--------- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/Install/Zip2008.list b/Install/Zip2008.list index fbfc06e0c..b118ccbf9 100644 --- a/Install/Zip2008.list +++ b/Install/Zip2008.list @@ -1,4 +1,5 @@ ..\MCServer\MCServer.exe +..\MCServer\*.dll ..\MCServer\Plugins ..\MCServer\webadmin ..\MCServer\crafting.txt diff --git a/VC2008/Lua.vcproj b/VC2008/Lua.vcproj index 4dee8c06e..1119d542b 100644 --- a/VC2008/Lua.vcproj +++ b/VC2008/Lua.vcproj @@ -89,7 +89,7 @@ Name="Release|Win32" OutputDirectory="$(SolutionDir)$(ConfigurationName)\Lua" IntermediateDirectory="$(ConfigurationName)\Lua" - ConfigurationType="4" + ConfigurationType="2" CharacterSet="1" WholeProgramOptimization="1" > @@ -112,7 +112,7 @@ Name="VCCLCompilerTool" Optimization="2" EnableIntrinsicFunctions="true" - PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS" + PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;LUA_BUILD_AS_DLL" RuntimeLibrary="0" EnableFunctionLevelLinking="true" UsePrecompiledHeader="0" @@ -129,11 +129,15 @@ Name="VCPreLinkEventTool" /> + @@ -143,6 +147,9 @@ + @@ -151,7 +158,7 @@ Name="Release profiled|Win32" OutputDirectory="$(SolutionDir)$(ConfigurationName)\Lua" IntermediateDirectory="$(ConfigurationName)\Lua" - ConfigurationType="4" + ConfigurationType="2" CharacterSet="1" WholeProgramOptimization="1" > @@ -174,7 +181,7 @@ Name="VCCLCompilerTool" Optimization="2" EnableIntrinsicFunctions="true" - PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS" + PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;LUA_BUILD_AS_DLL" RuntimeLibrary="0" EnableFunctionLevelLinking="true" UsePrecompiledHeader="0" @@ -191,11 +198,15 @@ Name="VCPreLinkEventTool" /> + @@ -205,6 +216,9 @@ + @@ -213,7 +227,7 @@ Name="Debug profiled|Win32" OutputDirectory="$(SolutionDir)$(ConfigurationName)\Lua" IntermediateDirectory="$(ConfigurationName)\Lua" - ConfigurationType="4" + ConfigurationType="2" CharacterSet="1" > + @@ -266,6 +284,9 @@ + -- cgit v1.2.3