[CMake] CMake and Sandboxed Mac OS X app

David Cole david.cole at kitware.com
Tue Nov 22 11:45:29 EST 2011


I have not heard of anybody building a Sandboxed app using CMake yet.

What are the requirements for a Sandboxed app? Is there a
documentation page from Apple that describes what needs to be in the
Info.plist to support Sandboxing?


Thx,
David


On Tue, Nov 22, 2011 at 10:44 AM, NoRulez <norulez at me.com> wrote:
> Hello @everyone,
>
>
>
> I want to use cmake and „make“ from the command line (without Xcode) to
> build an Mac OS X app which make use of the “new” sandboxing feature.
>
>
>
> I added the following lines, but in the activity monitor the app is still
> not sandboxed:
>
> IF(APPLE)
>
>     SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
> PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
>
>     SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/Info.plist
> PROPERTIES GENERATED TRUE)
>
>     SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
> PROPERTIES OBJECT_DEPENDS
> ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.entitlements)
>
>
> SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.entitlements
> PROPERTIES GENERATED TRUE)
>
>     .
>
>     .
>
>     .
>
> ENDIF(APPLE)
>
>
>
> Did I miss something?
>
>
>
> Any help would be great.
>
>
>
> Thanks in advance
>
>
>
> Best Regards
>
> NoRulez
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list