From ef6ebe54bbd60a7d4e259bff92decd2ead0510de Mon Sep 17 00:00:00 2001 From: Scott Wegner Date: Fri, 27 Jun 2008 11:44:00 -0500 Subject: [svn-r15288] 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 8fe1005..22a4d18 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 72f97f5..a6082b7 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 0b751ca..c95b4ae 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 0075e16..de79a1c 100644 --- a/windows/misc/typegen/h5tinit/h5tinit.vcproj +++ b/windows/misc/typegen/h5tinit/h5tinit.vcproj @@ -105,7 +105,7 @@ -- cgit v0.12