EdgeGateway_FSU/DevicePortGet/TimeAligned_Src/CMakeLists.txt

31 lines
1.1 KiB
CMake
Raw Normal View History

2024-03-15 17:25:04 +08:00
#*******************************************************************************
# Copyright © ALIENTEK Co., Ltd. 1998-2021. All rights reserved.
#
# 顶层CMakeLists.txt
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v2.0
# and Eclipse Distribution License v1.0 which accompany this distribution.
#*******************************************************************************/
#cmake_minimum_required(VERSION 2.8.12) #kooloo modify 202312
cmake_minimum_required(VERSION 3.5.1 FATAL_ERROR)
project(TimeAligned C)
message(STATUS "CMake version: " ${CMAKE_VERSION})
message(STATUS "CMake system name: " ${CMAKE_SYSTEM_NAME})
message(STATUS "CMake system processor: " ${CMAKE_SYSTEM_PROCESSOR})
# 设置可执行文件输出路径
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
# 定义源文件变量
SET(SRC_LIST
TimeAligned.c
../src/DebugPrint.c
../src/mslog/mslog.c
)
# 定义可执行文件目标
add_executable(TimeAlignedApp ${SRC_LIST})
# 指定客户端库头文件路径、库路径以及链接库