]> granicus.if.org Git - postgresql/commitdiff
Properly pass -c parameter to ecpg when building regression tests.
authorMagnus Hagander <magnus@hagander.net>
Wed, 26 Sep 2007 11:19:09 +0000 (11:19 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 26 Sep 2007 11:19:09 +0000 (11:19 +0000)
Per Michael.

src/tools/msvc/ecpg_regression.proj

index 6634627f2b0ed198eaafcbadb57f51d1d8586bdb..a026c5433c48b1c4e1c56c3761a37144ccffaf8a 100644 (file)
@@ -35,7 +35,7 @@
   </CreateProperty>
 
   <!-- Run ECPG and the Visual C++ compiler on the files. Don't bother with dependency check between the steps -->
-  <Exec WorkingDirectory="%(Pgc.RelativeDir)" Command="$(OUTDIR)ecpg\ecpg -I ../../include --regression $(ECPGPARAM) -o %(Pgc.Filename).c %(Pgc.Filename).pgc" />
+  <Exec WorkingDirectory="%(Pgc.RelativeDir)" Command="$(OUTDIR)ecpg\ecpg -c -I ../../include --regression $(ECPGPARAM) -o %(Pgc.Filename).c %(Pgc.Filename).pgc" />
   <Exec WorkingDirectorY="%(Pgc.RelativeDir)" Command="cl /nologo %(Pgc.FileName).c /TC /MD$(DEBUGLIB) /DENABLE_THREAD_SAFETY /DWIN32 /DWIN32_ONLY_COMPILER /I. /I..\..\include /I..\..\..\libpq /I..\..\..\..\include /link /defaultlib:$(OUTDIR)libecpg\libecpg.lib /defaultlib:$(OUTDIR)libecpg_compat\libecpg_compat.lib /defaultlib:$(OUTDIR)libpgtypes\libpgtypes.lib" />
  </Target>