Hi all, I noticed a feature request for precompiled headers (bug# 1260). One mentioned there, that you can simply use SET_SOURCE_FILES_PROPERTIES for the time being. But, unfortunatelly, I can't seem to get it working. I put my header to the list of sources:
SET(VC_SRC includes.hh ... ) Then I added the SET_SOURCE_FILES_PROPERTIES like: SET_SOURCE_FILES_PROPERTIES(includes.hh COMPILE_FLAGS -c) When I rerun cmake, I get the following error: CMake Error: Source file "/home/lemmy/research/VisualCortex/src/includes.hh" has unknown type. (The error code is 255). Ok, so it seems CMake does not support my prefered header extension. I changed it to .hpp and cmake did not complain. But it also did compile my header file. I am using GNU C++ compiler. Can someone help me with the problem? Best, -- Gregor Berginc, Ph.D. Student University of Ljubljana, Faculty of CIS Trzaska 25, SI-1001 Ljubljana, Slovenia tel: +386 1 4776630, fax: +386 1 4264647 www: http://vicos.fri.uni-lj.si/gregor _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake