[Freeswitch-svn] [commit] r12237 - in freeswitch/trunk/src/mod/languages/mod_lua: . lua

FreeSWITCH SVN mikej at freeswitch.org
Sun Feb 22 20:21:56 PST 2009


Author: mikej
Date: Sun Feb 22 22:21:56 2009
New Revision: 12237

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

Modified:
   freeswitch/trunk/src/mod/languages/mod_lua/lua/lua.2005.vcproj
   freeswitch/trunk/src/mod/languages/mod_lua/lua/lua.2008.vcproj
   freeswitch/trunk/src/mod/languages/mod_lua/mod_lua.vcproj

Modified: freeswitch/trunk/src/mod/languages/mod_lua/lua/lua.2005.vcproj
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_lua/lua/lua.2005.vcproj	(original)
+++ freeswitch/trunk/src/mod/languages/mod_lua/lua/lua.2005.vcproj	Sun Feb 22 22:21:56 2009
@@ -23,23 +23,71 @@
 			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"
@@ -49,21 +97,69 @@
 			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>

Modified: freeswitch/trunk/src/mod/languages/mod_lua/lua/lua.2008.vcproj
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_lua/lua/lua.2008.vcproj	(original)
+++ freeswitch/trunk/src/mod/languages/mod_lua/lua/lua.2008.vcproj	Sun Feb 22 22:21:56 2009
@@ -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

Modified: freeswitch/trunk/src/mod/languages/mod_lua/mod_lua.vcproj
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_lua/mod_lua.vcproj	(original)
+++ freeswitch/trunk/src/mod/languages/mod_lua/mod_lua.vcproj	Sun Feb 22 22:21:56 2009
@@ -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"
 			/>



More information about the Freeswitch-svn mailing list