mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-10-31 00:17:44 +08:00
7 lines
158 B
CMake
7 lines
158 B
CMake
|
function(example name)
|
||
|
add_executable(${name} ${name}.cpp)
|
||
|
target_link_libraries(${name} PUBLIC component)
|
||
|
endfunction(example)
|
||
|
|
||
|
example(print_key_press)
|