Re: Installing generated files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 31 of May 2020 12:25:49 deloptes wrote:
> Hi devs,
> as we have improved the dbusxml2qt3 significantly, I am trying it out in
> real life implementation, but I have one question I can not find an
> answer.
>
> I hope you can help here. The question is how generated header files can
> be installed. I looked at tdelibs/tdehw, but the generated header files
> are not being installed.
>
> I am thinking that if a dev library is provided then all the relevant
> header files for this library should also be available. Now the problem
> is that it generates the files in some build directory, which I can not
> access with INSTALL or FILE or whatever I found recently on the net and
> tested.
>
> Thank in advance
>

Hi Emanoil,

installing the generated header files is no problem at all. You can use the 
standard CMake command install( FILES ... ), where FILES will contain 
${CMAKE_CURRENT_BINARY_DIR}/header-to-install.h - for example:

https://mirror.git.trinitydesktop.org/gitea/TDE/tdesdk/src/branch/master/cervisia/cvsservice/CMakeLists.txt#L23

Cheers
-- 
Slávek

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-devel-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting





[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux