[CMake] subdirectories INSTALL(FILES "subdir/foo.h" ...)
Jan Woetzel
jw at mip.informatik.uni-kiel.de
Fri Jun 30 06:16:53 EDT 2006
Hi,
I expected
INSTALL(FILES "subdir/foo.h" DESTINATION include )
to install "foo.h" into
include/subdir but it installs into:
include
Thus the subdirectory structure is lost.
(1) This is a bug or am I missing something ?
It works if I put the approppritae DESTINATION into each subdirectories
CMakeLists.txt it works.
But I want to use a globbing expression to install all headers keeping
their subdirectory structure to avoid forgetting to ad dthem.
I'm using Cmake 2.4.2 on Windows (with MSVS 7.1 generator).
A small example is attached.
Jan.
--
Dipl.-Ing. Jan Woetzel
--------------------------------------------------
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--------------------------------------------------
Phone +49-431-880-4477
Fax +49-431-880-4054
Mob. +49-179-2937346
--------------------------------------------------
Url www.mip.informatik.uni-kiel.de/~jw
Email jw at mip.informatik.uni-kiel.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: helloInstallTest.zip
Type: application/zip
Size: 1206 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20060630/918c634c/helloInstallTest-0001.zip
More information about the CMake
mailing list