From a9771b596fba7f02fec52dc94d98f40cda4ca9ae Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 6 Oct 2011 13:00:26 +0800 Subject: [PATCH] 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 deletion(-) diff --git a/build/win32/Makefile.am b/build/win32/Makefile.am index b764e59e3..3040e36a2 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 10e9807a1..cdf8fbc82 100644 --- a/build/win32/vs10/test-interactive.vcxprojin +++ b/build/win32/vs10/test-interactive.vcxprojin @@ -71,6 +71,7 @@ Disabled + ..;%(AdditionalIncludeDirectories) _DEBUG;$(TestProgDef);%(PreprocessorDefinitions) true EnableFastChecks @@ -90,6 +91,7 @@ Disabled + ..;%(AdditionalIncludeDirectories) _DEBUG;$(TestProgDef);%(PreprocessorDefinitions) true EnableFastChecks @@ -113,6 +115,7 @@ MaxSpeed + ..;%(AdditionalIncludeDirectories) true $(TestProgDef);%(PreprocessorDefinitions) MultiThreadedDLL @@ -133,6 +136,7 @@ + ..;%(AdditionalIncludeDirectories) $(TestProgDef);%(PreprocessorDefinitions) MultiThreadedDLL diff --git a/build/win32/vs9/test-interactive.vcprojin b/build/win32/vs9/test-interactive.vcprojin index 83017c1bb..378492da1 100644 --- a/build/win32/vs9/test-interactive.vcprojin +++ b/build/win32/vs9/test-interactive.vcprojin @@ -31,6 +31,7 @@ /> > 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