13 lines
247 B
CMake
13 lines
247 B
CMake
# Creates the binary to run the tests #
|
|
file (GLOB TestSources src/*.cpp inc/*.h)
|
|
add_executable(LXC_Tests ${TestSources})
|
|
|
|
# Links with GoogleTest #
|
|
target_link_libraries(LXC_Tests
|
|
gtest
|
|
gtest_main
|
|
)
|
|
|
|
# Registers the test #
|
|
include(GoogleTest)
|