ITK/Build Instructions for Developers: Difference between revisions
From KitwarePublic
< ITK
Jump to navigationJump to search
(New page: = Compiler flags = Make sure to add the corresponding flags before submitting any build to the dashboard. They could be added during cmake building procedure. == gcc == CMAKE_CXX_FLAGS=...) |
Daviddoria (talk | contribs) m (moved Build Instructions for Developers to ITK/Build Instructions for Developers: Conform to naming convention) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
CMAKE_CXX_FLAGS=-Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wunused -Wpointer-arith -Winvalid-pch -Wcast-align -Wdisabled-optimization -Woverloaded-virtual -Wshadow -Wwrite-strings -Wstrict-null-sentinel -funit-at-a-time | CMAKE_CXX_FLAGS=-Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wunused -Wpointer-arith -Winvalid-pch -Wcast-align -Wdisabled-optimization -Woverloaded-virtual -Wshadow -Wwrite-strings -Wstrict-null-sentinel -funit-at-a-time | ||
* Note: -Wshadow is not recommended for nightly build, it generates lots of warnings in third party libraries (itkjpeg, vxl, etc.). |
Latest revision as of 18:02, 15 October 2011
Compiler flags
Make sure to add the corresponding flags before submitting any build to the dashboard. They could be added during cmake building procedure.
gcc
CMAKE_CXX_FLAGS=-Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wunused -Wpointer-arith -Winvalid-pch -Wcast-align -Wdisabled-optimization -Woverloaded-virtual -Wshadow -Wwrite-strings -Wstrict-null-sentinel -funit-at-a-time
* Note: -Wshadow is not recommended for nightly build, it generates lots of warnings in third party libraries (itkjpeg, vxl, etc.).