初次提交

This commit is contained in:
2025-02-24 09:47:45 +08:00
commit 5fe8cc34e6
5 changed files with 802 additions and 0 deletions

9
CMakeLists.txt Normal file
View File

@ -0,0 +1,9 @@
cmake_minimum_required(VERSION 3.10.0)
project(commander VERSION 0.1.0 LANGUAGES C CXX)
add_library(commander "src/commander.cc")
install(TARGETS commander DESTINATION lib)
install(FILES "src/commander.h" DESTINATION include)
add_executable(test src/main.cc)
target_link_libraries(test commander)