[CMake] Simple file copy

Alexander Neundorf a.neundorf-work at gmx.net
Wed Nov 22 09:27:18 EST 2006


-------- Original-Nachricht --------
Datum: Wed, 22 Nov 2006 15:22:53 +0100
Von: "Martin Lütken" <mlu at danware.dk>
An: "Eric Noulard" <eric.noulard at gmail.com>, "CMake ML" <cmake at cmake.org>
Betreff: RE: [CMake] Simple file copy

> Thanks a lot!
> But the name CONFIGURE_FILE suggest it happens before the build.
> Is that so? I need to copy lib files after build!

Does INSTALL(FILES ... ) do what you want ?
You could also do ADD_CUSTOM_TARGET( ... POST_BUILD ${CMAKE_COMMAND} -E copy ...)

Bye
Alex



-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!


More information about the CMake mailing list