forked from qt-creator/qt-creator
Update CMake template for console projects to newer standards
Add version information as well as limit the supported languages to C++. Change-Id: I7a931139c6eb1a4457a89925fc7497c754184833 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
cmake_minimum_required(VERSION 3.0.0)
|
||||
|
||||
project(%{ProjectName})
|
||||
project(%{ProjectName} VERSION 0.1 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
Reference in New Issue
Block a user