It is likely to become used again, if other projects want their own per-project
install directory variables. install is removed from the name since it is not inherently about installing.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Seems like a reasonable refactoring to me.
cmake/Modules/ExtendInstallPath.cmake | ||
---|---|---|
1 | s/of/or/? | |
4 | It seems odd to me to have the second argument be the return value. I'd prefer having it as the first argument and passing prefix_var as a value, rather than as a variable name. Since you've named it 'extend_install_path' ten perhaps 'prefix_var' should be 'install_path'? lastly, the documentation leave something to be desired. I would say something like: |
Many thanks @stephenneuendorffer for reviewing! I hope the changes I made are in line with what you were thinking.
s/of/or/?