Permalink
Browse files

add pr-downloader as submodule

  • Loading branch information...
1 parent 3ed22de commit 72e63a9ab16683b9c26b3fd4f6d03f185ef8116d @abma abma committed Mar 22, 2012
Showing with 9 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +5 −0 tools/CMakeLists.txt
  3. +1 −0 tools/pr-downloader
View
@@ -16,3 +16,6 @@
[submodule "tools/unitsync/python"]
path = tools/unitsync/python
url = git://github.com/spring/pyunitsync.git
+[submodule "tools/pr-downloader"]
+ path = tools/pr-downloader
+ url = git://github.com/abma/pr-downloader.git
@@ -2,6 +2,11 @@
Add_Subdirectory(unitsync)
Add_Subdirectory(DemoTool)
+If (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/pr-downloader/CMakeLists.txt")
+ # only add this if the submodule is present
+ Add_Subdirectory(pr-downloader)
+EndIf (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/pr-downloader/CMakeLists.txt")
+
# This is not part of the official source package
if (IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dirchange)
Add_Subdirectory(dirchange)
Submodule pr-downloader added at eb8a30

0 comments on commit 72e63a9

Please sign in to comment.