2011/9/11 Durk Talsma <[email protected]>: > > Which actually brings me to the next question: I'm currently trying to build > a heavily optimized version of FlightGear, and want to pass a number of > options cmake. I got the basic mechanism to work; i.e. -D > CMAKE_CXX_FLAGS="-O3 -Wall". But, in my autoconf based compile script, I pass > an option containing an equals character (i.e. "="_). When I try to pass that > to cmake, using for example: -D CMAKE_CXX_FLAGS="-O3 -Wall -march=native", if > found that the entire token containing the = character, as well as all the > tokens following it, are ignored. I've tried most of the known unix tricks > to escape the = character, but to no avail. Any ideas? > > Cheers, > Durk >
Have you tried to append your flag with ":STRING" ? It should look like -D CMAKE_CXX_FLAGS:STRING="-O3 -Wall -march=native". Cheers, Bertrand. ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

