How to point a precompiled header to CMake (2.8.12.1) AUTOMOC output?
So far in CMakeLists.txt, I have tried these two separately:
set(AUTOMOC_MOC_OPTIONS "-bstdafx.h") set(AUTOMOC_MOC_OPTIONS "-fstdafx.h")
The generated AUTOMOC output when creating the project (project_automoc.cpp) contains only the moc_xxx.cpp files:
/* This file is autogenerated, do not edit*/ /// <- stdafx.h should be here ?!?!
source share