Browse Source

Small cmake simplification.

main
offa 7 years ago
parent
commit
fa89795daf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/CMakeLists.txt

+ 1
- 1
test/CMakeLists.txt View File

function(add_test_suite name) function(add_test_suite name)
add_executable(${name} ${name}.cpp) add_executable(${name} ${name}.cpp)
target_link_libraries(${name} TestMain ScopeGuard) target_link_libraries(${name} TestMain ScopeGuard)
add_test(NAME ${name} COMMAND ${name})
add_test(${name} ${name})
endfunction() endfunction()





Loading…
Cancel
Save