You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Setup source files
|
|
|
|
set(SOURCE_FILES
|
|
|
|
timer.cpp thread_pool.cpp util.cpp object.cpp parser.cpp config.cpp parsers/json.cpp unicode.cpp app_parameters.cpp)
|
|
|
|
|
|
|
|
# Setup gtest
|
|
|
|
add_subdirectory(googletest/googletest)
|
|
|
|
#include_directories(googletest/googletest)
|
|
|
|
#include_directories(googletest/googlemock)
|
|
|
|
|
|
|
|
# Setup executable build target
|
|
|
|
add_executable(jessilib_tests ${SOURCE_FILES})
|
|
|
|
|
|
|
|
# Setup include directories
|
|
|
|
target_include_directories(jessilib_tests PRIVATE .)
|
|
|
|
|
|
|
|
# Link with gtest
|
|
|
|
target_link_libraries(jessilib_tests gtest gtest_main jessilib)
|