[clutter/msvc-support-master] Update Visual C++ support
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/msvc-support-master] Update Visual C++ support
- Date: Thu, 6 Oct 2011 04:43:08 +0000 (UTC)
commit a9771b596fba7f02fec52dc94d98f40cda4ca9ae
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Oct 6 13:00:26 2011 +0800
Update Visual C++ support
-tests/interactive/Makefile.am, build/win32/Makefile.am: copy the
generated test-unit-names.h to build/win32 so that it can be
distributed in "make dist" (maybe we could dist the generated header
in tests/interactive directly?)
-Update test-interactive Visual C++ projects to include build/win32 in
the list of folders to look for headers
build/win32/Makefile.am | 2 +-
build/win32/vs10/test-interactive.vcxprojin | 4 ++++
build/win32/vs9/test-interactive.vcprojin | 4 ++++
tests/interactive/Makefile.am | 3 +++
4 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/build/win32/Makefile.am b/build/win32/Makefile.am
index b764e59..3040e36 100644
--- a/build/win32/Makefile.am
+++ b/build/win32/Makefile.am
@@ -1,3 +1,3 @@
SUBDIRS = vs9 vs10
-EXTRA_DIST = *.bat
+EXTRA_DIST = *.bat test-unit-names.h
diff --git a/build/win32/vs10/test-interactive.vcxprojin b/build/win32/vs10/test-interactive.vcxprojin
index 10e9807..cdf8fbc 100644
--- a/build/win32/vs10/test-interactive.vcxprojin
+++ b/build/win32/vs10/test-interactive.vcxprojin
@@ -71,6 +71,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;$(TestProgDef);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
@@ -90,6 +91,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;$(TestProgDef);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
@@ -113,6 +115,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
+ <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>$(TestProgDef);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
@@ -133,6 +136,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
+ <AdditionalIncludeDirectories>..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>$(TestProgDef);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
diff --git a/build/win32/vs9/test-interactive.vcprojin b/build/win32/vs9/test-interactive.vcprojin
index 83017c1..378492d 100644
--- a/build/win32/vs9/test-interactive.vcprojin
+++ b/build/win32/vs9/test-interactive.vcprojin
@@ -31,6 +31,7 @@
/>
<Tool
Name="VCCLCompilerTool"
+ AdditionalIncludeDirectories=".."
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(TestProgDef)"
MinimalRebuild="true"
@@ -61,6 +62,7 @@
/>
<Tool
Name="VCCLCompilerTool"
+ AdditionalIncludeDirectories=".."
Optimization="0"
PreprocessorDefinitions="_DEBUG;$(TestProgDef)"
MinimalRebuild="true"
@@ -95,6 +97,7 @@
/>
<Tool
Name="VCCLCompilerTool"
+ AdditionalIncludeDirectories=".."
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="$(TestProgDef)"
@@ -128,6 +131,7 @@
/>
<Tool
Name="VCCLCompilerTool"
+ AdditionalIncludeDirectories=".."
PreprocessorDefinitions="$(TestProgDef)"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
diff --git a/tests/interactive/Makefile.am b/tests/interactive/Makefile.am
index 175fcb7..d8c7173 100644
--- a/tests/interactive/Makefile.am
+++ b/tests/interactive/Makefile.am
@@ -108,6 +108,9 @@ stamp-test-interactive: Makefile
( echo "test-interactive $$test_bin" ) >> test-interactive.bat ; \
done \
&& cp *.bat $(top_srcdir)/build/win32/
+
+../../build/win32/test-unit-names.h: test-unit-names.h
+ cp test-unit-names.h $(top_srcdir)/build/win32
test-unit-names.h: stamp-test-unit-names
@true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]