On Wed, May 14, 2008 at 4:22 AM, Matthias Riechmann <[EMAIL PROTECTED]> wrote:
> Hi folks, > > is there any well defined way to include external DLL files (Qt, VTK, ITK, > ...) into the installer? I guess it will work somehow using the > INSTALL(FILES ...) command but currently I have no idea how to find those > files automatically or how to compose a command like "I want all the files F > which are located in directory DS to be copied to directory DT". Any idea? Use file(GLOB ...)? file(GLOB MY_DLL_FILES ${MY_DIRECTORY}/*.dll) install(FILES ${MY_DLL_FILES} DESTINATION bin) Either that or you can list them manually if there are only a few of them after you call FIND_PACKAGE which is often what we do. Append them all to a list and then call install() at the tail end of your CMakeLists. -- Philip Lowman
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake