mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-02 04:58:25 -05:00
9 lines
277 B
Plaintext
Executable File
9 lines
277 B
Plaintext
Executable File
The package gtest is compatible with built-in CMake targets:
|
|
|
|
enable_testing()
|
|
|
|
find_package(GTest CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE GTest::gtest GTest::gtest_main GTest::gmock GTest::gmock_main)
|
|
|
|
add_test(AllTestsInMain main)
|