ITK/Build Instructions for Developers

From KitwarePublic
< ITK
Revision as of 21:38, 12 May 2009 by Gelas (talk | contribs) (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=...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

CMAKE_C_FLAGS=-Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wunused -Wpointer-arith -Winvalid-pch -Wcast-align -Wdisabled-optimization -Wshadow -Wwrite-strings -funit-at-a-time