I find this in the "Changelog":
2013-02-19 Michael Wiegand <[email protected]>
Move "-Werror" flag to the "Debug" build type.
* misc/CMakeLists.txt, omp/CMakeLists.txt, nasl/CMakeLists.txt,
hg/CMakeLists.txt, base/CMakeLists.txt: Move "-Werror" from
CMAKE_C_FLAGS to CMAKE_C_FLAGS_DEBUG to keep it out of the
"Release"
build type.
* CMakeLists.txt: Do not set any flags as this is currently
handled by
the individual CMakeLists.txt in the subdirectories.
So I'm thinking cmake is defaulting to a "DEBUG" build, and all I have
to do
is tell it to build a "Release". In CMakeLists.txt I can see:
if (NOT CMAKE_BUILD_TYPE MATCHES "Release")
if (EXISTS "${CMAKE_SOURCE_DIR}/.svn/")
if (SVN_EXECUTABLE)
Subversion_GET_REVISION(. ProjectRevision)
set (SVN_REVISION ".SVN.r${ProjectRevision}")
else (SVN_EXECUTABLE)
set (SVN_REVISION ".SVN")
endif (SVN_EXECUTABLE)
endif (EXISTS "${CMAKE_SOURCE_DIR}/.svn/")
endif (NOT CMAKE_BUILD_TYPE MATCHES "Release")
I don't know how to get that "in". This ain't CMMI! ;-(
--
http://www.fastmail.com - IMAP accessible web-mail
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page