1 2 3 4 5 6 7
cmake_minimum_required(VERSION 2.8) project(QtAutomocNoQt) set(CMAKE_AUTOMOC ON) add_executable(hello main.c)