File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1450,8 +1450,8 @@ macro(llvm_add_tool project name)
14501450 set_property (GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name} )
14511451 endif ()
14521452 get_subproject_title(subproject_title)
1453- set_target_properties (${name} PROPERTIES FOLDER "${subproject_title} /Tools" )
14541453 endif ()
1454+ set_target_properties (${name} PROPERTIES FOLDER "${subproject_title} /Tools" )
14551455endmacro (llvm_add_tool project name )
14561456
14571457macro (add_llvm_tool name )
@@ -2581,5 +2581,7 @@ function(setup_host_tool tool_name setting_name exe_var_name target_var_name)
25812581 if (LLVM_USE_HOST_TOOLS AND NOT ${setting_name} )
25822582 build_native_tool(${tool_name} exe_name DEPENDS ${tool_name} )
25832583 add_custom_target (${target_var_name} DEPENDS ${exe_name} )
2584+ get_subproject_title(subproject_title)
2585+ set_target_properties (${target_var_name} PROPERTIES FOLDER "${subproject_title} /Native" )
25842586 endif ()
25852587endfunction ()
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ function(llvm_create_cross_target project_name target_name toolchain buildtype)
4545
4646 add_custom_target (CREATE_${project_name} _${target_name}
4747 DEPENDS ${${project_name} _${target_name} _BUILD})
48+ get_subproject_title(subproject_title)
49+ set_target_properties (CREATE_${project_name} _${target_name} PROPERTIES FOLDER "${subproject_title} /Native" )
4850
4951 # Escape semicolons in the targets list so that cmake doesn't expand
5052 # them to spaces.
@@ -98,6 +100,8 @@ function(llvm_create_cross_target project_name target_name toolchain buildtype)
98100
99101 add_custom_target (CONFIGURE_${project_name} _${target_name}
100102 DEPENDS ${${project_name} _${target_name} _BUILD}/CMakeCache.txt)
103+ get_subproject_title(subproject_title)
104+ set_target_properties (CONFIGURE_${project_name} _${target_name} PROPERTIES FOLDER "${subproject_title} /Native" )
101105
102106endfunction ()
103107
Original file line number Diff line number Diff line change @@ -220,6 +220,8 @@ macro(add_tablegen target project)
220220 set (${project} _TABLEGEN_EXE ${${project} _TABLEGEN_EXE} PARENT_SCOPE)
221221
222222 add_custom_target (${target} -host DEPENDS ${${project} _TABLEGEN_EXE})
223+ get_subproject_title(subproject_title)
224+ set_target_properties (${target} -host PROPERTIES FOLDER "${subproject_title} /Native" )
223225 set (${project} _TABLEGEN_TARGET ${target} -host PARENT_SCOPE)
224226
225227 # If we're using the host tablegen, and utils were not requested, we have no
You can’t perform that action at this time.
0 commit comments