Added google testing library
This commit is contained in:
12
tests/CMakeLists.txt
Normal file
12
tests/CMakeLists.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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)
|
||||
Reference in New Issue
Block a user