Merge topic 'test-RunCMake.CMP0040-fix'

828e7632 Tests: Fix RunCMake.CMP0040 custom command syntax
This commit is contained in:
Brad King 2016-08-25 09:50:23 -04:00 committed by CMake Topic Stage
commit d1ee1cb813
5 changed files with 5 additions and 5 deletions

View File

@ -3,5 +3,5 @@ cmake_policy(SET CMP0040 NEW)
add_library(foobar empty.cpp)
add_custom_command(TARGET foobar PRE_BUILD
COMMAND "${CMAKE_COMMAND} -E echo hello world"
COMMAND ${CMAKE_COMMAND} -E echo hello world
)

View File

@ -1,5 +1,5 @@
cmake_policy(SET CMP0040 NEW)
add_custom_command(TARGET foobar PRE_BUILD
COMMAND "${CMAKE_COMMAND} -E hello world"
COMMAND ${CMAKE_COMMAND} -E hello world
)

View File

@ -3,5 +3,5 @@ cmake_policy(SET CMP0040 OLD)
add_library(foobar empty.cpp)
add_custom_command(TARGET foobar PRE_BUILD
COMMAND "${CMAKE_COMMAND} -E echo hello world"
COMMAND ${CMAKE_COMMAND} -E echo hello world
)

View File

@ -1,5 +1,5 @@
cmake_policy(SET CMP0040 OLD)
add_custom_command(TARGET foobar PRE_BUILD
COMMAND "${CMAKE_COMMAND} -E echo hello world"
COMMAND ${CMAKE_COMMAND} -E echo hello world
)

View File

@ -1,4 +1,4 @@
add_custom_command(TARGET foobar PRE_BUILD
COMMAND "${CMAKE_COMMAND} -E hello world"
COMMAND ${CMAKE_COMMAND} -E hello world
)