pf-core/libs/cli/CMakeLists.txt
Luís Murta 54895a1152
Start of the personal finance core repo
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!
2023-07-31 21:32:55 +01:00

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)