diff options
author | pommicket <pommicket@gmail.com> | 2025-09-15 20:59:38 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-15 20:59:38 -0400 |
commit | 09821002b314b7c8517f16d351b1c6b1088a47dc (patch) | |
tree | aeb54e83677eb6383daebaf0aeadbc80cc63f4a8 /CMakeLists.txt | |
parent | 06e068ea14220903bd95fea94d44fe3f1a918481 (diff) |
Better examples
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 69291e6..0c81004 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,9 +14,12 @@ set_target_properties(pom-shared PROPERTIES OUTPUT_NAME pom) add_executable(tests tests/errors.c tests/location.c tests/parsing.c tests/interpretation.c tests/main.c) target_include_directories(tests PRIVATE .) target_link_libraries(tests pom) -add_executable(read_conf examples/read_conf.c) -target_include_directories(read_conf PRIVATE .) -target_link_libraries(read_conf pom) +add_executable(example_read_conf examples/read_conf.c) +target_include_directories(example_read_conf PRIVATE .) +target_link_libraries(example_read_conf pom) +add_executable(example_custom_alloc examples/custom_alloc.c) +target_include_directories(example_custom_alloc PRIVATE .) +target_link_libraries(example_custom_alloc pom) install(TARGETS pom pom-shared DESTINATION lib) install(FILES pom.pc DESTINATION lib) |