This commit is contained in:
2026-06-17 18:31:01 +03:00
parent 6cb54740b4
commit 10703e22d6
4 changed files with 288 additions and 45 deletions

View File

@@ -19,6 +19,12 @@ target_include_directories(
"$<INSTALL_INTERFACE:include/${PROJECT_NAME}>"
)
set(EXAM_STRING str_exam)
add_executable(${EXAM_STRING} examples/str_exam.cpp)
target_link_libraries(${EXAM_STRING} ${PROJECT_NAME})
if(BUILD_EXAMPLES)
set(EXAM_STRING str_exam)
add_executable(${EXAM_STRING} examples/str_exam.cpp)
target_link_libraries(${EXAM_STRING} ${PROJECT_NAME})
set(EXAM_HMAP hmap_example)
add_executable(${EXAM_HMAP} examples/hmap_example.cpp)
target_link_libraries(${EXAM_HMAP} ${PROJECT_NAME})
endif()