338
This commit is contained in:
7
tests/CMakeLists.txt
Normal file
7
tests/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
file(GLOB SRC_FILES "*.cpp")
|
||||
|
||||
foreach(SRC_FILE ${SRC_FILES})
|
||||
get_filename_component(EXE_NAME ${SRC_FILE} NAME_WE)
|
||||
add_executable(${EXE_NAME} ${SRC_FILE})
|
||||
target_link_libraries(${EXE_NAME} gtest gmock)
|
||||
endforeach()
|
||||
Reference in New Issue
Block a user