Commit 4ed11369 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

CMake small modernization

parent 60976b2e
Pipeline #19046 passed with stage
in 24 minutes and 42 seconds
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${kww_SOURCE_DIR}/lib)
set(demos set(demos
kww_countterms kww_countterms
runkww runkww
) )
foreach(demo ${demos}) foreach(app ${demos})
add_executable(${demo} ${demo}.c) add_executable(${app} ${app}.c)
target_link_libraries(${demo} ${kww_LIBRARY}) target_include_directories(${app} PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ${kww_SOURCE_DIR}/lib)
target_link_libraries(${app} ${kww_LIBRARY})
endforeach() endforeach()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment