]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
fix default build type init
authorBastian Dehn <hhaalo@arcor.de>
Sat, 30 May 2026 09:16:33 +0000 (11:16 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 30 May 2026 09:16:33 +0000 (11:16 +0200)
CMakeLists.txt

index 38839650b7fdfb8a23753a6068ba7cec98640cf3..cf386d2c52aeea3ca1df8800a0305b16e375ba60 100644 (file)
@@ -1,9 +1,9 @@
 cmake_minimum_required(VERSION 3.16.3)
 
-project(feierabend-c)
-
 set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "build type")
 
+project(feierabend-c)
+
 if(${CMAKE_BUILD_TYPE} STREQUAL "Release")
        set(CMAKE_C_FLAGS "-s -std=c99 -Werror -Wextra -pedantic")
 else()