Permalink
Browse files

disable loading of startup files when building docs in make install

  • Loading branch information...
1 parent bb5823b commit 86362b3b1a3d70bac0bb9e255fc024865456731a @lijon lijon committed Mar 22, 2011
Showing with 7 additions and 0 deletions.
  1. +3 −0 CMakeLists.txt
  2. +4 −0 platform/disable_startup_files/extPlatform.sc
View
@@ -283,6 +283,9 @@ if(SC_QT)
list(APPEND BUILD_CLASSLIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/SCClassLibrary/QtCollider")
endif()
+# this folder has an extension to Platform that disables the loadStartupFiles method
+list(APPEND BUILD_CLASSLIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/platform/disable_startup_files")
+
foreach(arg ${BUILD_CLASSLIBRARIES})
set(BUILD_CLASSLIBRARYPATH "${BUILD_CLASSLIBRARYPATH}+${arg}\n")
endforeach()
@@ -0,0 +1,4 @@
++ Platform {
+ loadStartupFiles {^this}
+}
+

0 comments on commit 86362b3

Please sign in to comment.