summaryrefslogtreecommitdiffstats
path: root/Tests/FindDoxygen/CMakeLists.txt
blob: daceaa3e9388ffe24da568c0cd282faa2c5f21ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
add_test(NAME FindDoxygen.SimpleTest COMMAND
  ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
  --build-and-test
  "${CMake_SOURCE_DIR}/Tests/FindDoxygen/SimpleTest"
  "${CMake_BINARY_DIR}/Tests/FindDoxygen/SimpleTest"
  --build-target allDocTargets
  ${build_generator_args}
  --build-options ${build_options}
)

if(CMake_TEST_FindDoxygen_Dot)
  add_test(NAME FindDoxygen.DotComponentTest COMMAND
    ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
    --build-and-test
    "${CMake_SOURCE_DIR}/Tests/FindDoxygen/DotComponentTestTest"
    "${CMake_BINARY_DIR}/Tests/FindDoxygen/DotComponentTestTest"
    ${build_generator_args}
    --build-options ${build_options}
  )
endif()