<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">Yes, from the Documentation:<br>
The "general" keyword corresponds to all configurations,
and is purely optional (assumed if omitted).<br>
<br>
I think the primary reason for having separate libraries on
Windows but not Redhat is that Visual Studio provides separate
runtimes for Debug and Release builds which can cause issues when
intermixed.<br>
<br>
Nils<br>
<br>
On 09/05/2013 09:26 AM, Lars Lars wrote:<br>
</div>
<blockquote cite="mid:DUB112-W10091494CB2061A5C86B51DCA330@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Using Latest version of CMake on Windows 7 and
Redhat 6<br>
<br>
Running the below code on both platforms produce slightly
different content in QT_LIBRARIES.<br>
<br>
FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore QtGui)<br>
<br>
IF (QT4_FOUND)<br>
MESSAGE(STATUS "QT_LIBRARIES: ${QT_LIBRARIES}"<br>
ENDIF()<br>
<br>
On Windows I get;<br>
"Optimized;c:/tools/qt/lib/QtCore4.dll;debug;c:/tools/qt/lib/QtCored4.dll;<br>
Optimized;c:/tools/qt/lib/QtGui4.dll;debug;c:/tools/qt/lib/QtGuid4.dll;"<br>
<br>
On Redhat I get;<br>
"/tools/qt/lib/libQtCore.so;/tools/qt/lib/libQtGui.so"<br>
<br>
The Redhat version is missing the keywords "Optimzed" and
"Debug". <br>
<br>
Reading the spec is appears the keywords are optional, is that
correct?<br>
<br>
So when no keyword is specified, then the library can be used
with all configurations?<br>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</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>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:
CMake Support: <a class="moz-txt-link-freetext" href="http://cmake.org/cmake/help/support.html">http://cmake.org/cmake/help/support.html</a>
CMake Consulting: <a class="moz-txt-link-freetext" href="http://cmake.org/cmake/help/consulting.html">http://cmake.org/cmake/help/consulting.html</a>
CMake Training Courses: <a class="moz-txt-link-freetext" href="http://cmake.org/cmake/help/training.html">http://cmake.org/cmake/help/training.html</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>
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>