[CMake] Output directory of QT_WRAP_UI

Jens Auer jensa at miltenyibiotec.de
Mon Jan 25 09:03:05 EST 2010


Hi,

Is there a way to specify the output directory of QT_WRAP_UI where the
generated header files will be put? I am porting a VC++-based project
and files are included with the relative paths, so if the ui file is
placed in
Lib1/dir1/file1.ui
I want the output generated in
CMAKE_BINARY_DIR/lib1/dir1/file1Base.h

It seems that there is no such option, so I wrote my own macro using
add_custom_command, but it would be nice to just rely on the build-in
command.


More information about the CMake mailing list