提交 513091ec authored 作者: Michael Jerris's avatar Michael Jerris

mod_lua: windows build changes to support externally built modules. (MODLANG-101)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12237 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 17b7248c
...@@ -22,24 +22,72 @@ ...@@ -22,24 +22,72 @@
ConfigurationType="2" ConfigurationType="2"
CharacterSet="2" CharacterSet="2"
> >
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="." AdditionalIncludeDirectories="."
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
RuntimeLibrary="3"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505" DisableSpecificWarnings="4127, 4505"
EnablePREfast="false" EnablePREfast="false"
/> />
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll" OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile="lua.def" ModuleDefinitionFile=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
RandomizedBaseAddress="1" ImportLibrary=".\$(IntDir)\lua5.1.lib"
DataExecutionPrevention="0"
ImportLibrary=".\Debug/lua.5.1.lib"
TargetMachine="1" TargetMachine="1"
/> />
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration> </Configuration>
<Configuration <Configuration
Name="Release|Win32" Name="Release|Win32"
...@@ -48,22 +96,70 @@ ...@@ -48,22 +96,70 @@
ConfigurationType="2" ConfigurationType="2"
CharacterSet="2" CharacterSet="2"
> >
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="." AdditionalIncludeDirectories="."
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32" PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505" DisableSpecificWarnings="4127, 4505"
/> />
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll" OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile="lua.def" ModuleDefinitionFile=""
RandomizedBaseAddress="1" ImportLibrary=".\$(IntDir)\lua5.1.lib"
DataExecutionPrevention="0"
ImportLibrary=".\$(IntDir)\lua.5.1.lib"
TargetMachine="1" TargetMachine="1"
/> />
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration> </Configuration>
</Configurations> </Configurations>
<References> <References>
......
...@@ -44,8 +44,10 @@ ...@@ -44,8 +44,10 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="." AdditionalIncludeDirectories="."
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
RuntimeLibrary="3"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505" DisableSpecificWarnings="4127, 4505"
EnablePREfast="false" EnablePREfast="false"
/> />
...@@ -60,12 +62,12 @@ ...@@ -60,12 +62,12 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll" OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile="lua.def" ModuleDefinitionFile=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
RandomizedBaseAddress="1" RandomizedBaseAddress="1"
DataExecutionPrevention="0" DataExecutionPrevention="0"
ImportLibrary=".\Debug/lua.5.1.lib" ImportLibrary=".\$(IntDir)/lua5.1.lib"
TargetMachine="1" TargetMachine="1"
/> />
<Tool <Tool
...@@ -116,8 +118,10 @@ ...@@ -116,8 +118,10 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="." AdditionalIncludeDirectories="."
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
RuntimeLibrary="3"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505" DisableSpecificWarnings="4127, 4505"
EnablePREfast="false" EnablePREfast="false"
/> />
...@@ -132,12 +136,12 @@ ...@@ -132,12 +136,12 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll" OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile="lua.def" ModuleDefinitionFile=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
RandomizedBaseAddress="1" RandomizedBaseAddress="1"
DataExecutionPrevention="0" DataExecutionPrevention="0"
ImportLibrary=".\$(IntDir)/lua.5.1.lib" ImportLibrary=".\$(IntDir)/lua5.1.lib"
TargetMachine="17" TargetMachine="17"
/> />
<Tool <Tool
...@@ -187,8 +191,10 @@ ...@@ -187,8 +191,10 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="." AdditionalIncludeDirectories="."
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32" PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505" DisableSpecificWarnings="4127, 4505"
/> />
<Tool <Tool
...@@ -202,11 +208,11 @@ ...@@ -202,11 +208,11 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll" OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile="lua.def" ModuleDefinitionFile=""
RandomizedBaseAddress="1" RandomizedBaseAddress="1"
DataExecutionPrevention="0" DataExecutionPrevention="0"
ImportLibrary=".\$(IntDir)\lua.5.1.lib" ImportLibrary=".\$(IntDir)/lua5.1.lib"
TargetMachine="1" TargetMachine="1"
/> />
<Tool <Tool
...@@ -257,8 +263,10 @@ ...@@ -257,8 +263,10 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories="." AdditionalIncludeDirectories="."
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32" PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505" DisableSpecificWarnings="4127, 4505"
/> />
<Tool <Tool
...@@ -272,11 +280,11 @@ ...@@ -272,11 +280,11 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll" OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile="lua.def" ModuleDefinitionFile=""
RandomizedBaseAddress="1" RandomizedBaseAddress="1"
DataExecutionPrevention="0" DataExecutionPrevention="0"
ImportLibrary=".\$(IntDir)\lua.5.1.lib" ImportLibrary=".\$(IntDir)/lua5.1.lib"
TargetMachine="17" TargetMachine="17"
/> />
<Tool <Tool
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories=".;./lua" AdditionalIncludeDirectories=".;./lua"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_WIN32" PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
DisableSpecificWarnings="4127, 4505" DisableSpecificWarnings="4127, 4505"
EnablePREfast="false" EnablePREfast="false"
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
AdditionalIncludeDirectories=".;./lua" AdditionalIncludeDirectories=".;./lua"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32" PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
DisableSpecificWarnings="4127, 4505" DisableSpecificWarnings="4127, 4505"
/> />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论