You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
365 B
14 lines
365 B
# This file mimics one containing GoogleTest-related helper functions. It
|
|
# includes the GoogleTest module that (in this test) is NOT included in the
|
|
# top-level CMake file.
|
|
|
|
include(GoogleTest)
|
|
|
|
function(add_gtest_executable TARGET SOURCE)
|
|
add_executable(${TARGET} ${SOURCE})
|
|
xcode_sign_adhoc(${TARGET})
|
|
gtest_discover_tests(
|
|
${TARGET}
|
|
)
|
|
endfunction()
|