Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4.4k
    • Issues 4.4k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Issues
  • #15183

Xcode INSTALL_PATH setting makes archiving impossible

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


CMake sets CMAKE_XCODE_ATTRIBUTE_INSTALL_PATH to an empty string ("") when generating xcode projects. For whatever reason archiving projects only works when

  • INSTALL_PATH is NOT set
  • INSTALL_PATH is set to some value other than the empty string ("")

It does NOT work when

  • INSTALL_PATH is set to the empty string

So I propose for CMake to not set this value at all, then XCode takes some default which works for archiving files.

See also here: http://web.archiveorange.com/archive/v/5y7PklO3CkRUMmyHhIlr

and here: http://public.kitware.com/pipermail/cmake/2011-June/045159.html

and here: http://stackoverflow.com/a/8102602/369009

Edited Oct 27, 2022 by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking