mirror of https://github.com/JAJames/jessilib.git
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.
17 lines
400 B
17 lines
400 B
7 years ago
|
cmake_minimum_required(VERSION 3.8)
|
||
|
|
||
|
# Setup source files
|
||
|
include_directories(../include)
|
||
|
set(SOURCE_FILES
|
||
|
timer.cpp)
|
||
|
|
||
|
# Setup gtest
|
||
|
add_subdirectory(googletest/googletest)
|
||
|
#include_directories(googletest/googletest)
|
||
|
#include_directories(googletest/googlemock)
|
||
|
|
||
|
add_executable(jessilib_tests ${SOURCE_FILES})
|
||
|
|
||
|
# Link with gtest
|
||
|
target_link_libraries(jessilib_tests gtest gtest_main jessilib)
|