On Mon, May 4, 2015 at 12:07 PM, Martin Percossi <[email protected]> wrote: > Could someone point me to a recent example CMakeLists.txt for creation of an > application (i.e., .app directory structure) under OSX? Ideally, it should > have its own custom framework included in the @executable_path/../Frameworks > directory, as well as resources. In short, it should be reasonably > full-featured.
http://www.cmake.org/Wiki/BundleUtilitiesExample is in theory what you want. I'm just learning this myself, and for now I ignore that and just do SET_TARGET_PROPERTIES(foo PROPERTIES MACOSX_BUNDLE TRUE) to get cmake to create the .app directory structure; all the rest of the munging I'm doing by hand (libcef is a bitch on the mac). -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
