[all-commits] [llvm/llvm-project] 4ecbfa: [llvm] Revise IDE folder structure (#89741)

Michael Kruse via All-commits all-commits at lists.llvm.org
Sat May 25 04:28:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ecbfacf9ecdc5bd9bf699d400c5058071b9500c
      https://github.com/llvm/llvm-project/commit/4ecbfacf9ecdc5bd9bf699d400c5058071b9500c
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2024-05-25 (Sat, 25 May 2024)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/cmake/modules/AddOCaml.cmake
    M llvm/cmake/modules/AddSphinxTarget.cmake
    M llvm/cmake/modules/CrossCompile.cmake
    M llvm/cmake/modules/LLVMDistributionSupport.cmake
    M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
    M llvm/cmake/modules/TableGen.cmake
    M llvm/docs/CMakeLists.txt
    M llvm/examples/Kaleidoscope/CMakeLists.txt
    M llvm/include/llvm/Support/CMakeLists.txt
    M llvm/lib/Support/BLAKE3/CMakeLists.txt
    M llvm/runtimes/CMakeLists.txt
    M llvm/test/CMakeLists.txt
    M llvm/tools/opt-viewer/CMakeLists.txt
    M llvm/unittests/Analysis/InlineAdvisorPlugin/CMakeLists.txt
    M llvm/unittests/Analysis/InlineOrderPlugin/CMakeLists.txt
    M llvm/unittests/CMakeLists.txt
    M llvm/unittests/DebugInfo/BTF/CMakeLists.txt
    M llvm/unittests/DebugInfo/CodeView/CMakeLists.txt
    M llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
    M llvm/unittests/DebugInfo/GSYM/CMakeLists.txt
    M llvm/unittests/DebugInfo/MSF/CMakeLists.txt
    M llvm/unittests/DebugInfo/PDB/CMakeLists.txt
    M llvm/unittests/ExecutionEngine/CMakeLists.txt
    M llvm/unittests/ExecutionEngine/JITLink/CMakeLists.txt
    M llvm/unittests/ExecutionEngine/MCJIT/CMakeLists.txt
    M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
    M llvm/unittests/Support/CommandLineInit/CMakeLists.txt
    M llvm/unittests/Support/DynamicLibrary/CMakeLists.txt
    M llvm/unittests/Target/AArch64/CMakeLists.txt
    M llvm/unittests/Target/AMDGPU/CMakeLists.txt
    M llvm/unittests/Target/ARM/CMakeLists.txt
    M llvm/unittests/Target/CMakeLists.txt
    M llvm/unittests/Target/LoongArch/CMakeLists.txt
    M llvm/unittests/Target/PowerPC/CMakeLists.txt
    M llvm/unittests/Target/RISCV/CMakeLists.txt
    M llvm/unittests/Target/WebAssembly/CMakeLists.txt
    M llvm/unittests/Target/X86/CMakeLists.txt
    M llvm/unittests/Transforms/Coroutines/CMakeLists.txt
    M llvm/unittests/Transforms/IPO/CMakeLists.txt
    M llvm/unittests/Transforms/Scalar/CMakeLists.txt
    M llvm/unittests/Transforms/Utils/CMakeLists.txt
    M llvm/unittests/Transforms/Vectorize/CMakeLists.txt
    M llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt
    M llvm/unittests/tools/llvm-exegesis/CMakeLists.txt
    M llvm/unittests/tools/llvm-mca/CMakeLists.txt
    M llvm/unittests/tools/llvm-profdata/CMakeLists.txt
    M llvm/unittests/tools/llvm-profgen/CMakeLists.txt
    M llvm/utils/LLVMVisualizers/CMakeLists.txt
    M llvm/utils/TableGen/Basic/CMakeLists.txt
    M llvm/utils/TableGen/CMakeLists.txt
    M llvm/utils/TableGen/Common/CMakeLists.txt
    M llvm/utils/lit/CMakeLists.txt
    M llvm/utils/llvm-locstats/CMakeLists.txt
    M llvm/utils/mlgo-utils/CMakeLists.txt

  Log Message:
  -----------
  [llvm] Revise IDE folder structure (#89741)

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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list