CMP0006.rst 1.0 KB

123456789101112131415161718192021222324
  1. CMP0006
  2. -------
  3. Installing MACOSX_BUNDLE targets requires a BUNDLE DESTINATION.
  4. This policy determines whether the install(TARGETS) command must be
  5. given a BUNDLE DESTINATION when asked to install a target with the
  6. MACOSX_BUNDLE property set. CMake 2.4 and below did not distinguish
  7. application bundles from normal executables when installing targets.
  8. CMake 2.6 provides a BUNDLE option to the install(TARGETS) command
  9. that specifies rules specific to application bundles on the Mac.
  10. Projects should use this option when installing a target with the
  11. MACOSX_BUNDLE property set.
  12. The OLD behavior for this policy is to fall back to the RUNTIME
  13. DESTINATION if a BUNDLE DESTINATION is not given. The NEW behavior
  14. for this policy is to produce an error if a bundle target is installed
  15. without a BUNDLE DESTINATION.
  16. This policy was introduced in CMake version 2.6.0. CMake version
  17. |release| warns when the policy is not set and uses OLD behavior. Use
  18. the cmake_policy command to set it to OLD or NEW explicitly.
  19. .. include:: DEPRECATED.txt