From 47b943aa03a569fc23b9057ba572e9aeb63b5822 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 21 Nov 2011 16:32:59 +0200 Subject: Add support for common tests without ODB compilation for automake/VC projects --- common/template/template-vc10.vcxproj | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'common/template/template-vc10.vcxproj') diff --git a/common/template/template-vc10.vcxproj b/common/template/template-vc10.vcxproj index 4a2711c..bdaf37b 100644 --- a/common/template/template-vc10.vcxproj +++ b/common/template/template-vc10.vcxproj @@ -154,21 +154,24 @@ true +m4_ifelse(__value__(odb_options),,, +m4_dnl __custom_build_entry__( test.hxx, odb test.hxx, odb.exe __xml__(__shell_quotes__(m4_patsubst(__value__(odb_options), @database@, __value__(database)) -DHAVE_CONFIG_VC_H -I$(SolutionDir)\..\libcommon)) test.hxx, test-odb.hxx;test-odb.ixx;test-odb.cxx) - + ) +m4_ifelse(__value__(odb_options),,, __header_entry__(test-odb.hxx) -__header_entry__(test-odb.ixx) +__header_entry__(test-odb.ixx)) __header_entries__(extra_headers) __source_entry__(driver.cxx) -__source_entry__(test-odb.cxx) +m4_ifelse(__value__(odb_options),,,__source_entry__(test-odb.cxx)) __source_entries__(extra_sources) -- cgit v1.1