Reformat part of google test integration cmake file
This commit is contained in:
parent
b46d872a5e
commit
6b634d8378
|
@ -67,6 +67,11 @@ ELSE(UNIX)
|
||||||
|
|
||||||
ENDIF(UNIX)
|
ENDIF(UNIX)
|
||||||
|
|
||||||
|
# Include all files that have unit tests
|
||||||
|
SET(inc_dirs_tests
|
||||||
|
${root_dir}/lib/synergy/CProtocolUtilTest.cpp
|
||||||
|
)
|
||||||
|
|
||||||
SET(inc_dirs_test
|
SET(inc_dirs_test
|
||||||
${root_dir}
|
${root_dir}
|
||||||
${root_dir}/lib
|
${root_dir}/lib
|
||||||
|
@ -84,8 +89,5 @@ SET(inc_dirs_test
|
||||||
)
|
)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${inc_dirs_test})
|
INCLUDE_DIRECTORIES(${inc_dirs_test})
|
||||||
#ADD_EXECUTABLE(tests ${root_dir}/third_party/gtest/src/gtest-all.cc)
|
ADD_EXECUTABLE(tests ${root_dir}/third_party/gtest/src/gtest_main.cc ${inc_dirs_tests})
|
||||||
#ADD_EXECUTABLE(tests ${root_dir}/lib/synergy/CProtocolUtilTest.cpp)
|
|
||||||
#ADD_LIBRARY(prototest STATIC ${src_cmd_synergyc_common})
|
|
||||||
ADD_EXECUTABLE(tests ${root_dir}/third_party/gtest/src/gtest_main.cc ${root_dir}/lib/synergy/CProtocolUtilTest.cpp)
|
|
||||||
TARGET_LINK_LIBRARIES(tests synergy gtest ${libs})
|
TARGET_LINK_LIBRARIES(tests synergy gtest ${libs})
|
||||||
|
|
Loading…
Reference in New Issue