Skip to content

Commit

Permalink
#157: improving deployment of examples with make install
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfsilva committed Apr 23, 2020
1 parent 68a59fe commit 7061151
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions conf/cmake/Examples.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ foreach (cmakefile ${EXAMPLES_CMAKEFILES_TXT})
string(REPLACE "/CMakeLists.txt" "" repository ${cmakefile})
add_subdirectory("${CMAKE_HOME_DIRECTORY}/${repository}")
endforeach ()

# install example files
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/examples
DESTINATION wrench
FILES_MATCHING PATTERN "*.json" PATTERN "*.xml" PATTERN "*.dax"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
File renamed without changes.
File renamed without changes.

0 comments on commit 7061151

Please sign in to comment.