yap/doc/CMakeLists.txt
Louis Dionne c23c06e509 [CMake] Pull the setting up of dependencies into its own file
Also, properly define link/header dependencies between targets.
2016-12-18 17:49:23 -06:00

13 lines
306 B
CMake

include_directories(${CMAKE_HOME_DIRECTORY})
macro(add_snippets name)
add_executable(${name} ${name}.cpp)
target_link_libraries(${name} yap)
if (clang_on_linux)
target_link_libraries(${name} c++)
endif ()
endmacro()
add_snippets(user_macros_snippets)
add_snippets(other_snippets)