update
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@480 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
841ea75f37
commit
184a4eb420
6 changed files with 84 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue