[osg-users] MSVC9 CMake bug in src/CMakeLists.txt ?
philip at yhbt.com
Mon Jul 21 05:02:37 PDT 2008
On Mon, Jul 21, 2008 at 7:45 AM, Serge Lages <serge.lages at gmail.com> wrote:
> Hi Philip,
> I added this option some time ago, and VS9 wasn't still available. So feel
> free to update it and add VS9. As a side note, is it possible to make a
> condition like "all VS versions superiors to 8" ?
> On Mon, Jul 21, 2008 at 1:31 PM, Philip Lowman <philip at yhbt.com> wrote:
>> I was looking for something else and came across this in
>> src/CMakeLists.txt and it looked a little odd. I thought I would ask the
>> question if this was meant to apply to VS9 as well? If so, MSVC_VERSION
>> should probably be used here.
>> OPTION(OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS "Generate or not
>> manifests files under VS8 for dynamically loaded dlls" ON)
I think this might work although I can't test (either if this conditional
will work or if manifest generation on MSVC9 will work properly)
IF(MSVC_VERSION EQUAL 1400 OR
MSVC_VERSION GREATER 1400)
# do stuff
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users