workaround for cxxtestgen

This commit is contained in:
Thomas Fussell 2017-03-10 19:08:03 -05:00
parent e93e8ed091
commit db259e9422
2 changed files with 1 additions and 2 deletions

View File

@ -71,6 +71,7 @@ else()
endif() endif()
find_package(PythonInterp REQUIRED) find_package(PythonInterp REQUIRED)
set(CXXTEST_PYTHON_TESTGEN_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/cxxtest-download-prefix/src/cxxtest-download/bin/cxxtestgen)
add_custom_command(OUTPUT ${RUNNER} add_custom_command(OUTPUT ${RUNNER}
COMMAND ${CXXTEST_PYTHON_TESTGEN_EXECUTABLE} --runner=ErrorPrinter -o ${RUNNER} ${TESTS} COMMAND ${CXXTEST_PYTHON_TESTGEN_EXECUTABLE} --runner=ErrorPrinter -o ${RUNNER} ${TESTS}

View File

@ -13,5 +13,3 @@ ExternalProject_Add(cxxtest-download
set(CXXTEST_ROOT_DIR ${CMAKE_CURRENT_BINARY_DIR}/cxxtest-download-prefix/src/cxxtest-download) set(CXXTEST_ROOT_DIR ${CMAKE_CURRENT_BINARY_DIR}/cxxtest-download-prefix/src/cxxtest-download)
set(CXXTEST_INCLUDE_DIR ${CXXTEST_ROOT_DIR}) set(CXXTEST_INCLUDE_DIR ${CXXTEST_ROOT_DIR})
set(CXXTEST_PYTHON_TESTGEN_EXECUTABLE ${CXXTEST_ROOT_DIR}/bin/cxxtestgen CACHE INTERNAL "" FORCE)