2010-11-27 02:19:28 +08:00
|
|
|
SET(TARGET_SRC
|
|
|
|
iphoneViewerAppDelegate.h
|
|
|
|
iphoneViewerAppDelegate.mm
|
|
|
|
main.m
|
|
|
|
osgPlugins.h
|
|
|
|
osgIPhoneViewer-Info.plist
|
|
|
|
)
|
|
|
|
|
2010-11-30 17:26:18 +08:00
|
|
|
#backup setting
|
|
|
|
SET(TMP_OSG_BUILD_APPLICATION_BUNDLES {$OSG_BUILD_APPLICATION_BUNDLES})
|
|
|
|
SET(OSG_BUILD_APPLICATION_BUNDLES TRUE)
|
2010-11-27 02:19:28 +08:00
|
|
|
SETUP_EXAMPLE(osgViewerIPhone)
|
2010-11-30 17:26:18 +08:00
|
|
|
#restore setting
|
|
|
|
SET(OSG_BUILD_APPLICATION_BUNDLES {$TMP_OSG_BUILD_APPLICATION_BUNDLES})
|
|
|
|
|
|
|
|
SET(CMAKE_EXE_LINKER_FLAGS "-framework Foundation -framework OpenGLES -framework UIKit")
|
|
|
|
|