代码拉取完成,页面将自动刷新
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db0a6bfb..26ccf1a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -440,33 +440,33 @@ include(CPack)
# Install
#
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
- install(TARGETS uncrustify DESTINATION ".")
- install(
- FILES
- "${PROJECT_SOURCE_DIR}/README.md"
- "${PROJECT_SOURCE_DIR}/BUGS"
- "${PROJECT_SOURCE_DIR}/ChangeLog"
- 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(
+ # FILES
+ # "${PROJECT_SOURCE_DIR}/README.md"
+ # "${PROJECT_SOURCE_DIR}/BUGS"
+ # "${PROJECT_SOURCE_DIR}/ChangeLog"
+ # 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_DATAROOTDIR}/uncrustify"
- FILES_MATCHING PATTERN "*.cfg"
- )
+ # install(FILES "${CMAKE_CURRENT_BINARY_DIR}/uncrustify.1"
+ # DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
+ # )
+ # install(DIRECTORY "${PROJECT_SOURCE_DIR}/etc/"
+ # DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/uncrustify"
+ # FILES_MATCHING PATTERN "*.cfg"
+ # )
endif()
#
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。