bloomberg / clangmetatool

A framework for reusing code in Clang tools
https://bloomberg.github.io/clangmetatool/
Apache License 2.0
119 stars 25 forks source link

Allow clangmetatool installation to be relocated #31

Closed dbeer1 closed 5 years ago

dbeer1 commented 5 years ago

Describe your changes clangmetatool was using absolute paths when calling install() in CMakeLists.txt, which causes CMake to hardcode these paths in the modules it creates. Instead use only relative paths so everything is found relative to the install directories.

Testing performed Built tests and clangmetatool based project with a custom clang installation directory.

Reviewers: @ruoso