Am Dienstag, 5. Oktober 2010 schrieb Stephan Witt: > Dear CMake gurus, > > I'm having serious problems with my cmake generated Xcode-project for LyX. > > 1. If I change some .ui file I have to compile the project twice to get > the changes to work. The first build run seems to compile the .ui file > too late. The 2nd run finally compiles the generated sources. > > 2. Today I regenerated the project from scratch. Before doing anything > else I made a change in file src/frontends/qt4/GuiView.cpp. The first > build failed with the error message "moc_GuiView.cpp" not found. Again > a problem with a dependency of the output of the Qt4 helper tool. > > That makes me nervous. Unfortunately I have no time to learn cmake > programming. Please, can someone verify my observations on another platform > and - if possible - fix it? Thanks. > > > Stephan >
Ok, its seems to depend on the method selecting them moc_-files. We look at _existing_ files while calling cmake. But they exist only after the _make_ call. This way we are independent of specifying explicitly everything. The disadvantage is now obvious. Kornel
signature.asc
Description: This is a digitally signed message part.