diff options
author | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-09-16 14:24:06 (GMT) |
---|---|---|
committer | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-09-16 17:36:33 (GMT) |
commit | e7311a036e16cf56692862103be37df95853a1dc (patch) | |
tree | b172cd4da67a5031b36d96523d4ff59358f432c4 /testing | |
parent | 0fc06d657d596adcc289a5f228973ea268efd66d (diff) | |
download | Doxygen-e7311a036e16cf56692862103be37df95853a1dc.zip Doxygen-e7311a036e16cf56692862103be37df95853a1dc.tar.gz Doxygen-e7311a036e16cf56692862103be37df95853a1dc.tar.bz2 |
Allow building doxygen as a subproject
Diffstat (limited to 'testing')
-rw-r--r-- | testing/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/CMakeLists.txt b/testing/CMakeLists.txt index b354e78..fd6912e 100644 --- a/testing/CMakeLists.txt +++ b/testing/CMakeLists.txt @@ -1,7 +1,7 @@ # run all tests sequentially (keep for backward compatibility) add_custom_target(tests COMMENT "Running doxygen tests..." - COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/testing/runtests.py --doxygen ${PROJECT_BINARY_DIR}/bin/doxygen --inputdir ${CMAKE_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing + COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --doxygen ${PROJECT_BINARY_DIR}/bin/doxygen --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing DEPENDS doxygen ) @@ -19,6 +19,6 @@ foreach(TEST_FILE ${TEST_FILES}) string(REGEX REPLACE "^.*/([0-9][0-9][0-9]*).*$" "\\1" TEST_ID "${TEST_FILE}") # add a test target for each test add_test(NAME ${TEST_NAME} - COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/testing/runtests.py --id ${TEST_ID} --doxygen $<TARGET_FILE:doxygen> --inputdir ${CMAKE_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing + COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --id ${TEST_ID} --doxygen $<TARGET_FILE:doxygen> --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing ) endforeach() |