Skip to content

Commit

Permalink
BUG: TubeTK STATIC, even if itkTubeTK SHARED
Browse files Browse the repository at this point in the history
itkTubeTK is a two-library system:

1) The include directory contains the itkTubeTK library which depends
on the TubeTK library. The itkTubeTK library is a high-quality ITK interface
(that can be wrapped for python) to the TubeTK library.

2) The src directory contains the TubeTK library which is an (ancient)
mix of ITK and non-ITK classes, functions, applications, and
examples.   It is poorly documented and inconsistent in style, but it
is rich in functionality :)

Regretfully the old TubeTK does not support being built as a shared
library.  So, even if itkTubeTK is being built shared, the underlying
TubeTK library will always be built static.
  • Loading branch information
aylward committed Jun 28, 2024
1 parent a6afb06 commit 1b7b1e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ include( ObjectDocuments.cmake )
include( Registration.cmake )
include( Segmentation.cmake )

itk_module_add_library( TubeTK ${TubeTK_SRCS} )
add_library(TubeTK STATIC ${TubeTK_SRCS})
itk_module_link_dependencies()
itk_module_target(TubeTK)

0 comments on commit 1b7b1e7

Please sign in to comment.