From 5fa2ff4b0c89406bc1b7f19aa2c5a4aaca5c5aa3 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 30 May 2026 10:39:49 +0200 Subject: [PATCH] add default build type debug --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.47.3