[all-commits] [llvm/llvm-project] 76e7c8: [flang] Revise IDE folder structure (#89745)

Michael Kruse via All-commits all-commits at lists.llvm.org
Sat May 25 08:25:21 PDT 2024


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

  Changed paths:
    M flang/CMakeLists.txt
    M flang/cmake/modules/AddFlang.cmake
    M flang/docs/CMakeLists.txt
    M flang/include/flang/Optimizer/Dialect/CMakeLists.txt
    M flang/runtime/CMakeLists.txt
    M flang/test/CMakeLists.txt
    M flang/tools/f18/CMakeLists.txt
    M flang/unittests/CMakeLists.txt
    M flang/unittests/Evaluate/CMakeLists.txt

  Log Message:
  -----------
  [flang] Revise IDE folder structure (#89745)

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