GoogleMock.cmake
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:1k
源码类别:

游戏引擎

开发平台:

C++ Builder

  1. # -*- cmake -*-
  2. include(Prebuilt)
  3. include(Linking)
  4. use_prebuilt_binary(googlemock)
  5. set(GOOGLEMOCK_INCLUDE_DIRS 
  6.     ${LIBS_PREBUILT_DIR}/include)
  7. if (LINUX)
  8.     set(GOOGLEMOCK_LIBRARIES 
  9.         gmock  
  10.         gtest)
  11. elseif(WINDOWS)
  12.     set(GOOGLEMOCK_LIBRARIES 
  13.         gmock)
  14.     set(GOOGLEMOCK_INCLUDE_DIRS 
  15.         ${LIBS_PREBUILT_DIR}/include
  16.         ${LIBS_PREBUILT_DIR}/include/gmock
  17.         ${LIBS_PREBUILT_DIR}/include/gmock/boost/tr1/tr1)
  18. elseif(DARWIN)
  19.     set(GOOGLEMOCK_LIBRARIES
  20.         gmock
  21.         gtest)
  22. endif(LINUX)