Skip to content
This repository was archived by the owner on May 17, 2026. It is now read-only.

BUG: Fix CMake configuration warning. - #26

Merged
jhlegarreta merged 1 commit into
InsightSoftwareConsortium:masterfrom
jhlegarreta:FixCMakeConfigurationWarnings
Jan 31, 2019
Merged

jhlegarreta merged 1 commit into
InsightSoftwareConsortium:masterfrom
jhlegarreta:FixCMakeConfigurationWarnings

Conversation

@jhlegarreta

Copy link
Copy Markdown
Member

Fix CMake configuration warning. Fixes:

Make Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [ the

code was brought up to current ITK standards by `Nicholas Tustison
<mailto:[email protected]>`_]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleExternal.cmake:92 (include)
CMakeLists.txt:8 (include)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [

and it was converted to an ITK Remote module by `Kent Williams
<mailto:[email protected]>`_.

]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleExternal.cmake:92 (include)
CMakeLists.txt:8 (include)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [ the

code was brought up to current ITK standards by `Nicholas Tustison
<mailto:[email protected]>`_]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:134 (include)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleExternal.cmake:102
(itk_module_impl)
CMakeLists.txt:8 (include)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [

and it was converted to an ITK Remote module by `Kent Williams
<mailto:[email protected]>`_.

]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:134 (include)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleExternal.cmake:102
(itk_module_impl)
CMakeLists.txt:8 (include)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [ the

code was brought up to current ITK standards by `Nicholas Tustison
<mailto:[email protected]>`_]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:325 (include)
test/CMakeLists.txt:1 (itk_module_test)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [

and it was converted to an ITK Remote module by `Kent Williams
<mailto:[email protected]>`_.

]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:325 (include)
test/CMakeLists.txt:1 (itk_module_test)

This warning is for project developers.Use -Wno-dev to suppress it.

Take advantage of the commit to fix Nick's email address.

Fix CMake configuration warning. Fixes:

```
Make Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [ the

code was brought up to current ITK standards by `Nicholas Tustison
<mailto:[email protected]>`_]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleExternal.cmake:92 (include)
CMakeLists.txt:8 (include)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [

and it was converted to an ITK Remote module by `Kent Williams
<mailto:[email protected]>`_.

]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleExternal.cmake:92 (include)
CMakeLists.txt:8 (include)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [ the

code was brought up to current ITK standards by `Nicholas Tustison
<mailto:[email protected]>`_]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:134 (include)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleExternal.cmake:102
(itk_module_impl)
CMakeLists.txt:8 (include)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [

and it was converted to an ITK Remote module by `Kent Williams
<mailto:[email protected]>`_.

]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:134 (include)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleExternal.cmake:102
(itk_module_impl)
CMakeLists.txt:8 (include)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [ the

code was brought up to current ITK standards by `Nicholas Tustison
<mailto:[email protected]>`_]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:325 (include)
test/CMakeLists.txt:1 (itk_module_test)

This warning is for project developers.Use -Wno-dev to suppress it.

CMake Warning (dev) at
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:102 (message):
Unknown argument [

and it was converted to an ITK Remote module by `Kent Williams
<mailto:[email protected]>`_.

]

Call Stack (most recent call first):
itk-module.cmake:12 (itk_module)
C:/SDKs/ITK/itk-head/ITK/CMake/ITKModuleMacros.cmake:325 (include)
test/CMakeLists.txt:1 (itk_module_test)

This warning is for project developers.Use -Wno-dev to suppress it.
```

Take advantage of the commit to fix Nick's email address.
@jhlegarreta

Copy link
Copy Markdown
Member Author

For some reason that is still elusive to me, semicolons had to be escaped.

@jhlegarreta

Copy link
Copy Markdown
Member Author

Since CI's have been adapted to the new naming convention, they will surely fail.

I've checked locally that the CMake warnings are gone.

@thewtex thewtex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great job @jhlegarreta !

Semi-colons are used internally as a list delimiter in CMake, although I am not sure why it causes an issue with the parser here...

@jhlegarreta

Copy link
Copy Markdown
Member Author

That may be part of the explanation then. Thanks for enlightening me Matt.

@jhlegarreta
jhlegarreta merged commit 0e66a00 into InsightSoftwareConsortium:master Jan 31, 2019
@jhlegarreta
jhlegarreta deleted the FixCMakeConfigurationWarnings branch January 31, 2019 03:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants