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

View File

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