[CMake] [VS] How to set static run-time for static lib release config?
Ryan Pavlik
rpavlik at iastate.edu
Sun Aug 15 09:56:48 EDT 2010
Great, thanks for sharing the update - looks good to me! I never use
the NMake makefiles generator, so I wouldn't have noticed that since
it's a windows-only module.
Ryan
On 8/15/10 8:31 AM, Droscy wrote:
> Hi Ryan, I've started using your MSVCStaticRuntime.cmake and everything
> worked well until I tested it with "NMake Makefiles" generator, that
> doesn't use CMAKE_CONFIGURATION_TYPES, so I edited your file to add the
> content of CMAKE_BUILD_TYPE to the SUFFIXES of list_combinations in
> order to make the replace works correctly.
>
> Attached to this email the edited version.
>
>
> Bye
>
>> Almost nobody uses the static runtime unless someone else's lib forces
>> them to, after which they will probably mutter under their breath.
>> With that disclaimer aside:
>>
>> http://github.com/rpavlik/physical-modeling-utilities/blob/master/cmake/MSVCStaticRuntime.cmake
>>
>>
--
Ryan Pavlik
Human-Computer Interaction Graduate Student
Virtual Reality Applications Center
Iowa State University
rpavlik at iastate.edu
http://academic.cleardefinition.com/
More information about the CMake
mailing list