Revision 9ee6be436b4cbf61c6badcba756dd3a286de28d7 authored by Konrad Werys on 28 May 2019, 13:12:50 UTC, committed by Konrad Werys on 28 May 2019, 13:12:50 UTC
1 parent 8373d5c
gtest.cmake~
# based on http://david-grs.github.io/cpp-clang-travis-cmake-gtest-coveralls-appveyor/
set(GOOGLETEST_ROOT thirdParty/googletest/googletest CACHE STRING "Google Test source root")
include_directories(SYSTEM
${PROJECT_SOURCE_DIR}/${GOOGLETEST_ROOT}
${PROJECT_SOURCE_DIR}/${GOOGLETEST_ROOT}/include
)
set(GOOGLETEST_SOURCES
${PROJECT_SOURCE_DIR}/${GOOGLETEST_ROOT}/src/gtest-all.cc
${PROJECT_SOURCE_DIR}/${GOOGLETEST_ROOT}/src/gtest_main.cc
)
foreach(_source ${GOOGLETEST_SOURCES})
set_source_files_properties(${_source} PROPERTIES GENERATED 1)
endforeach()
add_library(gtest ${GOOGLETEST_SOURCES})

Computing file changes ...