[CMake] INSTALL bug

Christian Verbeek verbeek at in.tum.de
Tue Jul 11 10:24:28 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
My directory structure is something like this

root/
      |-proj1/
      |         |-share
      |
      |-proj2/
                |-share

My top level CMakeLists.txt is in proj1 using proj2 with SUBDIRS(
proj2 ) to compile some libraries placed in proj2/share. Unfortunately
I have also some libraries in proj1/share. The build works fine, but
the INSTALL target has a bug.

My top level cmake_install.cmake looks like

# Include the install script for each subdirectory.
INCLUDE("i:/build/share/cmake_install.cmake")
INCLUDE("i:/build/reconnect/cmake_install.cmake")
INCLUDE("i:/build/share/cmake_install.cmake")

It does not distinguish between proj1/share and proj2/share. Thus when
building the install target the libraries from proj1/share are
installed twice and the libraries from proj2/share are missing.

- --
___________________________________________
Dr. Christian Verbeek

Postanschrift:
Technische Universitaet Muenchen
Fakultaet für Informatik, I6
Boltzmannstrasse 3
D-85748 Garching bei Muenchen
Germany

Tel:    +49 89 289 18111
Mobile: +49 160 7056589
Fax:    +49 89 289 18107
e-mail: verbeek at in.tum.de
Web:    http://atknoll1.informatik.tu-muenchen.de:8080/tum6/people/verbeek
____________________________________________

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: GnuPT 2.8.3
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iQCVAwUBRLO0mercjV4zMTG8AQKz1AQAj48Wu4BlUtiqvQHPfPJ+v4Eqw+RoqVFq
JdAL3/gQ5DNYQ2eEq+KUWwPoUUyZjIt93eRsGxpJtAPotO7v18KnOzSe5OzGLy2D
zRCK/n+1LpzMxb4mAWRFKsYVJFwd6HgDSyVv0JZPe7j8p14ZO64OCijfZPqtgTWK
YwisYfcTqQQ=
=/6lX
-----END PGP SIGNATURE-----



More information about the CMake mailing list