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
Unit Tests
Time | Test | |
---|---|---|
80 ms | x64 debian > LLVM.Bindings/Go::go.test |
Event Timeline
Seems like a reasonable refactoring to me.
cmake/Modules/ExtendInstallPath.cmake | ||
---|---|---|
1 ↗ | (On Diff #396335) | s/of/or/? |
4 ↗ | (On Diff #396335) | 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.