All, I was trying to use the external project add feature to add a 32-bit VC++ project on a 64-bit parent build system. However, I ran into problems while compiling the 32-bit project. "devenv" used to complain "invalid solution configuration" I tried to explicitly set "CMAKE_BUILD_TYPE" using -D option as well as in the CMakeLists.txt. Nothing changed.
However, when I enabled "CMAKE_VERBOSE_MAKEFILE", I found that "CMAKE" was "not" passing the -G option correctly. Instead of passing <cmake -G "Visual Studio 9 2008">, cmake was actually configuring the project as <cmake "-G Visual Studio 9 2008"> (Note that -G is inside the double-quote) When I isolate the build-step and build it manually using the correct syntax, everything works flawlessly. Specifying the generator via "CMAKE_ARGS" helps me compile. But CMAKE still appends the faulty -G syntax and hence is not producing the intended results for me. If this is indeed a bug, can some one tell me: 1. What is the temporary workaround for this? 2. If at all fixed, how long will it take the build to come out? Thanks, Best Regards, Sarnath ________________________________ ::DISCLAIMER:: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. -----------------------------------------------------------------------------------------------------------------------
-- 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