Added CMake QT3, FLTK and osgintrospection example build support.
This commit is contained in:
parent
e457914a40
commit
c000d8e94c
@ -110,9 +110,12 @@ ENDIF(WIN32)
|
|||||||
|
|
||||||
# Common to all platforms:
|
# Common to all platforms:
|
||||||
FIND_PACKAGE(FreeType)
|
FIND_PACKAGE(FreeType)
|
||||||
|
FIND_PACKAGE(FLTK)
|
||||||
FIND_PACKAGE(GLUT)
|
FIND_PACKAGE(GLUT)
|
||||||
FIND_PACKAGE(SDL)
|
FIND_PACKAGE(SDL)
|
||||||
FIND_PACKAGE(Inventor)
|
FIND_PACKAGE(Inventor)
|
||||||
|
FIND_PACKAGE(Qt3)
|
||||||
|
FIND_PACKAGE(Qt4)
|
||||||
|
|
||||||
# Platform specific:
|
# Platform specific:
|
||||||
# (We can approach this one of two ways. We can try to FIND everything
|
# (We can approach this one of two ways. We can try to FIND everything
|
||||||
|
@ -106,5 +106,17 @@ IF (SDL_FOUND)
|
|||||||
ADD_SUBDIRECTORY(osgsimpleviewerSDL)
|
ADD_SUBDIRECTORY(osgsimpleviewerSDL)
|
||||||
ENDIF(SDL_FOUND)
|
ENDIF(SDL_FOUND)
|
||||||
|
|
||||||
|
IF (QT_FOUND)
|
||||||
|
IF (QT4_FOUND)
|
||||||
|
ADD_SUBDIRECTORY(osgsimpleviewerQT4)
|
||||||
|
ELSE(QT4_FOUND)
|
||||||
|
ADD_SUBDIRECTORY(osgsimpleviewerQT3)
|
||||||
|
ENDIF(QT4_FOUND)
|
||||||
|
ENDIF(QT_FOUND)
|
||||||
|
|
||||||
|
IF (FLTK_FOUND)
|
||||||
|
ADD_SUBDIRECTORY(osgsimpleviewerFLTK)
|
||||||
|
ENDIF(FLTK_FOUND)
|
||||||
|
|
||||||
#ADD_SUBDIRECTORY(osgcegui)
|
#ADD_SUBDIRECTORY(osgcegui)
|
||||||
#to add subject to find socket#ADD_SUBDIRECTORY(osgcluster)
|
#to add subject to find socket#ADD_SUBDIRECTORY(osgcluster)
|
||||||
|
5
examples/osgintrospection/CMakeLists.txt
Normal file
5
examples/osgintrospection/CMakeLists.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
SET(TARGET_SRC osgintrospection.cpp )
|
||||||
|
SET(TARGET_ADDED_LIBRARIES osgIntrospection )
|
||||||
|
|
||||||
|
#### end var setup ###
|
||||||
|
SETUP_EXAMPLE(osgintrospection)
|
7
examples/osgsimpleviewerFLTK/CMakeLists.txt
Normal file
7
examples/osgsimpleviewerFLTK/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
SET(TARGET_SRC osgsimpleviewerFLTK.cpp )
|
||||||
|
|
||||||
|
SET(TARGET_ADDED_LIBRARIES ${FLTK_LIBRARIES} )
|
||||||
|
INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR} )
|
||||||
|
|
||||||
|
#### end var setup ###
|
||||||
|
SETUP_EXAMPLE(osgsimpleviewerFLTK)
|
7
examples/osgsimpleviewerQT3/CMakeLists.txt
Normal file
7
examples/osgsimpleviewerQT3/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
SET(TARGET_SRC osgsimpleviewerQT3.cpp )
|
||||||
|
|
||||||
|
SET(TARGET_ADDED_LIBRARIES ${QT_LIBRARIES} )
|
||||||
|
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} )
|
||||||
|
|
||||||
|
#### end var setup ###
|
||||||
|
SETUP_EXAMPLE(osgsimpleviewerQT3)
|
Loading…
Reference in New Issue
Block a user