5 lines
194 B
CMake
5 lines
194 B
CMake
add_executable(tests tests.cpp glsl-basic_t.cpp)
|
|
target_link_libraries(tests PUBLIC glsl-basic Catch2::Catch2)
|
|
|
|
# allow user to run tests with `make test` or `ctest`
|
|
catch_discover_tests(tests)
|