From 372af0302f8acea869d8f02b7633176d3985a1ec Mon Sep 17 00:00:00 2001 From: Scott Wegner Date: Fri, 27 Jun 2008 11:55:02 -0500 Subject: [svn-r15289] Purpose: Project Cleanup / Support directories with spaces Description: On Windows, we manage dynamically-generated code through "post-build" steps in Visual Studio. However, the command for it wasn't checking to see if the code already existed, so it was re-generating in each build (and thus re-generating all dependencies). To overcome, we simply check if the source file exists before generating it. Also, put all paths inside quotes so we can handle directory names with spaces. Tested: VS2005 on WinXP --- .../h5fort_type_defines/h5fort_type_defines.vfproj | 24 +++++++++++----------- .../h5fortran_detect/h5fortran_detect.vfproj | 24 +++++++++++----------- .../typegen/h5match_types/h5match_types.vcproj | 8 ++++---- windows/misc/typegen/h5tinit/h5tinit.vcproj | 8 ++++---- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/windows/misc/typegen/h5fort_type_defines/h5fort_type_defines.vfproj b/windows/misc/typegen/h5fort_type_defines/h5fort_type_defines.vfproj index a73d298..3d68604 100644 --- a/windows/misc/typegen/h5fort_type_defines/h5fort_type_defines.vfproj +++ b/windows/misc/typegen/h5fort_type_defines/h5fort_type_defines.vfproj @@ -7,39 +7,39 @@ + - - - + + + - - - + + - + - - + + - + - - + + diff --git a/windows/misc/typegen/h5fortran_detect/h5fortran_detect.vfproj b/windows/misc/typegen/h5fortran_detect/h5fortran_detect.vfproj index 3fefe9d..e951ff9 100644 --- a/windows/misc/typegen/h5fortran_detect/h5fortran_detect.vfproj +++ b/windows/misc/typegen/h5fortran_detect/h5fortran_detect.vfproj @@ -7,39 +7,39 @@ + - - - + + + - - - + + - + - - + + - + - - + + diff --git a/windows/misc/typegen/h5match_types/h5match_types.vcproj b/windows/misc/typegen/h5match_types/h5match_types.vcproj index 7a60d86..1fb6cbb 100644 --- a/windows/misc/typegen/h5match_types/h5match_types.vcproj +++ b/windows/misc/typegen/h5match_types/h5match_types.vcproj @@ -106,7 +106,7 @@ diff --git a/windows/misc/typegen/h5tinit/h5tinit.vcproj b/windows/misc/typegen/h5tinit/h5tinit.vcproj index 9c0f371..f0ce0bb 100644 --- a/windows/misc/typegen/h5tinit/h5tinit.vcproj +++ b/windows/misc/typegen/h5tinit/h5tinit.vcproj @@ -105,7 +105,7 @@ -- cgit v0.12