From 7dfbb55ae55931c57aecf867ed36a188f56d29d0 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Tue, 1 Oct 2024 11:11:04 +0800 Subject: [PATCH] update --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 633a4b6..974059e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,14 @@ cmake_minimum_required(VERSION 3.10) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +add_compile_options(-Wall) + +if("${CMAKE_BUILD_TYPE}" STREQUAL "Release") + Message("Is in [Release] mode") +else() + Message("Is in [NotRelease] mode") +endif() + project(alogrithm_2024)