Debian Codegraph @

Tests/RunCMake/GoogleTest/GoogleTestDiscoveryTestListScoped/CMakeLists.txt

raw
1 # This file mimics one containing GoogleTest-related helper functions. It
2 # includes the GoogleTest module that (in this test) is NOT included in the
3 # top-level CMake file.
4
5 include(GoogleTest)
6
7 function(add_gtest_executable TARGET SOURCE)
8 add_executable(${TARGET} ${SOURCE})
9 xcode_sign_adhoc(${TARGET})
10 gtest_discover_tests(
11 ${TARGET}
12 )
13 endfunction()