[Cmake] VC++ 7.1 Post Build Problem
Brad King
brad.king at kitware.com
Mon Sep 20 13:41:21 EDT 2004
Marco Spatz wrote:
> Hi,
>
> we are currently using cmake 1.8.3 and VS 7.0 to build our system, but
> we are going to switch to cmake 2.0.3 and VC++ 7.1. I am the first one
> to take that step, and cmake 2.0.3 now works fine, but I still got
> problems with my new VC++ 7.1. After the build, we want to copy the
> needed dlls into the directory the binary's in. Therefore we use the
> code below to generate a post build command in VC++.
[snip]
> With VS 7.0 this works fine, but VC++ 7.1 complains about the post
> build. After "playing around" I found the reason why: VS 7.0 has no
> problems with multiple command line instructions, but VC++ 7.1 wants
> them to be in one command line (I tried this by hand and it worked). But
> I don't know how to tell cmake to put them all into one line? Or is this
> a VC++ 7.1 bug?
I suspect it is a change in the VC project file format for which CMake
does not account. We will have to investigate further but may not get
to it for a while. Please submit it as a bug report here:
http://www.cmake.org/Bug
Thanks,
-Brad
More information about the Cmake
mailing list