MACOSX_PACKAGE_LOCATION

MACOSX_PACKAGE_LOCATION

Place a source file inside a Application Bundle (MACOSX_BUNDLE), Core Foundation Bundle (BUNDLE), or Framework Bundle (FRAMEWORK). It is applicable for OS X and iOS.

Executable targets with the MACOSX_BUNDLE property set are built as OS X or iOS application bundles on Apple platforms. Shared library targets with the FRAMEWORK property set are built as OS X or iOS frameworks on Apple platforms. Module library targets with the BUNDLE property set are built as OS X CFBundle bundles on Apple platforms. Source files listed in the target with this property set will be copied to a directory inside the bundle or framework content folder specified by the property value. For OS X Application Bundles the content folder is <name>.app/Contents. For OS X Frameworks the content folder is <name>.framework/Versions/<version>. For OS X CFBundles the content folder is <name>.bundle/Contents (unless the extension is changed). See the PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE target properties for specifying files meant for Headers, PrivateHeaders, or Resources directories.

© 2000–2016 Kitware, Inc.
© 2000–2011 Insight Software Consortium
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.6/prop_sf/MACOSX_PACKAGE_LOCATION.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部