summaryrefslogtreecommitdiffstats
path: root/Tests/FindDoxygen/CMakeLists.txt
blob: 41e6255eb7c6d6dfa29ec201e0e136459ec7a807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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}
)

add_test(NAME FindDoxygen.QuotingTest COMMAND
  ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
  --build-and-test
  "${CMake_SOURCE_DIR}/Tests/FindDoxygen/QuotingTest"
  "${CMake_BINARY_DIR}/Tests/FindDoxygen/QuotingTest"
  --build-target allDocTargets
  ${build_generator_args}
  --build-options ${build_options}
)

add_test(NAME FindDoxygen.AllTarget COMMAND
  ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
  --build-and-test
  "${CMake_SOURCE_DIR}/Tests/FindDoxygen/AllTarget"
  "${CMake_BINARY_DIR}/Tests/FindDoxygen/AllTarget"
  ${build_generator_args}
  --build-options ${build_options}
  --test-command ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
)

add_test(NAME FindDoxygen.StampFile COMMAND
  ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
  --build-and-test
  "${CMake_SOURCE_DIR}/Tests/FindDoxygen/StampFile"
  "${CMake_BINARY_DIR}/Tests/FindDoxygen/StampFile"
  --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()