From Eric Wing,
"Attached is a patch allows access access to the CMake MACOSX_BUNDLE option. Now SETUP_APPLICATION and SETUP_EXAMPLE take an additional optional parameter that specifies if the program is a command line application or a GUI application (think: IS_COMMANDLINE_APP). Passing 1 means true (is_commandline_app). Passing 0 or omitting the parameter means false. I changed the scripts for osgversion and osgunittests to support this option because I believe they are command line apps. Are there any others?"
This commit is contained in:
@@ -4,4 +4,5 @@
|
||||
SET(TARGET_SRC UnitTestFramework.cpp UnitTests_osg.cpp osgunittests.cpp performance.cpp )
|
||||
SET(TARGET_H UnitTestFramework.h performance.h )
|
||||
#### end var setup ###
|
||||
SETUP_EXAMPLE(osgunittests)
|
||||
# The 1 denotes commandline app (for TRUE)
|
||||
SETUP_EXAMPLE(osgunittests 1)
|
||||
|
||||
Reference in New Issue
Block a user