2009-03-04 00:51:01 +08:00
|
|
|
# INCLUDE_DIRECTORIES( ${OPENAL_INCLUDE_DIR} )
|
2009-03-04 01:37:48 +08:00
|
|
|
# SET(TARGET_EXTERNAL_LIBRARIES ${OPENAL_LIBRARY} alut)
|
|
|
|
|
2014-12-18 03:21:32 +08:00
|
|
|
IF (SDL2_FOUND)
|
|
|
|
|
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${SDL2_LIBRARY} )
|
|
|
|
INCLUDE_DIRECTORIES(${SDL2_INCLUDE_DIR} )
|
|
|
|
ADD_DEFINITIONS(-DUSE_SDL2)
|
|
|
|
IF (MINGW)
|
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${TARGET_EXTERNAL_LIBRARIES} winmm dinput ddraw dxguid)
|
|
|
|
ENDIF()
|
|
|
|
|
2014-12-18 19:09:43 +08:00
|
|
|
ELSEIF (SDL_FOUND)
|
2014-12-18 03:21:32 +08:00
|
|
|
|
2009-03-04 01:37:48 +08:00
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${SDL_LIBRARY} )
|
|
|
|
INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR} )
|
|
|
|
ADD_DEFINITIONS(-DUSE_SDL)
|
2010-01-18 22:27:20 +08:00
|
|
|
IF (MINGW)
|
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${TARGET_EXTERNAL_LIBRARIES} winmm dinput ddraw dxguid)
|
|
|
|
ENDIF()
|
2014-12-18 03:21:32 +08:00
|
|
|
|
2014-12-18 19:09:43 +08:00
|
|
|
ENDIF()
|
2007-03-20 01:18:59 +08:00
|
|
|
|
2007-03-19 21:26:34 +08:00
|
|
|
SET(TARGET_SRC osgmovie.cpp )
|
|
|
|
SET(TARGET_ADDED_LIBRARIES osgGA )
|
2009-03-04 00:51:01 +08:00
|
|
|
|
2009-03-04 01:37:48 +08:00
|
|
|
|
2009-03-04 00:51:01 +08:00
|
|
|
|
2007-03-19 21:26:34 +08:00
|
|
|
#### end var setup ###
|
2007-03-20 01:18:59 +08:00
|
|
|
SETUP_EXAMPLE(osgmovie)
|