[Cmake] Installing .h files

Filipe Sousa filipe.gr.sousa at alunos.ipb.pt
Mon, 19 Jan 2004 23:52:55 +0000


--Boundary-02=_n3GDAIUUPd4slIb
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: signed data
Content-Disposition: inline

On Monday 19 January 2004 16:42, M=F3nica Hern=E1ndez Gim=E9nez wrote:
> Hi:
>
> I have a project called PROJECT that consists of an include folder with a=
ll
> 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?

INSTALL_FILES(/include .*\\.h$)

>
> Thanks in advance,
>                          Monica.
>
>
> -------------------------------------------------------------------------=
=2D-
>--------------------------------------- M=F3nica Hern=E1ndez Gim=E9nez
> Departamento de Ingenier=EDa Electr=F3nica y Comunicaciones
> Ada Byron building, Lab. 3.05
> C/ Maria de Luna, 1
> Centro Polit=E9cnico Superior. Universidad de Zaragoza
> Phone. (+34) 976 76 27 05
> Fax:    (+34) 976 76 21 11
> e-mail: mhg at unizar.es
> -------------------------------------------------------------------------=
=2D-
>---------------------------------------
>
>
>
>
>
>
>
>
> _______________________________________________
> Cmake mailing list
> Cmake at www.cmake.org
> http://www.cmake.org/mailman/listinfo/cmake

=2D-=20
=46ilipe Sousa

--Boundary-02=_n3GDAIUUPd4slIb
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBADG3nbQdNYqwwwCwRAiQ8AKChpjOu7FdkO37pvHW6hgPQ01cK4QCfexfb
dBu3xHGs+QFG2VrzAkVQYzo=
=gIb+
-----END PGP SIGNATURE-----

--Boundary-02=_n3GDAIUUPd4slIb--