abakiaydin / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Add static/dynamic runtime support in the CMakeLists.txt #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Current version of the CMakeLists.txt generates project file with static 
runtime support. Attached patch extends this script to allow user choose 
either static or dynamic runtime. 

New option was added USE_STATIC_RT:
- ON: Generate projects with static runtime
- OFF: Generate projects with dynamic runtime

Original issue reported on code.google.com by Dmitriy....@gmail.com on 25 Mar 2010 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by w...@google.com on 25 Mar 2010 at 7:04

GoogleCodeExporter commented 9 years ago
A note, only Microsoft Visual Studio is supported. However it is possible to 
setup gcc 
to link runtime libraries into the applicaiton.

Original comment by Dmitriy....@gmail.com on 25 Mar 2010 at 7:11