Actually, looks like vice-versa from what I said... Put double quotes on these lines (and lines like them) so that CMAKE_CXX_FLAGS is a single space separated string.
set(CMAKE_CXX_FLAGS "-Wwrite-strings -std=c++0x -pedantic-errors -pedantic -Wall -W -Weffc++ -Wmain -Wextra -DBUILD_DLL") set(CMAKE_CXX_FLAGS_DEBUG "-Wno-long-long -Wno-comment -g -gdwarf-2" ) set(CMAKE_CXX_FLAGS_RELEASE "-s") Looks like just your top level CMakeLists has this issue. The others do double-quote correctly. HTH, David On Wed, Oct 6, 2010 at 11:44 AM, <fat...@crackmonkey.us> wrote: > > On Wed, 6 Oct 2010 11:09:36 -0400 > David Cole <david.c...@kitware.com> wrote: > > > Looks to me like somebody quoted a ${CMAKE_CXX_FLAGS} reference where > > they should not have quoted it... > > I can believe it, sounds like my work. ;) > > > What does the CMakeLists.txt file look like? > > Hmm. I'll link you directly to the files in my Fossil repository. The > rootwards-most CMakeLists.txt is first. > > > http://dreamtrack.dnsalias.com/fossils/reu2.cgi/artifact?name=12d75197da80395cd817b742349d2a30c547e23f > > http://dreamtrack.dnsalias.com/fossils/reu2.cgi/artifact?name=3801770b640cdf3ee866db319057b0b8ade29cf6 > > http://dreamtrack.dnsalias.com/fossils/reu2.cgi/artifact?name=6d89f405894e285e3f71790cf970901e877cf7fa > > http://dreamtrack.dnsalias.com/fossils/reu2.cgi/artifact?name=8ed752e51909af87cbec4294af3f458391a7be8d >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake