From 457c565066ad9a0dd35e1f1066d663ea5e75bbfc Mon Sep 17 00:00:00 2001 From: et2300 Date: Sat, 15 Apr 2023 15:18:22 +0800 Subject: [PATCH] add CMdLists.txt --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..ea9f7cb --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,8 @@ +cmake_minimum_required(VERSION 3.0) +project(up-main-relay-coding VERSION 1.0) + +add_executable(my_executable ./memory.cpp) +add_library(my_library ./base64.cpp ./memory.hpp) + +target_compile_options(my_library PRIVATE -Wall -Wextra) +target_compile_definitions(my_executable PRIVATE MY_DEFINE) -- Gitee