mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@480 b9cfdab3-6d41-4d17-bbe4-086880011989
28 lines
345 B
CMake
28 lines
345 B
CMake
# $Id$
|
|
file(
|
|
GLOB
|
|
EXAMPLES_BASIC_SOURCES
|
|
*.c
|
|
)
|
|
|
|
foreach(PATH IN LISTS EXAMPLES_BASIC_SOURCES)
|
|
get_filename_component(
|
|
TARGET
|
|
${PATH}
|
|
NAME_WE
|
|
)
|
|
add_executable(
|
|
${TARGET} ${PATH}
|
|
)
|
|
target_include_directories(
|
|
${TARGET}
|
|
PRIVATE
|
|
${CMAKE_SOURCE_DIR}/include
|
|
)
|
|
target_link_libraries(
|
|
${TARGET}
|
|
PRIVATE
|
|
Mw
|
|
)
|
|
endforeach()
|