代码拉取完成,页面将自动刷新
同步操作将从 kaikuo/ncdocgen 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
cmake_minimum_required(VERSION 2.8)
project (cdocgen)
set(DEFAULT_DIST ${PROJECT_SOURCE_DIR}/dist)
file(GLOB files ${DEFAULT_DIST}/*.*)
#message(STATUS "==FILE LIST: " ${DEFAULT_DIST} ${files})
add_executable(vercdoc txt/ver.c)
set(CPACK_NSIS_MODIFY_PATH ON)
install(TARGETS vercdoc RUNTIME DESTINATION bin)
install(FILES ${files} DESTINATION bin)
install(DIRECTORY ${PROJECT_SOURCE_DIR}/user DESTINATION .)
install(DIRECTORY ${PROJECT_SOURCE_DIR}/txt DESTINATION .)
install(FILES README.txt LICENSE.txt DESTINATION .)
set(CPACK_PACKAGE_NAME cdocgen)
set(CPACK_PACKAGE_VENDOR "Smartcoder")
set(CPACK_PACKAGE_VERSION_MAJOR 0)
set(CPACK_PACKAGE_VERSION_MINOR 3)
set(CPACK_PACKAGE_VERSION_PATCH 6)
file(READ ${CMAKE_SOURCE_DIR}/mainver.txt rline)
string(STRIP ${rline} line)
message(STATUS "VER: " ${line} "VEREND")
#set(CPACK_PACKAGE_VERSION 0.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
set(CPACK_PACKAGE_VERSION ${line})
set(CPACK_PACKAGE_DESCRIPTION_FILE ${CMAKE_SOURCE_DIR}/WELCOME.txt)
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A smart tool for self-documatation.")
SET(CPACK_RESOURCE_FILE_WELCOME ${CMAKE_SOURCE_DIR}/WELCOME.txt)
SET(CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/README.txt)
SET(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE.txt)
set(CPACK_PACKAGE_INSTALL_DIRECTORY "cdocgen")
include(CPack)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。