[CMake] try using the "-03" option to gcc

Water Lin WaterLin at ymail.com
Wed Dec 23 03:22:04 EST 2009


I am trying to use the "-03" option to gcc. But after I use
--------------------
add_definitions(-03)
--------------------

in CMakeLists.txt file and generate the Makefile, I make the project and
gcc provides me a info:
-----------
c++: unrecognized option '-03'
-----------

How can I add "-03" option by CMakeLists.txt?

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin at ymail.com
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the CMake mailing list