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:
Robert Osfield
2007-04-12 09:33:24 +00:00
parent 0d4dd3da8e
commit 2187b061fc
3 changed files with 26 additions and 6 deletions

View File

@@ -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)