<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I believe compile flags are <b>not</b> used during linking, while
CMAKE_CXX_FLAGS will also be used during linking (if your linker
language is C++). I do not know of any other differences, but
perhaps an expert wants to correct me..<br>
<br>
Cheers,<br>
Yngve<br>
<br>
On 02. april 2013 11:21, Daniel Carrera wrote:<br>
</div>
<blockquote
cite="mid:CAEaabNhZMLjHDu6uWiypugK8=geEmHn4d+yw0MaJASoYZaFmzQ@mail.gmail.com"
type="cite">
<pre wrap="">Hi everyone,
What is the difference between CMAKE_CXX_COMPILE_FLAGS and CMAKE_CXX_FLAGS?
The wiki only mentions CMAKE_CXX_FLAGS and CMAKE_C_FLAGS, and those
are clearly used for compiling. But if you Google for CMake examples
(e.g with MPI) you will quickly find CMake scripts that have
CMAKE_CXX_COMPILE_FLAGS.
I am experimenting with CMake and I want to figure out if I should be
using CMAKE_Fortran_FLAGS or CMAKE_Fortran_COMPILE_FLAGS.
Thanks for the help.
Cheers,
Daniel.
--
Lord of the rings calendar in your Linux/Unix/Mac terminal: cat
/usr/share/calendar/calendar.lotr
--
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a>
</pre>
</blockquote>
<br>
</body>
</html>