displayLayout and Rendering TUI library |
git clone git://git.dimitrijedobrota.com/display.git |
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING | |
CMakeLists.txt (487B)
1 find_package(stamen 1.3 REQUIRED) 2 3 configure_file(menu.conf menu.conf COPYONLY) 4 5 add_custom_command( 6 OUTPUT menu.hpp menu.cpp 7 COMMAND ${stamen_DIR}/../../bin/stamen -n example menu.conf 8 DEPENDS menu.conf 9 WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" 10 COMMENT "Generating menu files" 11 ) 12 13 add_example(navig) 14 target_sources(navig PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/menu.cpp") 15 target_include_directories(navig PRIVATE "${CMAKE_CURRENT_BINARY_DIR}") 16 17 add_folders(Navig)