File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -141,16 +141,14 @@ if(TRURL_TESTS)
141141 else ()
142142 add_custom_target ("trurl-test"
143143 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
144- COMMAND "${Python_EXECUTABLE} " "test.py"
145- --trurl=${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/trurl${CMAKE_EXECUTABLE_SUFFIX}
144+ COMMAND "${Python_EXECUTABLE} " "test.py" --trurl=$<TARGET_FILE:trurl>
146145 DEPENDS "trurl" "test.py" "tests.json"
147146 VERBATIM USES_TERMINAL
148147 )
149148 if (NOT APPLE AND NOT WIN32 )
150149 add_custom_target ("trurl-test-memory"
151150 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
152- COMMAND "${Python_EXECUTABLE} " "test.py" --with-valgrind
153- --trurl=${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/trurl${CMAKE_EXECUTABLE_SUFFIX}
151+ COMMAND "${Python_EXECUTABLE} " "test.py" --trurl=$<TARGET_FILE:trurl> --with-valgrind
154152 DEPENDS "trurl" "test.py" "tests.json"
155153 VERBATIM USES_TERMINAL
156154 )
You can’t perform that action at this time.
0 commit comments