aboutsummaryrefslogtreecommitdiff
path: root/bolt/cmake
AgeCommit message (Collapse)AuthorFilesLines
2024-05-25[BOLT] Revise IDE folder structure (#89742)Michael Kruse1-1/+0
Update the folder titles for targets in the monorepository that have not seen taken care of for some time. These are the folders that targets are organized in Visual Studio and XCode (`set_property(TARGET <target> PROPERTY FOLDER "<title>")`) when using the respective CMake's IDE generator. * Ensure that every target is in a folder * Use a folder hierarchy with each LLVM subproject as a top-level folder * Use consistent folder names between subprojects * When using target-creating functions from AddLLVM.cmake, automatically deduce the folder. This reduces the number of `set_property`/`set_target_property`, but are still necessary when `add_custom_target`, `add_executable`, `add_library`, etc. are used. A LLVM_SUBPROJECT_TITLE definition is used for that in each subproject's root CMakeLists.txt.
2023-06-01[BOLT][CMake] Redo the build and install targetsPetr Hosek1-0/+36
The existing BOLT install targets are broken on Windows becase they don't properly handle the output extension. We cannot use the existing LLVM macros since those make assumptions that don't hold for BOLT. This change instead implements custom macros following the approach used by Clang and LLD. Differential Revision: https://reviews.llvm.org/D151595
2023-06-01Revert "[BOLT][CMake] Redo the build and install targets"Petr Hosek1-36/+0
This reverts commit f99a7d3e38095cfdaf7e729289a8894dd31c7efa since it broke the bolt-aarch64-ubuntu-clang-shared bot.
2023-06-01[BOLT][CMake] Redo the build and install targetsPetr Hosek1-0/+36
The existing BOLT install targets are broken on Windows becase they don't properly handle the output extension. We cannot use the existing LLVM macros since those make assumptions that don't hold for BOLT. This change instead implements custom macros following the approach used by Clang and LLD. Differential Revision: https://reviews.llvm.org/D151595