| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[CMake][Fuchsia] Enable assertions and backtraces in stage 1 build Differential Revision: https://reviews.llvm.org/D130514 | 3 年前 | |
[cmake] Support custom package install paths Firstly, we we make an additional GNUInstallDirs-style variable. With NixOS, for example, this is crucial as we want those to go in ${dev}/lib/cmake not ${out}/lib/cmake as that would a cmake subdir of the "regular" libdir, which is installed even when no one needs to do any development. Secondly, we make *Config.cmake robust to absolute package install paths. We for NixOS will in fact be passing them absolute paths to make the ${dev} vs ${out} distinction mentioned above, and the GNUInstallDirs-style variables are suposed to support absolute paths in general so it's good practice besides the NixOS use-case. Thirdly, we make ${project}_INSTALL_PACKAGE_DIR CACHE PATHs like other install dirs are. Reviewed By: sebastian-ne Differential Revision: https://reviews.llvm.org/D117973 | 3 年前 |