git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@480 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-23 17:42:13 +00:00
parent 841ea75f37
commit 184a4eb420
6 changed files with 84 additions and 32 deletions

View File

@@ -1,11 +1,11 @@
# $Id$
file(
GLOB
EXAMPLE_BASIC_SOURCES
EXAMPLES_BASIC_SOURCES
*.c
)
foreach(PATH IN LISTS EXAMPLE_BASIC_SOURCES)
foreach(PATH IN LISTS EXAMPLES_BASIC_SOURCES)
get_filename_component(
TARGET
${PATH}
@@ -14,6 +14,11 @@ foreach(PATH IN LISTS EXAMPLE_BASIC_SOURCES)
add_executable(
${TARGET} ${PATH}
)
target_include_directories(
${TARGET}
PRIVATE
${CMAKE_SOURCE_DIR}/include
)
target_link_libraries(
${TARGET}
PRIVATE