blob: edf8ebd82e925fb00603abb2e7aaea658ca533b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
add_library(googletest STATIC
${CMAKE_SOURCE_DIR}/vendor/googletest/googletest/src/gtest-all.cc
${CMAKE_SOURCE_DIR}/vendor/googletest/googlemock/src/gmock-all.cc
)
target_include_directories(googletest PRIVATE
${CMAKE_SOURCE_DIR}/vendor/googletest/googletest
${CMAKE_SOURCE_DIR}/vendor/googletest/googletest/include
${CMAKE_SOURCE_DIR}/vendor/googletest/googlemock
${CMAKE_SOURCE_DIR}/vendor/googletest/googlemock/include
)
target_include_directories(googletest SYSTEM INTERFACE
${CMAKE_SOURCE_DIR}/vendor/googletest/googletest/include
${CMAKE_SOURCE_DIR}/vendor/googletest/googlemock/include
)
|