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"... :-)
Thanks! On Fri, Oct 1, 2010 at 9:09 PM, J Decker <[email protected]> wrote: > with cmake version 2.8.2.20100929-ge15e0 > bad warning? > > warning: The variable, 'CMAKE_C_STANDARD_LIBRARIES', given on the > command line, was not used within the build. > > > > On a simple project with a single library, > ----- > cmake_minimum_required(VERSION 2.8 ) > project( test1 ) > add_library( test SHARED test.c ) > ----- > and a blank test.c file for grins... > > > cmake -G "Visual Studio 10" .. --trace >err 2>&1 > > gives the warning twice. This is a exerpt of the log around said > warning... probably doesn't help > > > e:/tools/unix/cmake/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake(28): > IF(DEFINED CMAKE_${lang}_VERBOSE_FLAG ) > > e:/tools/unix/cmake/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake(31): > TRY_COMPILE(CMAKE_DETERMINE_${lang}_ABI_COMPILED ${CMAKE_BINARY_DIR} > ${src} CMAKE_FLAGS ${CMAKE_FLAGS} -DCMAKE_${lang}_STANDARD_LIBRARIES= > --no-warn-unused-cli OUTPUT_VARIABLE OUTPUT COPY_FILE ${BIN} ) > warning: The variable, 'CMAKE_C_STANDARD_LIBRARIES', given on the > command line, was not used within the build. > > e:/tools/unix/cmake/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake(44): > IF(CMAKE_DETERMINE_${lang}_ABI_COMPILED ) > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
