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
This commit is contained in:
Michael Jerris 2009-02-23 04:21:56 +00:00
parent 17b7248c2c
commit 513091ec37
3 changed files with 134 additions and 30 deletions

View File

@ -22,24 +22,72 @@
ConfigurationType="2"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
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"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505"
EnablePREfast="false"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll"
ModuleDefinitionFile="lua.def"
OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile=""
GenerateDebugInformation="true"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
ImportLibrary=".\Debug/lua.5.1.lib"
ImportLibrary=".\$(IntDir)\lua5.1.lib"
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
Name="Release|Win32"
@ -48,22 +96,70 @@
ConfigurationType="2"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="."
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll"
ModuleDefinitionFile="lua.def"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
ImportLibrary=".\$(IntDir)\lua.5.1.lib"
OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile=""
ImportLibrary=".\$(IntDir)\lua5.1.lib"
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>
</Configurations>
<References>

View File

@ -44,8 +44,10 @@
<Tool
Name="VCCLCompilerTool"
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"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505"
EnablePREfast="false"
/>
@ -60,12 +62,12 @@
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll"
ModuleDefinitionFile="lua.def"
OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile=""
GenerateDebugInformation="true"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
ImportLibrary=".\Debug/lua.5.1.lib"
ImportLibrary=".\$(IntDir)/lua5.1.lib"
TargetMachine="1"
/>
<Tool
@ -116,8 +118,10 @@
<Tool
Name="VCCLCompilerTool"
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"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505"
EnablePREfast="false"
/>
@ -132,12 +136,12 @@
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll"
ModuleDefinitionFile="lua.def"
OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile=""
GenerateDebugInformation="true"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
ImportLibrary=".\$(IntDir)/lua.5.1.lib"
ImportLibrary=".\$(IntDir)/lua5.1.lib"
TargetMachine="17"
/>
<Tool
@ -187,8 +191,10 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="."
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505"
/>
<Tool
@ -202,11 +208,11 @@
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll"
ModuleDefinitionFile="lua.def"
OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile=""
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
ImportLibrary=".\$(IntDir)\lua.5.1.lib"
ImportLibrary=".\$(IntDir)/lua5.1.lib"
TargetMachine="1"
/>
<Tool
@ -257,8 +263,10 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="."
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
DebugInformationFormat="3"
DisableSpecificWarnings="4127, 4505"
/>
<Tool
@ -272,11 +280,11 @@
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\lua.5.1.dll"
ModuleDefinitionFile="lua.def"
OutputFile="$(OutDir)\lua5.1.dll"
ModuleDefinitionFile=""
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
ImportLibrary=".\$(IntDir)\lua.5.1.lib"
ImportLibrary=".\$(IntDir)/lua5.1.lib"
TargetMachine="17"
/>
<Tool

View File

@ -39,7 +39,7 @@
<Tool
Name="VCCLCompilerTool"
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"
DisableSpecificWarnings="4127, 4505"
EnablePREfast="false"
@ -105,7 +105,7 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=".;./lua"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"
UsePrecompiledHeader="0"
DisableSpecificWarnings="4127, 4505"
/>