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

Attempt to fix USE_SYSTEM_ITK #153

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

melrobin
Copy link

With this commit I was able to get the ITK Software Guide to build with the setting USE_SYSTEM_ITK=ON.

Copy link
Member

@jhlegarreta jhlegarreta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @melrobin 💯. Have not tested.

An in-line comment and a few comments about the commit style:

Adopting these procedures allows maintainers and people that will read the commits afterwards have a clear view of what was changed, and what motivated such changes.

This also applies to the PR message when multiple commits are involved.

Although this certainly involves more work for the contributor, and potentially dealing with more PRs for maintainers, it is an effort that pays off. Additionally, this has the benefit that some PRs that do not require strict testing (e.g. typos) can be merged almost immediately, and reduces the number of essential and critical changes to review in PRs that require strict testing.

Thanks again. Keep up the good work.

@@ -19,7 +19,7 @@ include(${ITK_USE_FILE})

if( NOT IS_DIRECTORY "${ITK_SOURCE_DIR}" )
message(FATAL_ERROR "ITK source directory is not set :${ITK_SOURCE_DIR}:")
endif()
endif()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the trailing whitespace.

dzenanz
dzenanz previously approved these changes Apr 26, 2021
Copy link
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash the fix-related commits into one, and have a separate commit for the typo.

@@ -12,7 +12,7 @@ Get output images only produced in BINARY_DIR.
-- Describe Modularization as part of a ITKv3->ITKv4 transition appendix
-- Update Acknowledgements
-- Test clean builds
-- Suport "USE_SYSTEM_ITK"
-- Support "USE_SYSTEM_ITK"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this now works, it can be removed from this to do list.

@@ -12,7 +12,7 @@ Get output images only produced in BINARY_DIR.
-- Describe Modularization as part of a ITKv3->ITKv4 transition appendix
-- Update Acknowledgements
-- Test clean builds
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jhlegarreta we should clean up this TODO, as many/most things have been done by now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dzenanz I agree the list needs to be cleaned up, each item be checked, and maybe issues be opened instead of keeping this file. Not sure if I will have the bandwidth in the short-, mid-term to do this though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turning the entire file into issues is a great idea! We don't have to address them soon.

Copy link
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant to comment, not approve yet.

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