aboutsummaryrefslogtreecommitdiff
path: root/bolt/test
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2024-05-25 17:15:37 +0200
committerGitHub <noreply@github.com>2024-05-25 17:15:37 +0200
commitc5a3f664fe3b95df8fc623df21a50793e50db468 (patch)
tree025714828cf41cbb33ffc44e11bfeda7349b971b /bolt/test
parent9da81cee219da78ab44357310a3bcf481bdba26c (diff)
downloadllvm-c5a3f664fe3b95df8fc623df21a50793e50db468.zip
llvm-c5a3f664fe3b95df8fc623df21a50793e50db468.tar.gz
llvm-c5a3f664fe3b95df8fc623df21a50793e50db468.tar.bz2
[BOLT] Revise IDE folder structure (#89742)
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 'bolt/test')
-rw-r--r--bolt/test/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/bolt/test/CMakeLists.txt b/bolt/test/CMakeLists.txt
index 89862fd..d468ff9 100644
--- a/bolt/test/CMakeLists.txt
+++ b/bolt/test/CMakeLists.txt
@@ -56,7 +56,7 @@ list(APPEND BOLT_TEST_DEPS
)
add_custom_target(bolt-test-depends DEPENDS ${BOLT_TEST_DEPS})
-set_target_properties(bolt-test-depends PROPERTIES FOLDER "BOLT")
+set_target_properties(bolt-test-depends PROPERTIES FOLDER "BOLT/Tests")
add_lit_testsuite(check-bolt "Running the BOLT regression tests"
${CMAKE_CURRENT_BINARY_DIR}
@@ -64,7 +64,6 @@ add_lit_testsuite(check-bolt "Running the BOLT regression tests"
DEPENDS ${BOLT_TEST_DEPS}
ARGS ${BOLT_TEST_EXTRA_ARGS}
)
-set_target_properties(check-bolt PROPERTIES FOLDER "BOLT")
add_lit_testsuites(BOLT ${CMAKE_CURRENT_SOURCE_DIR}
PARAMS ${BOLT_TEST_PARAMS}