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

ITK module transition #12

Open
wants to merge 61 commits into
base: master
Choose a base branch
from

Conversation

LucasGandel
Copy link

@LucasGandel LucasGandel commented Feb 7, 2025

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

Sébastien Goll and others added 30 commits January 21, 2025 17:29
Sébastien Goll and others added 27 commits January 28, 2025 12:05
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
@SimonRit SimonRit self-requested a review February 11, 2025 09:17
Copy link
Collaborator

@SimonRit SimonRit left a 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)
Copy link
Collaborator

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
Copy link
Collaborator

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)
Copy link
Collaborator

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})
Copy link
Collaborator

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
Copy link
Collaborator

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

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.

3 participants