From 7e0afb99901671496edd10e1b21d30a791f86be2 Mon Sep 17 00:00:00 2001 From: jackfiled Date: Fri, 3 Jun 2022 21:27:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E4=BA=86=E6=89=80=E6=9C=89?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E8=AF=91=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cadff1c..a293953 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ add_subdirectory(all_test) project(auto_pilot_bus) # 设置项目的名称 set(CMAKE_C_STANDARD 11) # 设置项目的C语言标准版本 +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/build) # 设置项目的产生的库的路径,这里直接设为二进制文件处