On Mon, Jan 9, 2012 at 4:11 PM, Michael Jackson
<mike.jack...@bluequartz.net> wrote:
> The only issue I really have with this is that this macro requires there to 
> be BOTH debug and Release libraries available and will copy BOTH no matter 
> which configuration is being built. I am thinking that the 
> "yourCopyDlls.cmake" could be auto generated based on what the programmer 
> says they need and then do the appropriate copy.

I experienced the exact same problem in the beginning - both libraries
had to be available. IIRC, passing ${CMAKE_CFG_INTDIR} to the script
allowed me to overcome this issue. The script does not even need to be
auto-generated. I am using one and the same script for all build
types.

- Hauke
--

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