On Dec 10, 2008, at 6:04 AM, Mike Arthur wrote:
On Tuesday 09 December 2008 22:33:22 Robert Dailey wrote:
I have a directory that contains DLL files that I need to copy to the
directory at which my executable is built. However, the DLL files
that I
copy over are different depending on the configuration that was
used to
build the executable. For example, if I've built my executable
using the
DEBUG configuration, I need to copy over DLL files named foo_d.dll,
bar_d.dll. If RELEASE was used to build the executable, then I need
to copy
over foo.dll and bar.dll. Since the debug/release executables are
placed in
different directories by CMake when they are built, the destination
location for the DLLs also changes across configurations as well.
Are you building these DLLs or are they binaries? If so, why does it
need to
be post-build and not pre-build?
If the latter is acceptable then I've got a solution for you, we've
used at my
place of work.
--
Cheers,
Mike Arthur
http://mikearthur.co.uk/
I'm interested. I always manually drag over the libraries that I need
when I develop on Windows.
Thanks
_________________________________________________________
Mike Jackson [EMAIL PROTECTED]
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake