diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2024-05-25 17:16:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-25 17:16:39 +0200 |
commit | f2a385c74aee9e668705575585ea33ee03aab4c7 (patch) | |
tree | f2ef76bad94f5ef742b9329a50023da097ab4762 /clang/bindings | |
parent | c5a3f664fe3b95df8fc623df21a50793e50db468 (diff) | |
download | llvm-f2a385c74aee9e668705575585ea33ee03aab4c7.zip llvm-f2a385c74aee9e668705575585ea33ee03aab4c7.tar.gz llvm-f2a385c74aee9e668705575585ea33ee03aab4c7.tar.bz2 |
[clang] Revise IDE folder structure (#89743)
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.
Diffstat (limited to 'clang/bindings')
-rw-r--r-- | clang/bindings/python/tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/bindings/python/tests/CMakeLists.txt b/clang/bindings/python/tests/CMakeLists.txt index c4cd253..2543cf7 100644 --- a/clang/bindings/python/tests/CMakeLists.txt +++ b/clang/bindings/python/tests/CMakeLists.txt @@ -11,7 +11,7 @@ add_custom_target(check-clang-python WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..) set(RUN_PYTHON_TESTS TRUE) -set_target_properties(check-clang-python PROPERTIES FOLDER "Clang tests") +set_target_properties(check-clang-python PROPERTIES FOLDER "Clang/Tests") # Tests require libclang.so which is only built with LLVM_ENABLE_PIC=ON if(NOT LLVM_ENABLE_PIC) |