Commit c82ad482 authored by 957dd's avatar 957dd

zlog加入了静态编译

parent a42f1aeb
cmake_minimum_required(VERSION 3.10) cmake_minimum_required(VERSION 3.10)
project(DeviceControlSystem project(DeviceControlSystem
VERSION 1.0.3 VERSION 1.0.5
LANGUAGES C LANGUAGES C
) )
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
#define PROJECT_VERSION_MINOR 0 #define PROJECT_VERSION_MINOR 0
#define PROJECT_VERSION_PATCH 3 #define PROJECT_VERSION_PATCH 3
#define GIT_HASH "" #define GIT_HASH ""
#define BUILD_TIMESTAMP "2025-04-15T10:14:17" #define BUILD_TIMESTAMP "2025-04-15T10:42:18"
#define BUILD_USER "orangepi" #define BUILD_USER "orangepi"
...@@ -5,7 +5,7 @@ int main(int argc, char *argv[]) { ...@@ -5,7 +5,7 @@ int main(int argc, char *argv[]) {
if(logconf_create() != 0) { if(logconf_create() != 0) {
return 6; return 6;
} }
if(logprject_Init() != 0) { if(logprject_Init() != 0) {
my_zlog_fatal( "日志初始化失败"); my_zlog_fatal( "日志初始化失败");
//printf("日志初始化失败"); //printf("日志初始化失败");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment