[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation under VS2008
From: |
Waqas Hussain |
Subject: |
Re: Compilation under VS2008 |
Date: |
Sun, 20 Mar 2011 16:59:36 +0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
I have been using the following patch for our (http://prosody.im/) Windows
build and packaging system since forever. Never got around to sending it to the
list.
diff -ru libidn-1.19-orig/win32/libidn.vcproj libidn-1.19/win32/libidn.vcproj
--- libidn-1.19-orig/win32/libidn.vcproj 2010-04-12 23:50:09.000000000
+0500
+++ libidn-1.19/win32/libidn.vcproj 2011-01-08 02:31:46.359375000 +0500
@@ -43,7 +43,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="include;../lib;../lib/gl"
-
PreprocessorDefinitions="WIN32;_DEBUG;_USRDLL;IDNA_EXPORTS;HAVE_CONFIG_H;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
+
PreprocessorDefinitions="WIN32;_DEBUG;_USRDLL;IDNA_EXPORTS;HAVE_CONFIG_H;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;LIBIDN_BUILDING"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
@@ -120,7 +120,7 @@
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="include;../lib;../lib/gl"
-
PreprocessorDefinitions="WIN32;NDEBUG;_USRDLL;IDNA_EXPORTS;HAVE_CONFIG_H;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
+
PreprocessorDefinitions="WIN32;NDEBUG;_USRDLL;IDNA_EXPORTS;HAVE_CONFIG_H;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;LIBIDN_BUILDING"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"