diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 944b9eb..4604c81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,14 +55,22 @@ function(example name) target_link_libraries(${name} PRIVATE cc4group) endfunction() +function(examplepp name) + add_executable(${name} examples/${name}.cpp) + target_link_libraries(${name} PRIVATE cppc4group) +endfunction() + example(unc4group) example(c4copy) example(c4info) example(c4ls) +example(c4ls_asChild) example(c4touch) example(c4rm) example(c4mkdir) +examplepp(c4ls_asChildPp) + add_executable(c4cat examples/c4cat.c) target_link_libraries(c4cat PRIVATE cc4group) target_compile_definitions(c4cat PRIVATE CC4GROUP_PLATFORM_${CC4GROUP_PLATFORM_DEF}) |
