blob: 303bf1a56d4e984efd802fb97337e5e1fe501657 [file] [log] [blame]
Don Turnerfda67012018-01-19 18:10:25 +00001cmake_minimum_required(VERSION 3.4.1)
2
3set(GOOGLETEST_ROOT ${ANDROID_NDK}/sources/third_party/googletest/googletest)
4add_library(gtest STATIC ${GOOGLETEST_ROOT}/src/gtest_main.cc ${GOOGLETEST_ROOT}/src/gtest-all.cc)
5target_include_directories(gtest PRIVATE ${GOOGLETEST_ROOT})
6target_include_directories(gtest PUBLIC ${GOOGLETEST_ROOT}/include)
7
8include_directories(../include)
9add_executable(testOboe testUtilities.cpp ../src/common/Utilities.cpp)
10target_link_libraries(testOboe gtest)