Commit 1b0ee0bd authored by Andy Cedilnik's avatar Andy Cedilnik

ENH: Use existing CTest and cmake

parent 6e9ec459
......@@ -13,13 +13,15 @@ SET (CTEST_BINARY_NAME kwsysBin)
# which ctest command to use for running the dashboard
SET (CTEST_COMMAND
"\"@CMAKE_CTEST_COMMAND@\" -D Experimental -A ${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}"
"\"${CTEST_EXECUTABLE_NAME}\" -D Experimental -A \"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\""
)
# what cmake command to use for configuring this dashboard
SET (CTEST_CMAKE_COMMAND
"\"@CMAKE_COMMAND@\""
)
GET_FILENAME_COMPONENT(CTEST_EXECUTABLE_PATH "${CTEST_EXECUTABLE_NAME}" PATH)
SET(CTEST_CMAKE_COMMAND "${CTEST_EXECUTABLE_PATH}/cmake")
MESSAGE("CTest executable: ${CTEST_EXECUTABLE_NAME}")
MESSAGE("CMake executable: ${CTEST_CMAKE_COMMAND}")
####################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment