Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !5152

cmake: add support for DESTDIR install relocation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Felix Moessbauer requested to merge github/fork/fmoessbauer/chore-destdir into master Oct 08, 2021
  • Overview 24
  • Commits 3
  • Pipelines 0
  • Changes 2

CMake might change the value of CMAKE_INSTALL_PREFIX on the fly at install time in case the install is relocated via DESTDIR.

This is only supported in case the paths of the install target are encoded as relative path. These paths are anyways located relative to the CMAKE_INSTALL_PREFIX, so manually specifying the prefix there is not required.

This patch enables a user to install multiple DynamoRIO versions simultaneously and to switch between them by using tools like xstow. It also helps as a preparation to package DynamoRIO for Linux distributions like Debian.

Signed-off-by: Felix Moessbauer [email protected]

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/fmoessbauer/chore-destdir