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

Dalai Felinto dfelinto at gmail.com
Tue Apr 28 04:02:27 CEST 2009


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.

Another thing. I'm not compiling 2.5 with CMake, so I can't check. But
this patch probably can be applied to 2.5 branch as well:
http://lists.blender.org/pipermail/bf-blender-cvs/2009-April/019143.html
(trunk rev. 19952)

Cheers,
Dalai

http://blenderecia.orgfree.com


More information about the Bf-committers mailing list