1 Star 0 Fork 61

boluoc/GT-HMI-Engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 802 Bytes
一键复制 编辑 原始数据 按行查看 历史
FeyoungL 提交于 2023-05-22 19:54 . build(CMake): build lib
cmake_minimum_required(VERSION 3.0.0)
project(gt_gui)
file(GLOB_RECURSE SRC_LIST "driver" "gt_gui_driver.c")
add_library(gt_gui_driver ${SRC_LIST})
file(GLOB_RECURSE SRC_LIST "src" "*.c") #递归搜索
add_library(gt_gui ${SRC_LIST})
# cmake_minimum_required(VERSION 3.10)
# project(gt_gui VERSION 1.0)
# # set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-undefined,dynamic_lookup")
# # set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-undefined")
# message(STATUS "project name: ${PROJECT_NAME}")
# set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
# set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
# set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
# # add sub directories
# add_subdirectory(src)
# add_subdirectory(driver)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/boluoc/GT-HMI-Engine.git
git@gitee.com:boluoc/GT-HMI-Engine.git
boluoc
GT-HMI-Engine
GT-HMI-Engine
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385