2011/7/12 Laszlo Papp :
>
>
> Here is what I would advise (of course by setting some option if you
> want two have it also the "original" way):
>
> install(FILES
> atticamanager.h
> authentication.h
> archive/archive.h
> models/commentitemsmodel.h
> models/gameitemsmodel.h
> models
Hi Eric,
> Honestly I do not see any benefit in this, but may be I did not
> understand what you meant?
Here is an example then:
Original version:
install(FILES
atticamanager.h
authentication.h
DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib
COMPONENT Devel
)
install(FILES
2011/7/12 Laszlo Papp :
> Hi,
>
>> Not sure whether if it's better than your current solution.
>> May be it's a little less painless to write.
>
> Would it make sense to add an option to these install sections so that
> it grabs the files as they are (with subfolders, if any), if you set
> that opt
Hi,
> Not sure whether if it's better than your current solution.
> May be it's a little less painless to write.
Would it make sense to add an option to these install sections so that
it grabs the files as they are (with subfolders, if any), if you set
that option or something like that ? That wo
2011/7/12 Laszlo Papp :
> Hi,
>
> I have just realized this snippet in my CMakeLists.txt file:
>
> install(FILES
> atticamanager.h
> authentication.h
>
> DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib
> COMPONENT Devel
> )
>
> install(FILES
> archive/archive.h
>
> DESTINATION
Hi,
On Tue, Jul 12, 2011 at 9:03 AM, Andreas Naumann
wrote:
> You could use
> file(GLOB_RECURSE files *.h)
The problem is a bit slightly different. It is not a problem for me to
find the files on my own. :) The problem is that I would like to
install "foo/bar.h" into the destination as "foo/bar.
You could use
file(GLOB_RECURSE files *.h)
or install the main directory with
install(DIRECTORY ... )
and exclude every non-header file (and possibly svn..)
Andreas
Am 12.07.2011 05:04, schrieb Laszlo Papp:
Hi,
I have just realized this snippet in my CMakeLists.txt file:
install(FILES
Hi,
I have just realized this snippet in my CMakeLists.txt file:
install(FILES
atticamanager.h
authentication.h
DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib
COMPONENT Devel
)
install(FILES
archive/archive.h
DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib/arch