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

GSR gsr.b3d at infernal-iceberg.com
Tue Apr 28 04:30:55 CEST 2009


Hi,
dfelinto at gmail.com (2009-04-27 at 2302.27 -0300):
> 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.

Tried wrapping it with IF(CMAKE_BUILD_TYPE MATCHES "Debug")
conditional?

GSR
 


More information about the Bf-committers mailing list