diff options
| author | Michael Kruse <llvm-project@meinersbur.de> | 2024-05-25 17:29:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-25 17:29:18 +0200 |
| commit | c3efb57655001896fac955f4d42657db42c836b0 (patch) | |
| tree | 5df3f2d3f2bb678675b968abea162bb90662d9e8 /lldb/source/API/CMakeLists.txt | |
| parent | 76e7c8f4aaa7f3bdf6085927756a8772ab7f00f6 (diff) | |
[lldb] Revise IDE folder structure (#89748)
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 'lldb/source/API/CMakeLists.txt')
| -rw-r--r-- | lldb/source/API/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt index 76b42ecf63f9..e8228afe103f 100644 --- a/lldb/source/API/CMakeLists.txt +++ b/lldb/source/API/CMakeLists.txt @@ -38,6 +38,7 @@ add_custom_command( ) add_custom_target(lldb-sbapi-dwarf-enums DEPENDS ${sb_languages_file}) +set_target_properties(lldb-sbapi-dwarf-enums PROPERTIES FOLDER "LLDB/Tablegenning") add_lldb_library(liblldb SHARED ${option_framework} SBAddress.cpp @@ -215,7 +216,6 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") "Only the SB API is guaranteed to be stable.") add_llvm_symbol_exports(liblldb "${LLDB_EXPORT_ALL_SYMBOLS_EXPORTS_FILE}") endif() - set_target_properties(liblldb_exports PROPERTIES FOLDER "lldb misc") elseif (LLDB_EXPORT_ALL_SYMBOLS) MESSAGE("-- Symbols (liblldb): exporting all symbols from the lldb and lldb_private namespaces") @@ -254,7 +254,6 @@ elseif (LLDB_EXPORT_ALL_SYMBOLS) ) add_llvm_symbol_exports(liblldb ${exported_symbol_file}) - set_target_properties(liblldb_exports PROPERTIES FOLDER "lldb misc") endif() if (NOT MSVC) |
