Updates to the CMake build system for Mac OSX
This commit is contained in:
committed by
Robert Osfield
parent
2b9dfab1fc
commit
e9d6737ec4
@@ -1,3 +1,9 @@
|
||||
# On OSX, this example only compiles if using Cocoa
|
||||
IF(APPLE AND NOT (OSG_WINDOWING_SYSTEM STREQUAL "Cocoa"))
|
||||
MESSAGE(WARNING "Disabling osgmultitouch example because it requires OSG_WINDOWING_SYSTEM to be Cocoa")
|
||||
RETURN()
|
||||
ENDIF()
|
||||
|
||||
SET(TARGET_SRC osgmultitouch.cpp )
|
||||
|
||||
#### end var setup ###
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#this file is automatically generated
|
||||
|
||||
# On OSX, this example only compiles if using Cocoa
|
||||
IF(APPLE AND NOT (OSG_WINDOWING_SYSTEM STREQUAL "Cocoa"))
|
||||
MESSAGE(WARNING "Disabling osgoscdevice example because it requires OSG_WINDOWING_SYSTEM to be Cocoa")
|
||||
RETURN()
|
||||
ENDIF()
|
||||
|
||||
SET(TARGET_SRC osgoscdevice.cpp )
|
||||
#### end var setup ###
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
# On OSX, this example only compiles if using Cocoa
|
||||
IF(APPLE AND NOT (OSG_WINDOWING_SYSTEM STREQUAL "Cocoa"))
|
||||
MESSAGE(WARNING "Disabling osgviewerCocoa example because it requires OSG_WINDOWING_SYSTEM to be Cocoa")
|
||||
RETURN()
|
||||
ENDIF()
|
||||
|
||||
FILE(GLOB ui_files_1 "English.lproj/*.strings")
|
||||
FILE(GLOB ui_files_2 "English.lproj/MainMenu.nib/*.nib")
|
||||
SET(TARGET_SRC ViewerCocoa.mm main.mm Info.plist ${ui_files_1} ${ui_files_2})
|
||||
|
||||
Reference in New Issue
Block a user