Skip to content

Commit

Permalink
WIP: ENH: Executable linked to elastix.lib, subset of elastix.exe fun…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
N-Dekker committed Aug 25, 2020
1 parent 261d78e commit aa9a685
Show file tree
Hide file tree
Showing 2 changed files with 398 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ set_target_properties( elastix_lib PROPERTIES OUTPUT_NAME elastix )
target_compile_definitions( elastix_lib PRIVATE ELX_CMAKE_VERSION="${CMAKE_VERSION}" )
target_link_libraries( elastix_lib ${ELASTIX_TARGET_LINK_LIBRARIES} )

add_executable( ElastixLibBasedExe
Main/ElastixLibBasedExe.cxx
)
target_link_libraries( ElastixLibBasedExe elastix_lib )
target_compile_definitions(ElastixLibBasedExe PRIVATE ELX_CMAKE_VERSION="${CMAKE_VERSION}")

#---------------------------------------------------------------------
# Create the transformix executable.

Expand Down
Loading

0 comments on commit aa9a685

Please sign in to comment.