1 Star 0 Fork 13

水户洋平/lw_oopc

forked from yan/lw_oopc 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
CMakeLists.txt 635 Bytes
Copy Edit Raw Blame History
uqbn authored 2021-12-06 17:16 . build: support CMake
cmake_minimum_required(VERSION 3.0)
project(lw_oopc VERSION 1.2)
add_library(${PROJECT_NAME} lw_oopc.c lw_oopc.h)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include>
)
install(FILES lw_oopc.h DESTINATION include)
install(EXPORT ${PROJECT_NAME}Targets
FILE ${PROJECT_NAME}Config.cmake
DESTINATION lib/cmake/${PROJECT_NAME}
)
install(TARGETS ${PROJECT_NAME}
EXPORT ${PROJECT_NAME}Targets
PUBLIC_HEADER DESTINATION include
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/wangtaixiao/lw_oopc.git
git@gitee.com:wangtaixiao/lw_oopc.git
wangtaixiao
lw_oopc
lw_oopc
master

Search