dependencies cleanup

move gmock/gtest to third party

Change-Id: I96b43a3de2b6f2151659a9b2eed27eb58db5ce48
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2018-05-09 00:57:07 +02:00
parent 33fee15711
commit 10e5b71111
26 changed files with 45775 additions and 89 deletions

View File

@@ -50,12 +50,10 @@ add_executable(cloc_tests ${IGDRCL_SRCS_offline_compiler_tests})
target_include_directories(cloc_tests PRIVATE
$<TARGET_PROPERTY:cloc,INCLUDE_DIRECTORIES>
${GTEST_INCLUDE_DIR}
${GMOCK_INCLUDE_DIR}
)
target_compile_definitions(cloc_tests PUBLIC MOCKABLE_VIRTUAL=virtual $<TARGET_PROPERTY:cloc,INTERFACE_COMPILE_DEFINITIONS>)
target_link_libraries(cloc_tests igdrcl_mocks gtest elflib)
target_link_libraries(cloc_tests igdrcl_mocks gmock-gtest elflib)
if(UNIX)
target_link_libraries(cloc_tests dl pthread)