[Cmake] VS run-time library selection
William A. Hoffman
bill.hoffman at kitware.com
Tue Mar 4 22:04:30 EST 2003
The run time library selection is based on the flags that you give the
compiler.
So, if you change the variables CMAKE_CXX_FLAGS* to use the single threaded
libraries it should work. You will have to look at the documentation for
the VS
compiler to see which flags to change.
-Bill
At 02:27 PM 3/4/2003 -0800, SMITH,GORDON (HP-FtCollins,ex1) wrote:
>Hello -
>
>I have a small difficulty in Visual Studio linking a library I've created
>using third party object files (no source). The object files (apparently)
>link against the single threaded runtime library. The default "code
>generation" setting in cmake generated projects seems to be to link against
>the multithreaded library. This creates conflicts in this case.
>
>Is there a good way to change the run-time library setting from cmake?
>
> Thanks,
> - Gordon
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake
More information about the CMake
mailing list