+set(HEADERS ${MOC_HDRS}
+ bufferinfo.h
+ global.h
+ logger.h
+ message.h
+ types.h
+ util.h
+ cliparser.h)
+
+qt4_wrap_cpp(MOC ${MOC_HDRS})
+
+include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}) # for version.inc and version.gen
+add_definitions(-DHAVE_VERSION_GEN) # we ensure that by deps in the main CMakeLists.txt
+set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES version.gen)