]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_lua: windows build changes to support externally built modules. (MODLANG-101)
authorMichael Jerris <mike@jerris.com>
Mon, 23 Feb 2009 04:21:56 +0000 (04:21 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 23 Feb 2009 04:21:56 +0000 (04:21 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12237 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_lua/lua/lua.2005.vcproj
src/mod/languages/mod_lua/lua/lua.2008.vcproj
src/mod/languages/mod_lua/mod_lua.vcproj

index 8f1cc362948ff464b796a2f18534dae96e065f55..bd0b5e2e30223ddc292616ad2efabd47eec370c7 100644 (file)
                        ConfigurationType="2"\r
                        CharacterSet="2"\r
                        >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                       />\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories="."\r
-                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"\r
+                               RuntimeLibrary="3"\r
                                UsePrecompiledHeader="0"\r
+                               DebugInformationFormat="3"\r
                                DisableSpecificWarnings="4127, 4505"\r
                                EnablePREfast="false"\r
                        />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                       />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               OutputFile="$(OutDir)\lua.5.1.dll"\r
-                               ModuleDefinitionFile="lua.def"\r
+                               OutputFile="$(OutDir)\lua5.1.dll"\r
+                               ModuleDefinitionFile=""\r
                                GenerateDebugInformation="true"\r
-                               RandomizedBaseAddress="1"\r
-                               DataExecutionPrevention="0"\r
-                               ImportLibrary=".\Debug/lua.5.1.lib"\r
+                               ImportLibrary=".\$(IntDir)\lua5.1.lib"\r
                                TargetMachine="1"\r
                        />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebDeploymentTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
                </Configuration>\r
                <Configuration\r
                        Name="Release|Win32"\r
                        ConfigurationType="2"\r
                        CharacterSet="2"\r
                        >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                       />\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories="."\r
-                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32"\r
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"\r
+                               RuntimeLibrary="2"\r
                                UsePrecompiledHeader="0"\r
+                               DebugInformationFormat="3"\r
                                DisableSpecificWarnings="4127, 4505"\r
                        />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                       />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               OutputFile="$(OutDir)\lua.5.1.dll"\r
-                               ModuleDefinitionFile="lua.def"\r
-                               RandomizedBaseAddress="1"\r
-                               DataExecutionPrevention="0"\r
-                               ImportLibrary=".\$(IntDir)\lua.5.1.lib"\r
+                               OutputFile="$(OutDir)\lua5.1.dll"\r
+                               ModuleDefinitionFile=""\r
+                               ImportLibrary=".\$(IntDir)\lua5.1.lib"\r
                                TargetMachine="1"\r
                        />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebDeploymentTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
                </Configuration>\r
        </Configurations>\r
        <References>\r
index 65608e396ef3d1f3d863776d5720a2d87b371aeb..4004e21b276489526ee097217b7a1aac91cc117b 100644 (file)
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories="."\r
-                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"\r
+                               RuntimeLibrary="3"\r
                                UsePrecompiledHeader="0"\r
+                               DebugInformationFormat="3"\r
                                DisableSpecificWarnings="4127, 4505"\r
                                EnablePREfast="false"\r
                        />\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               OutputFile="$(OutDir)\lua.5.1.dll"\r
-                               ModuleDefinitionFile="lua.def"\r
+                               OutputFile="$(OutDir)\lua5.1.dll"\r
+                               ModuleDefinitionFile=""\r
                                GenerateDebugInformation="true"\r
                                RandomizedBaseAddress="1"\r
                                DataExecutionPrevention="0"\r
-                               ImportLibrary=".\Debug/lua.5.1.lib"\r
+                               ImportLibrary=".\$(IntDir)/lua5.1.lib"\r
                                TargetMachine="1"\r
                        />\r
                        <Tool\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories="."\r
-                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"\r
+                               RuntimeLibrary="3"\r
                                UsePrecompiledHeader="0"\r
+                               DebugInformationFormat="3"\r
                                DisableSpecificWarnings="4127, 4505"\r
                                EnablePREfast="false"\r
                        />\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               OutputFile="$(OutDir)\lua.5.1.dll"\r
-                               ModuleDefinitionFile="lua.def"\r
+                               OutputFile="$(OutDir)\lua5.1.dll"\r
+                               ModuleDefinitionFile=""\r
                                GenerateDebugInformation="true"\r
                                RandomizedBaseAddress="1"\r
                                DataExecutionPrevention="0"\r
-                               ImportLibrary=".\$(IntDir)/lua.5.1.lib"\r
+                               ImportLibrary=".\$(IntDir)/lua5.1.lib"\r
                                TargetMachine="17"\r
                        />\r
                        <Tool\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories="."\r
-                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32"\r
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"\r
+                               RuntimeLibrary="2"\r
                                UsePrecompiledHeader="0"\r
+                               DebugInformationFormat="3"\r
                                DisableSpecificWarnings="4127, 4505"\r
                        />\r
                        <Tool\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               OutputFile="$(OutDir)\lua.5.1.dll"\r
-                               ModuleDefinitionFile="lua.def"\r
+                               OutputFile="$(OutDir)\lua5.1.dll"\r
+                               ModuleDefinitionFile=""\r
                                RandomizedBaseAddress="1"\r
                                DataExecutionPrevention="0"\r
-                               ImportLibrary=".\$(IntDir)\lua.5.1.lib"\r
+                               ImportLibrary=".\$(IntDir)/lua5.1.lib"\r
                                TargetMachine="1"\r
                        />\r
                        <Tool\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories="."\r
-                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32"\r
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"\r
+                               RuntimeLibrary="2"\r
                                UsePrecompiledHeader="0"\r
+                               DebugInformationFormat="3"\r
                                DisableSpecificWarnings="4127, 4505"\r
                        />\r
                        <Tool\r
                        />\r
                        <Tool\r
                                Name="VCLinkerTool"\r
-                               OutputFile="$(OutDir)\lua.5.1.dll"\r
-                               ModuleDefinitionFile="lua.def"\r
+                               OutputFile="$(OutDir)\lua5.1.dll"\r
+                               ModuleDefinitionFile=""\r
                                RandomizedBaseAddress="1"\r
                                DataExecutionPrevention="0"\r
-                               ImportLibrary=".\$(IntDir)\lua.5.1.lib"\r
+                               ImportLibrary=".\$(IntDir)/lua5.1.lib"\r
                                TargetMachine="17"\r
                        />\r
                        <Tool\r
index 3e6d14178b2877e5d3c610610b078683f5b97514..c068ec82218bc9d7c25717f7ee93d700eb761e12 100644 (file)
@@ -39,7 +39,7 @@
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories=".;./lua"\r
-                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_WIN32"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"\r
                                UsePrecompiledHeader="0"\r
                                DisableSpecificWarnings="4127, 4505"\r
                                EnablePREfast="false"\r
                        <Tool\r
                                Name="VCCLCompilerTool"\r
                                AdditionalIncludeDirectories=".;./lua"\r
-                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32"\r
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_WIN32;LUA_BUILD_AS_DLL"\r
                                UsePrecompiledHeader="0"\r
                                DisableSpecificWarnings="4127, 4505"\r
                        />\r