diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
commit | df5520aa2dae5b3ce7abf8733dcdd152898af163 (patch) | |
tree | 00d3047bfb14f682bfb5a21010c731ed649bfed7 /app/cornu/CMakeLists.txt | |
parent | df247efec654e512242e4f4f1b0212034f9e01fe (diff) | |
parent | ec3c0f6f6e7153fa797dc57a0e95779cbc63a23b (diff) |
Merge branch 'release/debian/1_5.3.0GA-1'debian/1_5.3.0GA-1
Diffstat (limited to 'app/cornu/CMakeLists.txt')
-rw-r--r-- | app/cornu/CMakeLists.txt | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/app/cornu/CMakeLists.txt b/app/cornu/CMakeLists.txt index b54fc80..4e7e7d3 100644 --- a/app/cornu/CMakeLists.txt +++ b/app/cornu/CMakeLists.txt @@ -1,27 +1,29 @@ -PROJECT(cornu) - -FILE(GLOB HEADERS *.h) - -SET(SOURCES - bezctx.c - bezctx_xtrkcad.c - spiroentrypoints.c - spiro.c - ) +project(cornu) -SET(HEADERS - spiro.h - ) - - -INCLUDE_DIRECTORIES(${XTrkCAD_BINARY_DIR}) -INCLUDE_DIRECTORIES(${XTrkCAD_SOURCE_DIR}) -INCLUDE_DIRECTORIES(${wlib_SOURCE_DIR}/include) -INCLUDE_DIRECTORIES(${help_BINARY_DIR}) - -ADD_LIBRARY(xtrkcad-cornu ${HEADERS} ${SOURCES}) - - - - - +add_library(xtrkcad-cornu "") + +target_sources(xtrkcad-cornu + PRIVATE + bezctx.c + bezctx_xtrkcad.c + spiroentrypoints.c + spiro.c + bezctx.h + bezctx_intf.h + zmisc.h +) + +target_sources(xtrkcad-cornu + PUBLIC + bezctx_xtrkcad.h + spiroentrypoints.h + spiro.h +) + +target_link_libraries(xtrkcad-cornu + PRIVATE + xtrkcad-wlib + xtrkcad-lib +) + +target_include_directories(xtrkcad-cornu PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") |