From: Bastian Dehn Date: Sat, 30 May 2026 08:39:49 +0000 (+0200) Subject: add default build type debug X-Git-Tag: 1.1.13^2~8 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=5fa2ff4b0c89406bc1b7f19aa2c5a4aaca5c5aa3;p=mv-none-space.git add default build type debug --- diff --git a/CMakeLists.txt b/CMakeLists.txt index fca01d6..bb09a1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.25.1) project(mv-none-space VERSION 1.1.12) +set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "build type") + if("${CMAKE_BUILD_TYPE}" STREQUAL "Release") set(CMAKE_C_FLAGS "-s -std=c99 -Werror -Wextra -pedantic") else()