* A simple C-Make project setup * A lot of warnings enabled and warnings as errors * unit test discovery with google test In progress functionality - sanitizers - static analysis
15 lines
226 B
CMake
15 lines
226 B
CMake
include(${CMAKE_SOURCE_DIR}/scripts/googletest.cmake)
|
|
|
|
add_executable(
|
|
blank-slate-test
|
|
test_main.cpp
|
|
)
|
|
|
|
target_link_libraries(
|
|
blank-slate-test
|
|
gtest_main
|
|
)
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(blank-slate-test)
|