Thanks for the info. This is dues to changes in 'next' from the "dev/strict-mode" topic branch on the stage. Ben is still working out the remaining kinks in that feature... one of which are these warnings you're observing. Should be fixed "soon-ish"... :-)<div>
<br></div><div>Thanks!</div><div><br><br><div class="gmail_quote">On Fri, Oct 1, 2010 at 9:09 PM, J Decker <span dir="ltr"><<a href="mailto:d3ck0r@gmail.com">d3ck0r@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
with cmake version 2.8.2.20100929-ge15e0<br>
bad warning?<br>
<br>
warning: The variable, 'CMAKE_C_STANDARD_LIBRARIES', given on the<br>
command line, was not used within the build.<br>
<br>
<br>
<br>
On a simple project with a single library,<br>
-----<br>
cmake_minimum_required(VERSION 2.8 )<br>
project( test1 )<br>
add_library( test SHARED test.c )<br>
-----<br>
and a blank test.c file for grins...<br>
<br>
<br>
cmake -G "Visual Studio 10" .. --trace >err 2>&1<br>
<br>
gives the warning twice. This is a exerpt of the log around said<br>
warning... probably doesn't help<br>
<br>
e:/tools/unix/cmake/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake(28):<br>
IF(DEFINED CMAKE_${lang}_VERBOSE_FLAG )<br>
e:/tools/unix/cmake/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake(31):<br>
TRY_COMPILE(CMAKE_DETERMINE_${lang}_ABI_COMPILED ${CMAKE_BINARY_DIR}<br>
${src} CMAKE_FLAGS ${CMAKE_FLAGS} -DCMAKE_${lang}_STANDARD_LIBRARIES=<br>
--no-warn-unused-cli OUTPUT_VARIABLE OUTPUT COPY_FILE ${BIN} )<br>
warning: The variable, 'CMAKE_C_STANDARD_LIBRARIES', given on the<br>
command line, was not used within the build.<br>
e:/tools/unix/cmake/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake(44):<br>
IF(CMAKE_DETERMINE_${lang}_ABI_COMPILED )<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>