[CMake] Location of ui and moc generated files (qt)

Alexander Neundorf a.neundorf-work at gmx.net
Tue Aug 14 12:11:34 EDT 2007


On Tuesday 14 August 2007 11:52, you wrote:
> Hi,
>
> but I need to include the generated header file in my derived class file.
> How do I do this if the generated file is not in one of my source
> directories?

You can add CMAKE_CURRENT_BINARY_DIRECTORY as include directory or set the 
cmake variable CMAKE_INCLUDE_CURRENT_DIR to true so cmake does that 
automatically.

Alex


More information about the CMake mailing list