Permalink
Browse files

Renamed SubProj.cmake to ExtrasSubProj.cmake and edited Python script…

… accordingly
  • Loading branch information...
1 parent 38bb5cf commit 62fa90da987578eaeaf4b00c216bfe984432e6dd @ncorgan ncorgan committed with Mar 13, 2013
Showing with 2 additions and 2 deletions.
  1. 0 SubProj.cmake → ExtrasSubProj.cmake
  2. +2 −2 gr_extras_attach.py
File renamed without changes.
View
@@ -10,9 +10,9 @@
top_gr_cmakelists = os.path.join(sys.argv[1], 'CMakeLists.txt')
gr_extras_src_dir = os.path.dirname(os.path.abspath(__file__)).replace("\\","\\\\")
content = open(top_gr_cmakelists).read()
- if 'SubProj.cmake' not in content:
+ if 'ExtrasSubProj.cmake' not in content:
content = content.replace('add_subdirectory(grc)',
"""add_subdirectory(grc)
file(TO_CMAKE_PATH %s GR_EXTRAS_SRC_DIR)
-include(${GR_EXTRAS_SRC_DIR}/SubProj.cmake)"""%gr_extras_src_dir)
+include(${GR_EXTRAS_SRC_DIR}/ExtrasSubProj.cmake)"""%gr_extras_src_dir)
open(top_gr_cmakelists, 'w').write(content)

0 comments on commit 62fa90d

Please sign in to comment.