bonus-edge-proxy/edge-proxy/CMakeLists.txt

17 lines
628 B
CMake
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

cmake_minimum_required(VERSION 3.4.1)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# 定义整个大项目的名称
project(EdgeProxyPlatform)
# 打印一条消息方便调试确认是顶层CMake在运行
message(STATUS "Running Top-Level CMake for ${PROJECT_NAME}")
# 使用 add_subdirectory() 命令将 services 目录下的项目包含进来
# CMake 会自动寻找 services/intrusion-detection/CMakeLists.txt 并执行它
add_subdirectory(services/intrusion-detection)
# 当你未来添加了车辆识别项目后,只需在这里加一行即可
# add_subdirectory(services/vehicle-recognition)