File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,17 @@ cmake_minimum_required(VERSION 3.27)
22
33project (PythonQt LANGUAGES CXX VERSION 3.5.6)
44
5+ #-----------------------------------------------------------------------------
6+ # Set a default build type if none was specified
7+ if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES )
8+ message (STATUS "Setting build type to 'Release' as none was specified." )
9+ set (CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
10+ mark_as_advanced (CMAKE_BUILD_TYPE )
11+ # Set the possible values of build type for cmake-gui
12+ set_property (CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "RelWithDebInfo" )
13+ endif ()
14+ #-----------------------------------------------------------------------------
15+
516enable_testing ()
617
718set (CMAKE_CXX_STANDARD 11)
You can’t perform that action at this time.
0 commit comments