Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 2,680
    • Issues 2,680
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 23
    • Merge Requests 23
  • Packages
    • Packages
    • Container Registry
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • CMake
  • CMakeCMake
  • Merge Requests
  • !2558

Merged
Opened Nov 02, 2018 by Kyle Edwards@kyle.edwards
  • Report abuse
Report abuse

install: Add sane set of defaults for DESTINATION and file type parameters

If the user does not specify a DESTINATION for a target type, the install() command checks to see if the appropriate variable from GNUInstallDirs is set. If it is not, then it uses an appropriate hard-coded guess.

In addition, for FILES and DIRECTORY, the user can specify a file type instead of a DESTINATION, and the command will use the appropriate variable from GNUInstallDirs, or a hard-coded guess if it is not set.

Edited Nov 03, 2018 by Kyle Edwards
  • Discussion 75
  • Commits 2
  • Pipelines 23
  • Changes 38
Assignee
Assign to
3.14.0
Milestone
3.14.0
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: cmake/cmake!2558