FTXUI/examples/util/CMakeLists.txt

8 lines
214 B
CMake
Raw Normal View History

function(example name)
add_executable(${name} ${name}.cpp)
target_link_libraries(${name} PUBLIC component)
2020-03-23 04:01:44 +08:00
set_property(TARGET ${name} PROPERTY CXX_STANDARD 17)
endfunction(example)
example(print_key_press)