On 11/9/2010 8:03 AM, Brad King wrote:
Taking out the new AdditionalOptions=" /W1 /libs:dll /threads" allowed
the project to succeed.
The regression was introduced here:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=20f49730
So, you should be able to get a temporary fix by reverting this change
via CMAKE_MODULE_PATH and providing your own versions of these files.
but it was a fix for another bug:
http://www.cmake.org/pipermail/cmake/2010-September/039829.html
I think this regression was an existing bug that was exposed
by the other fix. A table in
Source/cmLocalVisualStudio7Generator.cxx
that maps from compiler flags to IDE project file entries has
no entries for these flags. They should not be put in the
AdditionalOptions entry but instead mapped to other attributes.
The current behavior probably causes conflicting flags to
be passed by the IDE to the compiler. I don't know why this
problem didn't show up while testing the fix for the above
bug. I'll look at adding the missing flag mapping entries.
-Brad
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake