On Thu, Feb 2, 2012 at 12:33 PM, Sarnath K - ERS, HCLTech
<k_sarn...@hcl.com> wrote:
> 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?
>

I am not seeing this breakage. However you are 2 versions behind in cmake.

John
--

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

Reply via email to