Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Allow building exe and lib of elastix and transformix together #232

Merged
merged 3 commits into from
Aug 25, 2020

Conversation

N-Dekker
Copy link
Member

@N-Dekker N-Dekker commented Mar 6, 2020

Also enabled GoogleTest on the CI (Azure pipelines).

@N-Dekker N-Dekker force-pushed the Exe-and-Lib-built-together branch 2 times, most recently from f4676a6 to 6050ba9 Compare March 8, 2020 10:22
@N-Dekker N-Dekker changed the title WIP: ENH: Allow building the exe and the lib of elastix together WIP: ENH: Allow building exe and lib of elastix and transformix together Mar 8, 2020
@N-Dekker N-Dekker force-pushed the Exe-and-Lib-built-together branch 2 times, most recently from 5c65946 to 0456515 Compare April 8, 2020 12:34
@N-Dekker N-Dekker force-pushed the Exe-and-Lib-built-together branch 3 times, most recently from 074f550 to be70b85 Compare August 23, 2020 15:57
@N-Dekker N-Dekker changed the title WIP: ENH: Allow building exe and lib of elastix and transformix together ENH: Allow building exe and lib of elastix and transformix together Aug 23, 2020
@N-Dekker N-Dekker marked this pull request as ready for review August 23, 2020 16:01
@N-Dekker N-Dekker force-pushed the Exe-and-Lib-built-together branch from be70b85 to 94ccee4 Compare August 24, 2020 13:32
@N-Dekker N-Dekker force-pushed the Exe-and-Lib-built-together branch from 94ccee4 to 0959c35 Compare August 24, 2020 15:38
In order to ease maintainability of Elastix, always just build both library and the executable.

Ensures that the tests (CTest + GTest) cover the source files of both binaries.

Was discussed today Aug 24, 2020 with Marius Staring.
@N-Dekker N-Dekker force-pushed the Exe-and-Lib-built-together branch from 0959c35 to c8538f7 Compare August 24, 2020 15:56
@N-Dekker N-Dekker merged commit 22bc687 into develop Aug 25, 2020
@N-Dekker N-Dekker deleted the Exe-and-Lib-built-together branch September 3, 2020 19:22
N-Dekker added a commit to N-Dekker/ITKElastix that referenced this pull request Sep 10, 2020
Removed obsolete `elastix::BaseComponent::InitializeElastixLibrary()`
calls, as Elastix is now initialized as a library by default:
"ENH: Replace InitializeElastixLibrary() by InitializeElastixExecutable()"
SuperElastix/elastix#248
SuperElastix/elastix@ef64fb2

Adjusted CMake `Elastix_LIBRARIES`, as the Elastix library CMake targets
are now named elastix_lib and transformix_lib:
"ENH: Allow building exe and lib of elastix and transformix together"
SuperElastix/elastix#232
SuperElastix/elastix@3944a13
N-Dekker added a commit to N-Dekker/ITKElastix that referenced this pull request Sep 11, 2020
Removed obsolete `elastix::BaseComponent::InitializeElastixLibrary()`
calls, as Elastix is now initialized as a library by default:
"ENH: Replace InitializeElastixLibrary() by InitializeElastixExecutable()"
SuperElastix/elastix#248
SuperElastix/elastix@ef64fb2

Adjusted CMake `Elastix_LIBRARIES`, as the Elastix library CMake targets
are now named elastix_lib and transformix_lib:
"ENH: Allow building exe and lib of elastix and transformix together"
SuperElastix/elastix#232
SuperElastix/elastix@3944a13
N-Dekker added a commit to N-Dekker/ITKElastix that referenced this pull request Sep 11, 2020
Removed obsolete `elastix::BaseComponent::InitializeElastixLibrary()`
calls, as Elastix is now initialized as a library by default:
"ENH: Replace InitializeElastixLibrary() by InitializeElastixExecutable()"
SuperElastix/elastix#248
SuperElastix/elastix@ef64fb2

Adjusted CMake `Elastix_LIBRARIES`, as the Elastix library CMake targets
are now named elastix_lib and transformix_lib:
"ENH: Allow building exe and lib of elastix and transformix together"
SuperElastix/elastix#232
SuperElastix/elastix@3944a13
N-Dekker added a commit to N-Dekker/ITKElastix that referenced this pull request Sep 11, 2020
Removed obsolete `elastix::BaseComponent::InitializeElastixLibrary()`
calls, as Elastix is now initialized as a library by default:
"ENH: Replace InitializeElastixLibrary() by InitializeElastixExecutable()"
SuperElastix/elastix#248
SuperElastix/elastix@ef64fb2

Adjusted CMake `Elastix_LIBRARIES`, as the Elastix library CMake targets
are now named elastix_lib and transformix_lib:
"ENH: Allow building exe and lib of elastix and transformix together"
SuperElastix/elastix#232
SuperElastix/elastix@3944a13
N-Dekker added a commit to N-Dekker/ITKElastix that referenced this pull request Sep 12, 2020
Removed obsolete `elastix::BaseComponent::InitializeElastixLibrary()`
calls, as Elastix is now initialized as a library by default:
"ENH: Replace InitializeElastixLibrary() by InitializeElastixExecutable()"
SuperElastix/elastix#248
SuperElastix/elastix@ef64fb2

