Files
milsko/examples/basic/CMakeLists.txt
NishiOwO 49ddd969a7 initial cmake support
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@477 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-23 17:04:35 +00:00

23 lines
259 B
CMake

# $Id$
file(
GLOB
EXAMPLE_BASIC_SOURCES
*.c
)
foreach(PATH IN LISTS EXAMPLE_BASIC_SOURCES)
get_filename_component(
TARGET
${PATH}
NAME_WE
)
add_executable(
${TARGET} ${PATH}
)
target_link_libraries(
${TARGET}
PRIVATE
Mw
)
endforeach()