Avoid CustomCommand test failure on VS71 (#9963)

Test still failing on dash1.kitware. Give up on testing
the new arg on MSVC71. Test it with newer nmakes instead.
All other dashboards are fine with -DPATH=c:/posix/path
as the first arg, so keep it except when MSVC71 is true.
This commit is contained in:
David Cole 2010-09-20 13:20:15 -04:00
parent 9b4ab06c2c
commit a798bb7074
1 changed files with 5 additions and 1 deletions

View File

@ -224,8 +224,12 @@ ADD_CUSTOM_COMMAND(OUTPUT gen_redirect.c
##############################################################################
# Test non-trivial command line arguments in custom commands.
SET(EXPECTED_ARGUMENTS)
SET(CHECK_ARGS)
IF(NOT MSVC71)
SET(CHECK_ARGS -DPATH=c:/posix/path)
ENDIF()
SET(CHECK_ARGS
-DPATH=c:/posix/path
${CHECK_ARGS}
c:/posix/path
c:\\windows\\path
'single-quotes'