cmake-cmocka-template/cmake/cmocka-1.1.7/example/mock/CMakeLists.txt

6 lines
192 B
CMake
Raw Normal View History

# TODO Execute "$CMAKE_LINKER --help" and check for --wrap
if (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)" AND NOT APPLE)
add_subdirectory(chef_wrap)
add_subdirectory(uptime)
endif()