Skip to content

Commit

Permalink
Exclude unnecessary files from installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Jan 31, 2017
1 parent 162b7a8 commit 7649006
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,14 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/data"

# Examples source
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/examples"
DESTINATION ${DART_ADDITIONAL_DOCUMENTATION_INSTALL_PATH})
DESTINATION ${DART_ADDITIONAL_DOCUMENTATION_INSTALL_PATH}
PATTERN "examples/CMakeLists.txt" EXCLUDE
PATTERN "examples/osgExamples/CMakeLists.txt" EXCLUDE)

# Tutorials source
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/tutorials"
DESTINATION ${DART_ADDITIONAL_DOCUMENTATION_INSTALL_PATH})
DESTINATION ${DART_ADDITIONAL_DOCUMENTATION_INSTALL_PATH}
PATTERN "tutorials/CMakeLists.txt" EXCLUDE)

#===============================================================================
# Uninstall
Expand Down

0 comments on commit 7649006

Please sign in to comment.