[CMake] How can I know what compiler is?

Jong-young Park eminency at gmail.com
Mon Mar 26 02:08:23 EST 2007


Dear all.

I need to add optimization flag(like '-O3' in gcc) in my project.

But compile optimization command may be not in CMake commands.

How can I know what compiler is (in project using CMake)?

And, how can I add compiler flag?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070326/92ad0998/attachment.htm


More information about the CMake mailing list