Adds: - barebones CMakeLists.txt with googletest and doxygen included - GPL v3.0 or later license - simple .gitignore - .clang-format and .clang-tidy The clang-tidy is only applied within the sources of this project. If it was included on the top-level CMakeLists.txt it would throw errors on the gtest compilation. Let's have some fun!
8 lines
182 B
CMake
8 lines
182 B
CMake
add_executable(cli src/cli.cpp)
|
|
|
|
add_executable(cli_test src/cli.test.cpp)
|
|
target_link_libraries(cli_test gtest gmock gtest_main)
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(cli_test)
|