blob: 1a8772f2da8768238194179661c998256f30847c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
add_library(restricted-googletest-googlemock)
target_compile_options(restricted-googletest-googlemock PUBLIC
-DGTEST_HAS_ABSL=0
-DGTEST_OS_FUCHSIA=0
-DGTEST_HAS_STD_WSTRING=1
)
target_include_directories(restricted-googletest-googlemock PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock/include
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest/include
)
target_include_directories(restricted-googletest-googlemock PRIVATE
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock/include
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest/include
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest
)
target_link_libraries(restricted-googletest-googlemock PUBLIC
contrib-libs-cxxsupp
restricted-googletest-googletest
)
target_sources(restricted-googletest-googlemock PRIVATE
${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock/src/gmock-all.cc
)
|