代码拉取完成,页面将自动刷新
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db0a6bfb..26ccf1a5 100644
--- a/CMakeLists.txt 2021-12-10 16:10:01.557816597 -0500
+++ b/CMakeLists.txt 2021-12-10 16:11:16.521464522 -0500
@@ -500,32 +500,33 @@
# Install
#
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
- install(TARGETS uncrustify DESTINATION ".")
- install(FILES ${uncrustify_docs}
- DESTINATION "."
- )
- install(FILES "${PROJECT_SOURCE_DIR}/documentation/htdocs/index.html"
- DESTINATION "doc"
- )
- install(DIRECTORY "${PROJECT_SOURCE_DIR}/etc/"
- DESTINATION "cfg"
- FILES_MATCHING PATTERN "*.cfg"
- )
+ install(TARGETS uncrustify RUNTIME DESTINATION bin)
+ # install(TARGETS uncrustify DESTINATION ".")
+ # install(FILES ${uncrustify_docs}
+ # DESTINATION "."
+ # )
+ # install(FILES "${PROJECT_SOURCE_DIR}/documentation/htdocs/index.html"
+ # DESTINATION "doc"
+ # )
+ # install(DIRECTORY "${PROJECT_SOURCE_DIR}/etc/"
+ # DESTINATION "cfg"
+ # FILES_MATCHING PATTERN "*.cfg"
+ # )
else()
include(GNUInstallDirs)
install(TARGETS uncrustify
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/uncrustify.1"
- DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
- )
- install(DIRECTORY "${PROJECT_SOURCE_DIR}/etc/"
- DESTINATION "${CMAKE_INSTALL_DOCDIR}/examples"
- FILES_MATCHING PATTERN "*.cfg"
- )
- install(FILES ${uncrustify_docs}
- DESTINATION "${CMAKE_INSTALL_DOCDIR}"
- )
+ # install(FILES "${CMAKE_CURRENT_BINARY_DIR}/uncrustify.1"
+ # DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
+ # )
+ # install(DIRECTORY "${PROJECT_SOURCE_DIR}/etc/"
+ # DESTINATION "${CMAKE_INSTALL_DOCDIR}/examples"
+ # FILES_MATCHING PATTERN "*.cfg"
+ # )
+ # install(FILES ${uncrustify_docs}
+ # DESTINATION "${CMAKE_INSTALL_DOCDIR}"
+ # )
endif()
#
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。