From 687fd9f4974df6279b6c57480eed47fd00b2c8a9 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:12:15 +0800 Subject: [PATCH] feat use C11 --- AWSMServer/CMakeLists.txt | 2 +- CMakeLists.txt | 1 + lib-gnueabihf/libprotobuf-c.so | 1 + lib-gnueabihf/libzmq.so | 1 + lib-hisiv500/libprotobuf-c.so | 1 + lib-hisiv500/libzmq.so | 1 + lib-x86_64/libprotobuf-c.so | 1 + lib-x86_64/libzmq.so | 1 + 8 files changed, 8 insertions(+), 1 deletion(-) create mode 120000 lib-gnueabihf/libprotobuf-c.so create mode 120000 lib-gnueabihf/libzmq.so create mode 120000 lib-hisiv500/libprotobuf-c.so create mode 120000 lib-hisiv500/libzmq.so create mode 120000 lib-x86_64/libprotobuf-c.so create mode 120000 lib-x86_64/libzmq.so diff --git a/AWSMServer/CMakeLists.txt b/AWSMServer/CMakeLists.txt index 568dcd4..48e8d92 100644 --- a/AWSMServer/CMakeLists.txt +++ b/AWSMServer/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10) -project(AWSMServer) +project(AWSMServer LANGUAGES C) aux_source_directory(${PROJECT_SOURCE_DIR}/src src_list) aux_source_directory(${PROJECT_SOURCE_DIR}/src/sm2sm3_enc src_list) diff --git a/CMakeLists.txt b/CMakeLists.txt index d569e80..397746c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 3.10) +set(CMAKE_C_STANDARD 11) project(AWSMRPC) option(SUBPROJECT "Using SubProject" ON) diff --git a/lib-gnueabihf/libprotobuf-c.so b/lib-gnueabihf/libprotobuf-c.so new file mode 120000 index 0000000..e7bb1e6 --- /dev/null +++ b/lib-gnueabihf/libprotobuf-c.so @@ -0,0 +1 @@ +libprotobuf-c.so.1.0.0 \ No newline at end of file diff --git a/lib-gnueabihf/libzmq.so b/lib-gnueabihf/libzmq.so new file mode 120000 index 0000000..74d8e0f --- /dev/null +++ b/lib-gnueabihf/libzmq.so @@ -0,0 +1 @@ +libzmq.so.5.2.6 \ No newline at end of file diff --git a/lib-hisiv500/libprotobuf-c.so b/lib-hisiv500/libprotobuf-c.so new file mode 120000 index 0000000..e7bb1e6 --- /dev/null +++ b/lib-hisiv500/libprotobuf-c.so @@ -0,0 +1 @@ +libprotobuf-c.so.1.0.0 \ No newline at end of file diff --git a/lib-hisiv500/libzmq.so b/lib-hisiv500/libzmq.so new file mode 120000 index 0000000..74d8e0f --- /dev/null +++ b/lib-hisiv500/libzmq.so @@ -0,0 +1 @@ +libzmq.so.5.2.6 \ No newline at end of file diff --git a/lib-x86_64/libprotobuf-c.so b/lib-x86_64/libprotobuf-c.so new file mode 120000 index 0000000..e7bb1e6 --- /dev/null +++ b/lib-x86_64/libprotobuf-c.so @@ -0,0 +1 @@ +libprotobuf-c.so.1.0.0 \ No newline at end of file diff --git a/lib-x86_64/libzmq.so b/lib-x86_64/libzmq.so new file mode 120000 index 0000000..74d8e0f --- /dev/null +++ b/lib-x86_64/libzmq.so @@ -0,0 +1 @@ +libzmq.so.5.2.6 \ No newline at end of file