初次提交
This commit is contained in:
9
CMakeLists.txt
Normal file
9
CMakeLists.txt
Normal 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)
|
Reference in New Issue
Block a user