On Tuesday 28 March 2006 10:27, David Faure wrote: > On Monday 27 March 2006 23:38, William A. Hoffman wrote: > > Currently, to get GUI things to run on the Mac, they have to be > > application bundles. The way to do this in CMake, is this: > > > > ADD_EXECUTABLE(BundleTest MACOSX_BUNDLE BundleTest.cxx) > > > > See the cmake sources Tests/BundleTest for an example. > > This is much like on windows where you can add a WIN32 flag > > in the add_executable to make it a non-console app. > > Alex's suggestion of wrapping this into "a bundle by default and NOGUI for > no bundle (and console app on win32)" makes sense for KDE, where most > executables are GUI programs. > > IMHO it's better when the writer of the CMakeList doesn't have to consider > the specifics of all platforms; GUI / NOGUI should be enough to choose > between > ( MacOSX bundle, GUI app on windows ) and ( no mac os x bundle, console app > on windows )
What's actually a "console app" on windows ? Have all GUI apps to be non-console apps ? Bye Alex -- Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de Home: neundorf AT kde.org - http://www.kde.org alex AT neundorf.net - http://www.neundorf.net _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
