mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-15 14:00:40 -05:00
The test cases only need C or C++, but not both. The CTest module is also not needed because we are not running a dashboard script.
11 lines
196 B
CMake
11 lines
196 B
CMake
project(test_include_dirs LANGUAGES CXX)
|
|
include(GoogleTest)
|
|
|
|
enable_testing()
|
|
|
|
add_executable(xml_output xml_output.cpp)
|
|
gtest_discover_tests(
|
|
xml_output
|
|
XML_OUTPUT_DIR ${CMAKE_BINARY_DIR}
|
|
)
|