[CMake] Renaming directory while installing
cmake.org › pipermail › cmakeDec 09, 2009 · On Wed, Dec 9, 2009 at 7:21 AM, Nathan Huesken <cmake at lonely-star.org>wrote: > Hi, > > I can install a directory in cmake doing: > > INSTALL(DIRECTORY ${SRCDIR} DESTINATION destdir) > > which will create a dir under destdir with the name of the source > directory. Now I want to do this, but name the destination directory > differently than ...
install — CMake 3.23.0-rc4 Documentation
cmake.org › cmake › helpRENAME Specify a name for an installed file that may be different from the original file. Renaming is allowed only when a single file is installed by the command. OPTIONAL Specify that it is not an error if the file to be installed does not exist. New in version 3.1: Command signatures that install files may print messages during installation.