diff --git a/Make/dependencies b/Make/dependencies index 28a6c06d0..78c7773ad 100644 --- a/Make/dependencies +++ b/Make/dependencies @@ -1,9 +1,14 @@ ################################################################ # Dependency library which have been installed on this system + +# should we compile osgIntrospection? +COMPILE_INTROSPECTION = no + # should we compile any of the examples? COMPILE_EXAMPLES ?= no + # follows are dependenices on the various plugins. GDAL_INSTALLED ?= no diff --git a/Make/makedirdefs b/Make/makedirdefs index 84e05d524..ece89e5a5 100644 --- a/Make/makedirdefs +++ b/Make/makedirdefs @@ -23,7 +23,12 @@ SRC_DIRS = \ osgGL2\ osgFX\ osgProducer\ - osgIntrospection\ + +ifeq ($(COMPILE_INTROSPECTION),yes) +SRC_DIRS += \ + osgIntrospection\ + osgWrappers +endif ifeq ($(GDAL_INSTALLED),yes) SRC_DIRS += osgTerrain @@ -31,7 +36,7 @@ endif SRC_DIRS += \ osgPlugins\ - osgWrappers\ + WRAPPER_DIRS = \ osg\ @@ -184,7 +189,6 @@ EXAMPLE_DIRS = \ osghangglide\ osghud\ osgimpostor\ - osgintrospection\ osgkeyboard\ osgkeyboardmouse\ osglauncher\ @@ -233,6 +237,9 @@ EXAMPLE_DIRS = \ osgwindows\ +ifeq ($(COMPILE_INTROSPECTION),yes) + EXAMPLE_DIRS += osgintrospection +endif ifeq ($(GDAL_INSTALLED),yes) EXAMPLE_DIRS += osgphotoalbum