Limited the static build to just osversion and osgstaticviewer
This commit is contained in:
parent
528fdbb75c
commit
9027e7a9af
@ -1,10 +1,5 @@
|
||||
PROJECT(OSG_APPLICATIONS)
|
||||
|
||||
IF (NOT DYNAMIC_OPENSCENEGRAPH)
|
||||
# need to define this on win32 or linker cries about _declspecs
|
||||
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
|
||||
ENDIF(NOT DYNAMIC_OPENSCENEGRAPH)
|
||||
|
||||
SET(OSGCORE_BUNDLED TRUE)
|
||||
|
||||
IF(NOT OSGCORE_BUNDLED)
|
||||
@ -31,20 +26,19 @@ SET(TARGET_COMMON_LIBRARIES
|
||||
osgText
|
||||
)
|
||||
|
||||
ADD_SUBDIRECTORY(osgviewer)
|
||||
ADD_SUBDIRECTORY(osgarchive)
|
||||
ADD_SUBDIRECTORY(osgconv)
|
||||
ADD_SUBDIRECTORY(osgversion)
|
||||
ADD_SUBDIRECTORY(osgfilecache)
|
||||
IF(DYNAMIC_OPENSCENEGRAPH)
|
||||
|
||||
#REWRITE_CMAKELIST(ADD_OSG_EXAMPLE)
|
||||
ADD_SUBDIRECTORY(osgviewer)
|
||||
ADD_SUBDIRECTORY(osgarchive)
|
||||
ADD_SUBDIRECTORY(osgconv)
|
||||
ADD_SUBDIRECTORY(osgfilecache)
|
||||
|
||||
#MESSAGE("---->${MY_EXAMPLE_LIST}<---------")
|
||||
##########to get all the variables of Cmake
|
||||
#GET_CMAKE_PROPERTY(MYVARS VARIABLES)
|
||||
#FOREACH(myvar ${MYVARS})
|
||||
# FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/AllVariables.txt
|
||||
# "${myvar} -->${${myvar}}<-\n"
|
||||
# )
|
||||
#ENDFOREACH(myvar)
|
||||
ELSE(DYNAMIC_OPENSCENEGRAPH)
|
||||
|
||||
# need to define this on win32 or linker cries about _declspecs
|
||||
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
|
||||
|
||||
ADD_SUBDIRECTORY(osgversion)
|
||||
|
||||
ENDIF(DYNAMIC_OPENSCENEGRAPH)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user