[Cmake] Installing .h files

Mónica Hernández Giménez mhg at posta.unizar.es
Mon, 19 Jan 2004 17:42:50 +0100


Hi:

I have a project called PROJECT that consists of an include folder with all 
my *.h files and a src folder with all my *.cxx files.
For example, in include I have proof.h file
                 in src I have proof.cxx file.

I would like to install my project library and my *.h files. For this I 
have my CMakeList.txt file into my src folder:

SET(SRC proof.cxx)
ADD_LIBRARY(project SRC)
INSTALL_TARGETS(/lib project)

INSTALL_FILES(/include ???????)

How should I write the INSTALL_FILES line?

Thanks in advance,
                         Monica.


------------------------------------------------------------------------------------------------------------------
Mónica Hernández Giménez
Departamento de Ingeniería Electrónica y Comunicaciones
Ada Byron building, Lab. 3.05
C/ Maria de Luna, 1
Centro Politécnico Superior. Universidad de Zaragoza
Phone. (+34) 976 76 27 05
Fax:    (+34) 976 76 21 11
e-mail: mhg at unizar.es
------------------------------------------------------------------------------------------------------------------