GoogleMock.cmake
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:1k
- # -*- cmake -*-
- include(Prebuilt)
- include(Linking)
- use_prebuilt_binary(googlemock)
- set(GOOGLEMOCK_INCLUDE_DIRS
- ${LIBS_PREBUILT_DIR}/include)
- if (LINUX)
- set(GOOGLEMOCK_LIBRARIES
- gmock
- gtest)
- elseif(WINDOWS)
- set(GOOGLEMOCK_LIBRARIES
- gmock)
- set(GOOGLEMOCK_INCLUDE_DIRS
- ${LIBS_PREBUILT_DIR}/include
- ${LIBS_PREBUILT_DIR}/include/gmock
- ${LIBS_PREBUILT_DIR}/include/gmock/boost/tr1/tr1)
- elseif(DARWIN)
- set(GOOGLEMOCK_LIBRARIES
- gmock
- gtest)
- endif(LINUX)