[CMake] postBuildInstallation howto

luxInteg lux-integ at btconnect.com
Sat Nov 13 14:06:30 EST 2010


Greetings,

I am learning cmake


--I want to know how to set   the installation directory tree.  Is this done 
in the CMakeList.txt in the base directory; if not where and how?
--I want to install   man pages, TEX files etc, I checked this 
http://www.cmake.org/Wiki/CMake:Install_Commands   but did not see any 
references to files of the latter types -So how are these installed  from a 
~/doc directory in the build tree?
--If say one has a directory named INCLUDE in the build tree and one sets  the 
files therein as ${headers}  does one  do 
INSTALL_FILES(/include ${headers}) to install into ${Install_prefix}/include 
and is it done from a CMakeLists.txt within ~/INCLUDE to 
effect installation OR do you do otherwise and if so how so?



sincerely
luxInteg



More information about the CMake mailing list