Adjusted CMake `Elastix_LIBRARIES`, as the Elastix library CMake targets
are now named elastix_lib and transformix_lib:
"ENH: Allow building exe and lib of elastix and transformix together"
SuperElastix/elastix#232
SuperElastix/elastix@3944a13
N-Dekker added a commit to N-Dekker/ITKElastix that referenced this pull request Sep 12, 2020
Removed obsolete `elastix::BaseComponent::InitializeElastixLibrary()`
calls, as Elastix is now initialized as a library by default:
"ENH: Replace InitializeElastixLibrary() by InitializeElastixExecutable()"
SuperElastix/elastix#248
SuperElastix/elastix@ef64fb2

Adjusted CMake `Elastix_LIBRARIES`, as the Elastix library CMake targets
are now named elastix_lib and transformix_lib:
"ENH: Allow building exe and lib of elastix and transformix together"
SuperElastix/elastix#232
SuperElastix/elastix@3944a13
N-Dekker added a commit to N-Dekker/ITKElastix that referenced this pull request Sep 13, 2020
Removed obsolete `elastix::BaseComponent::InitializeElastixLibrary()`
calls, as Elastix is now initialized as a library by default:
"ENH: Replace InitializeElastixLibrary() by InitializeElastixExecutable()"
SuperElastix/elastix#248
SuperElastix/elastix@ef64fb2

Adjusted CMake `Elastix_LIBRARIES`, as the Elastix library CMake targets
are now named elastix_lib and transformix_lib:
"ENH: Allow building exe and lib of elastix and transformix together"
SuperElastix/elastix#232
SuperElastix/elastix@3944a13
N-Dekker added a commit that referenced this pull request Jun 22, 2023
Added support for `ELASTIX_BUILD_EXECUTABLE`, allowing to switch off building the elastix and transformix executables, while still building the libraries.

Basically reverts pull request #232 commit a0c161a "STYLE: Remove ELASTIX_BUILD_EXECUTABLE option -- always build lib + exe"

The ability to suppress building the executables appears necessary for WebAssembly support, as requested by Matt McCormick at #920
N-Dekker added a commit that referenced this pull request Jun 22, 2023
Added support for `ELASTIX_BUILD_EXECUTABLE`, allowing to switch off building the elastix and transformix executables, while still building the libraries.

Basically reverts pull request #232 commit a0c161a "STYLE: Remove ELASTIX_BUILD_EXECUTABLE option -- always build lib + exe"

The ability to suppress building the executables appears necessary for WebAssembly support, as requested by Matt McCormick at #920
N-Dekker added a commit that referenced this pull request Jun 23, 2023
Added support for `ELASTIX_BUILD_EXECUTABLE`, allowing to switch off building the elastix and transformix executables, while still building the libraries.

Basically reverts pull request #232 commit a0c161a "STYLE: Remove ELASTIX_BUILD_EXECUTABLE option -- always build lib + exe"

The ability to suppress building the executables appears necessary for WebAssembly support, as requested by Matt McCormick at #920
N-Dekker added a commit that referenced this pull request Jun 23, 2023
Added support for `ELASTIX_BUILD_EXECUTABLE`, allowing to switch off building the elastix and transformix executables, while still building the libraries.

Basically reverts pull request #232 commit a0c161a "STYLE: Remove ELASTIX_BUILD_EXECUTABLE option -- always build lib + exe" (August 25, 2020).

The ability to suppress building the executables appears necessary for WebAssembly support, as requested by Matt McCormick at pull request #920
N-Dekker added a commit to SuperElastix/manual that referenced this pull request Jun 23, 2023
See also pull request SuperElastix/elastix#283 "COMP: No longer add BUILD_SHARED_LIBS option", merged on September 12, 2020.

Removed obsolete text saying: "To build elastix as a library you have to disable the `ELASTIX_BUILD_EXECUTABLE` option in CMake". Related to pull request SuperElastix/elastix#232 commit SuperElastix/elastix@a0c161a "STYLE: Remove ELASTIX_BUILD_EXECUTABLE option -- always build lib + exe" (August 25, 2020)
N-Dekker added a commit that referenced this pull request Jun 23, 2023
Added support for `ELASTIX_BUILD_EXECUTABLE`, allowing to switch off building the elastix and transformix executables, while still building the libraries.

Basically reverts pull request #232 commit a0c161a "STYLE: Remove ELASTIX_BUILD_EXECUTABLE option -- always build lib + exe" (August 25, 2020).

The ability to suppress building the executables appears necessary for WebAssembly support, as requested by Matt McCormick at pull request #920
N-Dekker added a commit to SuperElastix/manual that referenced this pull request Jul 17, 2024
See also pull request SuperElastix/elastix#283 "COMP: No longer add BUILD_SHARED_LIBS option", merged on September 12, 2020.

Removed obsolete text saying: "To build elastix as a library you have to disable the `ELASTIX_BUILD_EXECUTABLE` option in CMake". Related to pull request SuperElastix/elastix#232 commit SuperElastix/elastix@a0c161a "STYLE: Remove ELASTIX_BUILD_EXECUTABLE option -- always build lib + exe" (August 25, 2020)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant