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)
1450
1450
set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name} )
1451
1451
endif()
1452
1452
get_subproject_title(subproject_title)
1453
- set_target_properties(${name} PROPERTIES FOLDER " ${subproject_title} /Tools ")
1454
1453
endif()
1454
+ set_target_properties(${name} PROPERTIES FOLDER " ${subproject_title} /Tools ")
1455
1455
endmacro(llvm_add_tool project name)
1456
1456
1457
1457
macro(add_llvm_tool name)
@@ -2581,5 +2581,7 @@ function(setup_host_tool tool_name setting_name exe_var_name target_var_name)
2581
2581
if (LLVM_USE_HOST_TOOLS AND NOT ${setting_name} )
2582
2582
build_native_tool (${tool_name} exe_name DEPENDS ${tool_name} )
2583
2583
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" )
2584
2586
endif ()
2585
2587
endfunction ()
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)
45
45
46
46
add_custom_target (CREATE_${project_name}_${target_name}
47
47
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" )
48
50
49
51
# Escape semicolons in the targets list so that cmake doesn't expand
50
52
# them to spaces.
@@ -98,6 +100,8 @@ function(llvm_create_cross_target project_name target_name toolchain buildtype)
98
100
99
101
add_custom_target (CONFIGURE_${project_name}_${target_name}
100
102
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" )
101
105
102
106
endfunction ()
103
107
Original file line number Diff line number Diff line change @@ -220,6 +220,8 @@ macro(add_tablegen target project)
220
220
set (${project} _TABLEGEN_EXE ${${project}_TABLEGEN_EXE} PARENT_SCOPE )
221
221
222
222
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" )
223
225
set (${project} _TABLEGEN_TARGET ${target} -host PARENT_SCOPE )
224
226
225
227
# 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