Made osgIntrospection an optional compile

This commit is contained in:
Robert Osfield
2005-04-04 13:49:20 +00:00
parent 097c8f18f9
commit 21a69b5317
2 changed files with 15 additions and 3 deletions

View File

@@ -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

View File

@@ -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