[CMake] CMake 2.2.1 and Free VC compiler

William A. Hoffman billlist at nycap.rr.com
Sun Sep 25 20:58:39 EDT 2005


I think it was outside the if because I was not sure if the free tools had all those
libraries.  Then it seemed to be working.  Must have been some other bug in 2.0.6 that
did not set the CMAKE_USING_VC_FREE_TOOLS variable at the right time.  

-Bill

At 03:21 PM 9/25/2005, Julien Jomier wrote:
>Bill,
>
>This is strange. Comparing the CMakeCache files it seems that all the default (required windows) libraries were included using CMake 2.0.6. However with CMake 2.2.1 CMAKE_STANDARD_LIBRARIES is not defined.
>
>Maybe there was a bug before and the libraries were included by default. In any case, moving the SET(CMAKE_STANDARD_LIBRARIES ...) after the ENDIF(CMAKE_USING_VC_FREE_TOOLS) does the trick.
>
>let me know if you prefer a bug report,
>
>Julien
>
>William A. Hoffman wrote:
>>Something odd is going on.   The Modules/Platform/Windows-cl.cmake for 2.0.6 and 2.2.1 both
>>look the same.  The SET for those libraries is out side and IF(CMAKE_USING_VC_FREE_TOOLS).
>>-Bill
>>
>>
>>At 05:32 PM 9/24/2005, Julien Jomier wrote:
>>
>>>Hello,
>>>
>>>I just updated CMake from 2.0.6 to 2.2.1 (beta) and I'm getting some new link errors using the Free VC compiler (command line).
>>>
>>>It seems that the following libraries were included automatically in the previous version of CMake and not the 2.2.1 version: shell32, comdlg32 ole32 advapi32, gdi32 and user32.
>>>
>>>This is reported on the ITK dashboard:
>>>http://www.itk.org/Testing/Sites/homer.caddlab.unc/Win32-FreeVC++/20050924-0100-Nightly/BuildError.html
>>>
>>>Is this a CMake issue or should we add these libraries in each CMakeLists.txt?
>>>
>>>Julien
>>>_______________________________________________
>>>CMake mailing list
>>>CMake at cmake.org
>>>http://www.cmake.org/mailman/listinfo/cmake
>>
>>_______________________________________________
>>CMake mailing list
>>CMake at cmake.org
>>http://www.cmake.org/mailman/listinfo/cmake
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list