From 21a69b5317d9f7794a16e20211ed797f6f130941 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 4 Apr 2005 13:49:20 +0000 Subject: [PATCH] Made osgIntrospection an optional compile --- Make/dependencies | 5 +++++ Make/makedirdefs | 13 ++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) 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