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.
12 lines
507 B
12 lines
507 B
4 months ago
|
cmake_minimum_required(VERSION 3.4.1)
|
||
|
|
||
|
set(GOOGLETEST_ROOT ${ANDROID_NDK}/sources/third_party/googletest/googletest)
|
||
|
add_library(gtest STATIC ${GOOGLETEST_ROOT}/src/gtest_main.cc ${GOOGLETEST_ROOT}/src/gtest-all.cc)
|
||
|
target_include_directories(gtest PRIVATE ${GOOGLETEST_ROOT})
|
||
|
target_include_directories(gtest PUBLIC ${GOOGLETEST_ROOT}/include)
|
||
|
|
||
|
include_directories(../src/main/cpp/)
|
||
|
|
||
|
# Build our test binary
|
||
|
add_executable (testRhythmGame testLockFreeQueue.cpp)
|
||
|
target_link_libraries(testRhythmGame gtest)
|