[Bf-committers] cmake updates in trunk (2.49)

Miguel A. Figueroa-Villanueva miguelf at ieee.org
Tue Apr 28 04:58:06 CEST 2009


On Mon, Apr 27, 2009 at 10:02 PM, Dalai Felinto wrote:
> Since CMake has been updated for 2.5 I decided to update it to 2.49
> too (and drop scons for awhile :)
> I started with some FFMpeg updates (committed rev. 19952) and ended up
> trying to port the changes Shaul Kedem made to 2.5 (rev. 19732).
>
> I ended up with this patch:
> http://www.pasteall.org/5274/diff
>
> Although it works perfectly here, this change in
> [source/creator/CMakeLists.txt] copy python_d.dll to the build folder
> in both release and debug builds:
> +    COMMAND copy /Y \"${WIN_LIBDIR}\\python\\lib\\python25_d.dll\"
> \"${TARGETDIR}\\\"
>
> I guess this is not a good idea, so I'm wondering if anyone knows a
> solution for that. A way to copy python25_d.dll only when in debug
> mode.

I just briefly inspected the file, but it seems to me that cmake's
install(...) command can handle this nicely. BTW, why isn't it being
used instead of the platform-dependent copy/cp/etc. commands?

--Miguel


More information about the Bf-committers mailing list