mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
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:
1 parent
9b4ab06c2c
commit
a798bb7074
1 file changed
+5
-1
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user