Skip to content

Commit

Permalink
Allow adding plugins temporarily without modifying plugins/CMakeLists…
Browse files Browse the repository at this point in the history
….txt

Useful to avoid issues when switching between branches that modify
plugins/CMakeLists.txt
  • Loading branch information
lethosor committed Nov 17, 2015
1 parent 9c4fc64 commit 67aed56
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ tags
.DS_Store

# autogenerated include-all.rst files
**include-all.rst
**include-all.rst
3 changes: 3 additions & 0 deletions plugins/CMakeLists.custom.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# You can add custom plugins here to avoid touching plugins/CMakeLists.txt,
# This can be useful if you've made modifications to that file and try to
# switch between branches that have also made modifications to it.
2 changes: 2 additions & 0 deletions plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,5 @@ OPTION(BUILD_SKELETON "Build the skeleton plugin." OFF)
if(BUILD_SKELETON)
add_subdirectory(skeleton)
endif()

INCLUDE(CMakeLists.custom.txt)

0 comments on commit 67aed56

Please sign in to comment.