[Cmake] Warning about CMAKE_CXX_FLAGS
Mark Foskey
mark_foskey at unc.edu
Tue Dec 17 11:09:01 EST 2002
I am getting the following message:
SENDWARNINGThe selected ITK was built with C++ compiler flags
"/nologo /W3 /Zm1000 /GX /GR ", but the current flags are
"/nologo /W3 /Zm1000 /GX /GR". Please set CMAKE_CXX_FLAGS to
"/nologo /W3 /Zm1000 /GX /GR ".
This happens when I configure an outside project using ITK, VTK, and a
local library, itkUNC. I'm using CMake 1.4-5 under Windows, and I
built VTK, ITK, and itkUNC, without any warnings.
When this warning occurs, there is no CMAKE_CXX_FLAGS variable visible
to modify, even with "Show Advanced Values" selected.
Here's the FLAGS line from VTK-VC++/CMakeCache.txt; there's no space
at the end of the line, as far as I can tell.
CMAKE_CXX_FLAGS:STRING=/nologo /W3 /Zm1000 /GX /GR
Any ideas?
--
Mark Foskey (919) 843-5436 Computer-Aided Diagnosis and Display Lab
mark_foskey at unc.edu Department of Radiology, CB 7515, UNC
http://www.cs.unc.edu/~foskey Chapel Hill, NC 27599-7515
More information about the CMake
mailing list