[CMake] Question about install()

Robert Dailey rcdailey at gmail.com
Sun Dec 7 01:20:30 EST 2008


Hi,

I have a couple of DLL files I want to copy to my executable's directory as
a post-build event in the CMake-generated visual studio project files. I
know I have to use install() for this, however I'm not sure how I can tell
install() to copy these DLL files to the directory containing the compiled
EXE file. I can't seem to find a CMAKE variable that represents the
containing directory of this EXE file. Note I'm building out of source.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081207/5026e9b4/attachment.htm>


More information about the CMake mailing list