-
Notifications
You must be signed in to change notification settings - Fork 9
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
ITK module transition #12
base: master
Are you sure you want to change the base?
Conversation
…anweighting applications
…pping Itk module python wrapping
ITK should handle this already when building the module. This is only required if PCT would build another third party before itk_module_impl
Fixes issues where the imp lib is not found when building sharedl libs on windows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! A few comments in line. Should I address them or do you want to do it?
BTW, ITK 5.4.2.post1 is now available and released, maybe we should switch to the new version.
ENDFOREACH(GGO_FILE) | ||
SET_SOURCE_FILES_PROPERTIES(${${GGO_SRCS}} PROPERTIES GENERATED TRUE) | ||
ENDMACRO (WRAP_GGO) | ||
if (NOT TARGET gengetopt) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this file be taken from RTK cmake directory?
@@ -0,0 +1,17 @@ | |||
/*========================================================================= | |||
* | |||
* Copyright RTK Consortium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather use "Centre National de la Recherche Scientifique" for the copyrights, as in the license file
@@ -0,0 +1,17 @@ | |||
cmake_minimum_required(VERSION 3.16.3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe wait for an example before adding this? There doesn't seem to be any source file yet.
) | ||
|
||
if(NOT ITK_SOURCE_DIR) | ||
find_package(ITK REQUIRED COMPONENTS ITKImageIO ITKTransformIO ${ExampleSpecificComponents}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would we need all these ITK components? Let's wait for a concrete example...
@@ -0,0 +1,150 @@ | |||
#ifndef __pctDDParkerShortScanImageFilter_txx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_txx -> _hxx in all files. I'm atually surprised this is not checked by kwstyle or clang-format
CI pipeline will only run once it's merged I guess.
Temporary pipeline can be accessed here: https://github.com/LucasGandel/PCT/actions/runs/13201483553/job/36854352179