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

Add infrastructure to build as an ITK module and facilitate CI testing #12

Merged
merged 4 commits into from Dec 21, 2018

Conversation

thewtex
Copy link
Contributor

@thewtex thewtex commented Dec 15, 2018

This updates the license to the standard Apache 2.0 license used for ITK module. If this license is not desired, the license header should be removed from the source files and a license header ignore should be added to KWStyleOverwrite.txt.

CircleCI testing configuration is added (untested). You will need to enable CircleCI on the repository and verify that it works as expected.

To address:

/home/matt/src/kretz/include/itkToroidalToCartesianTransform.h:120:25:
warning: 'TransformPoint' overrides a member function but is not marked
'override' [-Winconsistent-missing-override]
    OutputPointType     TransformPoint(const InputPointType  &point )
    const;
To address:

/home/matt/src/kretz/test/itkToroidalTransformTest.cxx:163:43: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    ImageType::SizeType cartesian_size = {410, 418, 318};
                                          ^~~~~~~~~~~~~
                                          {            }
/home/matt/src/kretz/test/itkToroidalTransformTest.cxx:164:42: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    ImageType::SizeType size_toroidal = {580, 180, 142};
                                         ^~~~~~~~~~~~~
                                         {            }
@thewtex
Copy link
Contributor Author

thewtex commented Dec 15, 2018

Addresses #9 and #8

This enables CI testing as use as a library.

This contains the output of the ITK module template:

  https://github.com/InsightSoftwareConsortium/ITKModuleTemplate

Running:

  python -m pip install cookiecutter
  python -m cookiecutter gh:InsightSoftwareConsortium/ITKModuleTemplate

By conventions for ITK IO modules, the name is "IOKretz". The CMake
project name and libraries correspond to this name.

The example applications are moved in the "examples" directory per ITK
module convention.

Fix style issues identified by IOKretzKWStyleTest.

Update license to standard Apache 2.0 license with copyright assigned to
the Insight Software Consortium.

Add CircleCI configuration.
@plooney plooney merged commit 13ccd45 into plooney:master Dec 21, 2018
@thewtex thewtex deleted the testing branch December 21, 2018 15:21
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.

None yet

2 participants