aboutsummaryrefslogtreecommitdiff
path: root/common/template/template-vc9.vcproj
diff options
context:
space:
mode:
Diffstat (limited to 'common/template/template-vc9.vcproj')
-rw-r--r--common/template/template-vc9.vcproj21
1 files changed, 12 insertions, 9 deletions
diff --git a/common/template/template-vc9.vcproj b/common/template/template-vc9.vcproj
index caf7201..a09174c 100644
--- a/common/template/template-vc9.vcproj
+++ b/common/template/template-vc9.vcproj
@@ -337,7 +337,9 @@
UniqueIdentifier="{__uuid__()}"
>
__source_entry__(driver.cxx)
-m4_ifelse(__value__(odb_options),,,__source_entry__(test-odb.cxx))
+__ifelse__(__value__(odb_options),,,
+ __foreach_w__(__f,__path__(odb_header_stem),
+ __source_entry__(__f-odb.cxx)))
__source_entries__(extra_sources)
</Filter>
<Filter
@@ -345,14 +347,15 @@ __source_entries__(extra_sources)
Filter="h;hxx;ixx;txx"
UniqueIdentifier="{__uuid__()}"
>
-m4_ifelse(__value__(odb_options),,,
-__file_entry_custom_build__(
-test.hxx,
-odb test.hxx,
-odb.exe __xml__(__shell_quotes__(m4_patsubst(__value__(odb_options), @database@, __value__(database)) -DHAVE_CONFIG_VC_H -DODB_MSC_VER=1500 -I$(SolutionDir)\..\libcommon)) test.hxx,
-test-odb.hxx;test-odb.ixx;test-odb.cxx)
-__file_entry__(test-odb.hxx)
-__file_entry__(test-odb.ixx))
+__ifelse__(__value__(odb_options),,,
+ __foreach_w__(__f,__path__(odb_header_stem),
+ __file_entry_custom_build__(
+__f.hxx,
+odb __f.hxx,
+odb.exe __xml__(__shell_quotes__(m4_patsubst(__value__(odb_options), @database@, __value__(database)) -DHAVE_CONFIG_VC_H -DODB_MSC_VER=1500 -I$(SolutionDir)\..\libcommon)) __f.hxx,
+__f-odb.hxx;__f-odb.ixx;__f-odb.cxx)
+__file_entry__(__f-odb.hxx)
+__file_entry__(__f-odb.ixx)))
__file_entries__(extra_headers)
</Filter>
</Files>