On Tue, Dec 9, 2008 at 4:25 PM, Bill Hoffman <span dir="ltr">&lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Robert Dailey wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
After much research, I&#39;ve found out that CMake cannot provide a custom command (Post build event) to a specific configuration in the case where CMake is used to generate a multi-configuration target, such as a visual studio project. This is a HUGE problem for me. Are there any work-arounds for this issue? Does this issue plan to be addressed in a future release (Hopefully soon)?<br>

<br>
</blockquote>
<br></div>
Exactly what are you trying to copy? &nbsp;I might be able to figure out a workaround if I had a better idea of what you were doing.<br>
<br>
(please keep the example &nbsp;small... :) &nbsp;)</blockquote></div><br>Sure. Sorry for the lack of details.<br><br>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&#39;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.<br>