trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2020

Re: [trinity-devel] Re: [SOLVED] Re: Installing generated files

From: Slávek Banko <slavek.banko@...>
Date: Mon, 1 Jun 2020 10:05:23 +0200
On Monday 01 of June 2020 09:40:06 deloptes wrote:
> Sl�vek Banko wrote:
> > file( GLOB _generated_headers ${CMAKE_CURRENT_BINARY_DIR}/*.h )
> > install(
> > FILES ${_generated_headers}
> > DESTINATION ${INCLUDE_INSTALL_DIR}/<app>/
> > )
>
> It looks indeed much better, but it did not work :(. It did not install
> anything. I have to check what is file(GLOB ....)
>
>

oh, sure, I didn't realize - the file( GLOB ... ) is processed during the 
configuration, when the header files are not yet present - that's why it 
can't work this way. I'll think again...

Cheers
-- 
Sl�vek

Attachments: