1 Star 0 Fork 4

amugou/vj-shell

forked from vjiot/vj-shell 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
CMakeLists.txt 803 Bytes
Copy Edit Raw Blame History
xwiron authored 2022-01-24 11:42 . update vj-shell 文件目录
# CMakeList.txt: vj-shell 的 CMake 项目,在此处包括源代码并定义
# 项目特定的逻辑。
#
cmake_minimum_required (VERSION 3.8)
# Set up the project
project(vj-shell
LANGUAGES C ASM
)
# 将源代码添加到此项目的可执行文件。
add_executable (vj-shell "main.c")
# 添加 include 目录 ./ ./inc ./lib
target_include_directories(${PROJECT_NAME}
PUBLIC
${CMAKE_CURRENT_LIST_DIR}
${CMAKE_CURRENT_LIST_DIR}/inc
)
# 添加 src 目录下所有的源文件
target_sources(${PROJECT_NAME}
PRIVATE
# {{BEGIN_TARGET_SOURCES}}
${CMAKE_CURRENT_LIST_DIR}/src/shell.c
${CMAKE_CURRENT_LIST_DIR}/src/shell_commands.c
${CMAKE_CURRENT_LIST_DIR}/src/shell_history.c
# {{END_TARGET_SOURCES}}
)
# TODO: 如有需要,请添加测试并安装目标。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/songhui2004/vj-shell.git
git@gitee.com:songhui2004/vj-shell.git
songhui2004
vj-shell
vj-shell
master

Search

0d507c66 1850385 C8b1a773 1850385