mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
15 lines
310 B
CMake
15 lines
310 B
CMake
set(CMAKE_FOLDER "tests")
|
|
|
|
add_executable(cfile_tests
|
|
cfile_tests.cpp
|
|
)
|
|
target_link_libraries(cfile_tests PRIVATE
|
|
GTest::gtest_main
|
|
cfile
|
|
)
|
|
target_include_directories(cfile_tests PRIVATE ${PROJECT_SOURCE_DIR}/lib)
|
|
|
|
gtest_discover_tests(cfile_tests
|
|
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/cfile/tests
|
|
)
|