You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add CMake option WITH_STAGED_PLUGINS (ON by default)
- Core plugins remain available once staged (no need to re-build targets, unless source updated or build directory cleared)
- Once plugins are staged, setting WITH_STAGED_PLUGINS to OFF allows for much quicker subsequent builds
- PyQGIS utilities, console and installer are always staged, regardless of WITH_STAGED_PLUGINS
Copy file name to clipboardExpand all lines: CMakeLists.txt
+1
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ IF (WITH_BINDINGS)
76
76
# as otherwise user has to use PYTHONPATH environemnt variable to add
77
77
# QGIS bindings to package search path
78
78
SET (BINDINGS_GLOBAL_INSTALL FALSECACHEBOOL"Install bindings to global python directory? (might need root)")
79
+
SET (WITH_STAGED_PLUGINS TRUECACHEBOOL"Stage-install core Python plugins to run from build directory? (utilities, console and installer are always staged)")
79
80
SET (WITH_PY_COMPILE FALSECACHEBOOL"Determines whether Python modules in staged or installed locations are byte-compiled")
80
81
# concatenate QScintilla2 API files
81
82
SET (WITH_QSCIAPI TRUECACHEBOOL"Determines whether the QScintilla2 API files will be updated and concatenated")
0 commit comments