tests binary dir fix
This commit is contained in:
@@ -5,7 +5,6 @@ macro(pip_test NAME LIBS)
|
|||||||
file(GLOB _HDRS "${NAME}/*.h")
|
file(GLOB _HDRS "${NAME}/*.h")
|
||||||
set(_target pip_${NAME}_test)
|
set(_target pip_${NAME}_test)
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PIP_ROOT_BINARY_DIR}")
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PIP_ROOT_BINARY_DIR}")
|
||||||
message("${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
|
|
||||||
add_executable(${_target} ${_CPPS} ${_HDRS})
|
add_executable(${_target} ${_CPPS} ${_HDRS})
|
||||||
target_link_libraries(${_target} pip ${LIBS} gtest_main gmock_main)
|
target_link_libraries(${_target} pip ${LIBS} gtest_main gmock_main)
|
||||||
add_test(NAME ${_target} COMMAND tests)
|
add_test(NAME ${_target} COMMAND tests)
|
||||||
|
|||||||
Reference in New Issue
Block a user