Merge topic 'test-RunCMake.CMP0040-fix'
828e7632
Tests: Fix RunCMake.CMP0040 custom command syntax
This commit is contained in:
commit
d1ee1cb813
|
@ -3,5 +3,5 @@ cmake_policy(SET CMP0040 NEW)
|
||||||
add_library(foobar empty.cpp)
|
add_library(foobar empty.cpp)
|
||||||
|
|
||||||
add_custom_command(TARGET foobar PRE_BUILD
|
add_custom_command(TARGET foobar PRE_BUILD
|
||||||
COMMAND "${CMAKE_COMMAND} -E echo hello world"
|
COMMAND ${CMAKE_COMMAND} -E echo hello world
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
cmake_policy(SET CMP0040 NEW)
|
cmake_policy(SET CMP0040 NEW)
|
||||||
|
|
||||||
add_custom_command(TARGET foobar PRE_BUILD
|
add_custom_command(TARGET foobar PRE_BUILD
|
||||||
COMMAND "${CMAKE_COMMAND} -E hello world"
|
COMMAND ${CMAKE_COMMAND} -E hello world
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,5 +3,5 @@ cmake_policy(SET CMP0040 OLD)
|
||||||
add_library(foobar empty.cpp)
|
add_library(foobar empty.cpp)
|
||||||
|
|
||||||
add_custom_command(TARGET foobar PRE_BUILD
|
add_custom_command(TARGET foobar PRE_BUILD
|
||||||
COMMAND "${CMAKE_COMMAND} -E echo hello world"
|
COMMAND ${CMAKE_COMMAND} -E echo hello world
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
cmake_policy(SET CMP0040 OLD)
|
cmake_policy(SET CMP0040 OLD)
|
||||||
|
|
||||||
add_custom_command(TARGET foobar PRE_BUILD
|
add_custom_command(TARGET foobar PRE_BUILD
|
||||||
COMMAND "${CMAKE_COMMAND} -E echo hello world"
|
COMMAND ${CMAKE_COMMAND} -E echo hello world
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
add_custom_command(TARGET foobar PRE_BUILD
|
add_custom_command(TARGET foobar PRE_BUILD
|
||||||
COMMAND "${CMAKE_COMMAND} -E hello world"
|
COMMAND ${CMAKE_COMMAND} -E hello world
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue