From f7a18ec4494b9c5c9ef3fd440bbf68ffc6425e18 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期四, 08 十二月 2022 15:40:56 +0800
Subject: [PATCH] 智慧驾培首次提交

---
 lib/src/main/cpp/CMakeLists.txt |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/lib/src/main/cpp/CMakeLists.txt b/lib/src/main/cpp/CMakeLists.txt
index 125e4eb..af96185 100644
--- a/lib/src/main/cpp/CMakeLists.txt
+++ b/lib/src/main/cpp/CMakeLists.txt
@@ -5,6 +5,9 @@
 
 cmake_minimum_required(VERSION 3.4.1)
 
+set(CMAKE_BUILD_TYPE "Release")
+add_definitions("-O3")
+
 # Creates and names a library, sets it as either STATIC
 # or SHARED, and provides the relative paths to its source code.
 # You can define multiple libraries, and CMake builds them for you.
@@ -21,12 +24,19 @@
         common/serial_port.cpp
         common/net.cpp
         common/apptimer.cpp
+        common/crc32.cpp
+        common/md5.cpp
+        common/string_util.cpp
+        common/xtea.cpp
         rtk_platform/parse_net.cpp
         rtk_platform/platform.cpp
         rtk_module/parse_gps.cpp
         test_common/Geometry.cpp
         driver_test.cpp
         mcu/mcu_if.cpp
+        mcu/ahp.cpp
+        mcu/ada.cpp
+        mcu/dfu.cpp
 
         test_common/car_sensor.cpp
         test_common/odo_graph.cpp

--
Gitblit v1.8.0