Andre Poenitz wrote: > On Mon, Mar 26, 2007 at 12:09:35AM +0200, Peter Kümmel wrote: >> I've added the flags >> debug, release, profile, stdlib-debug, and concept-checks >> >> to be used by -DXXX=1. > > I tried to use -Dprofile=1, and whiule this generates a usable > binary, this seems not to be profile-enabled. > > Is there a way to see the actual commands performed instead of > this 'Building CXX object src/CMakeFiles/lyx-qt4.dir/version.o' > line?
I first have to look for it maybe -DVERBOSE=1 But there are CMakeFiles folders with files for the flags, depenencies and so one. The main "build" makefiles includes these files. > > On a related issue: can I switch of the colors in the output? I don't know. > > Andre' > > PS: It is _fast_! Great, now I will try to fix the rebuild by a different "mark this file as non-const" trick. It seems the cmake dependency check (see the file in the CMakelist folder) is not macro sensible, so I hope that it works when the include line is commented out: #define ASSUME_CONST_file1 #ifndef DONT_INCLUDE_CONST_FILES #include "file1.C" #endif // non const file: //#define ASSUME_CONST_file2 #ifndef DONT_INCLUDE_CONST_FILES //#include "file2.C" #endif -- Peter Kümmel