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
Post a Comment