SET(RENDERERS "curses" "wayland" ) SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/renderers) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..) FOREACH (renderer ${RENDERERS}) ADD_SUBDIRECTORY(${renderer}) ENDFOREACH()