mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-25 20:27:31 +08:00
8 lines
214 B
CMake
8 lines
214 B
CMake
function(example name)
|
|
add_executable(${name} ${name}.cpp)
|
|
target_link_libraries(${name} PUBLIC component)
|
|
set_property(TARGET ${name} PROPERTY CXX_STANDARD 17)
|
|
endfunction(example)
|
|
|
|
example(print_key_press)
|