Default build type
This commit is contained in:
parent
02b35a9d4b
commit
6eccf83c85
@ -1,5 +1,11 @@
|
||||
# This builds a 32-bit version of library, building 64 bit is not supported yet.
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type")
|
||||
endif()
|
||||
set(CMAKE_BUILD_TYPE_VALUES "Debug;Release" CACHE INTERNAL "List of supported build")
|
||||
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_BUILD_TYPE_VALUES})
|
||||
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
project(xoverlay LANGUAGES C VERSION 0.0.1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user