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 Mar 2, 2020
1 parent 8f30500 commit b5e2d5d
Show file tree
Hide file tree
Showing 2 changed files with 397 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ else()
Kernel/elxElastixMain.h
${InstallFilesForExecutables}
)
add_executable( ElastixLibBasedExe
Main/ElastixLibBasedExe.cxx
)
target_link_libraries( ElastixLibBasedExe elastix )
target_compile_definitions(ElastixLibBasedExe PRIVATE ELX_CMAKE_VERSION="${CMAKE_VERSION}")
endif()

target_compile_definitions(elastix PRIVATE ELX_CMAKE_VERSION="${CMAKE_VERSION}")
Expand Down
Loading

0 comments on commit b5e2d5d

Please sign in to comment.