mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 15:19:39 +00:00
69050f4d16
We don't define behavior for relative paths to the OUTPUT argument. Fix our tests to use full paths.
8 lines
259 B
CMake
8 lines
259 B
CMake
add_executable(mytest test.cpp)
|
|
|
|
file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/runtest_info.cmake CONTENT [[
|
|
set(EXPECTED_MYTEST_NAME "$<TARGET_FILE_NAME:mytest>")
|
|
]])
|
|
|
|
set_property(INSTALL bar/test.cpp PROPERTY CPACK_TEST_PROP $<TARGET_FILE_NAME:mytest>)
|