qt - How to put files generated by CMAKE_AUTOMOC in specific folder -


i doing out of source build cmake. current folder structure:

|_projectroot   |_build   |_src   |_inc 

since using qt, cmakelists.txt file contains these line in order generate required ui_*.h , moc_*.h:

set(cmake_automoc on) set(cmake_autorcc on) set(cmake_include_current_dir on) 

all ui_*.h , moc_*.h files put in projectroot\build default.

is there chance can specify moc_*.h generated put under projectroot\moc , ui_*.h put under projectroot\ui.

cmake has no option that.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -