Skip to content

Commit 3c52a0f

Browse files
committed
Added README.md and UserManual.md to "doc" installation directory.
1 parent 0794b49 commit 3c52a0f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ set(SHELLANYTHING_INSTALL_BIN_DIR "bin")
9090
set(SHELLANYTHING_INSTALL_LIB_DIR "lib/shellanything-${SHELLANYTHING_VERSION}")
9191
set(SHELLANYTHING_INSTALL_INCLUDE_DIR "include/shellanything-${SHELLANYTHING_VERSION}")
9292
set(SHELLANYTHING_INSTALL_CMAKE_DIR ${SHELLANYTHING_INSTALL_LIB_DIR}) # CMake files (*.cmake) should have the same destination as the library files. Some also prefers to use "cmake".
93+
set(SHELLANYTHING_INSTALL_DOC_DIR "doc")
9394

9495
##############################################################################################################################################
9596
# Project settings
@@ -201,6 +202,12 @@ install(FILES ${SHELLANYTHING_EXPORT_HEADER}
201202
DESTINATION ${SHELLANYTHING_INSTALL_INCLUDE_DIR}/shellanything)
202203
install(EXPORT shellanything-targets DESTINATION ${SHELLANYTHING_INSTALL_CMAKE_DIR})
203204
install(DIRECTORY ${CMAKE_SOURCE_DIR}/licenses DESTINATION "licenses")
205+
install(FILES ${CMAKE_SOURCE_DIR}/README.md
206+
${CMAKE_SOURCE_DIR}/UserManual.md
207+
${CMAKE_SOURCE_DIR}/docs/screenshot_file.png
208+
${CMAKE_SOURCE_DIR}/docs/screenshot_folder.png
209+
${CMAKE_SOURCE_DIR}/docs/ShellAnything-splashscreen.jpg
210+
DESTINATION ${SHELLANYTHING_INSTALL_DOC_DIR})
204211

205212
##############################################################################################################################################
206213
# Packaging

0 commit comments

Comments
 (0)