Put resources to a separate source group.
This commit is contained in:
parent
9e68adb866
commit
52eaa9cd61
1 changed files with 5 additions and 1 deletions
|
|
@ -38,7 +38,11 @@ function(nice_target_sources target_name src_loc list)
|
|||
else()
|
||||
message(FATAL_ERROR "Unknown sources scope for target ${target_name}")
|
||||
endif()
|
||||
source_group(TREE ${src_loc} PREFIX Sources FILES ${full_name})
|
||||
if (${src_loc} MATCHES "/Resources$")
|
||||
source_group(TREE ${src_loc} PREFIX Resources FILES ${full_name})
|
||||
else()
|
||||
source_group(TREE ${src_loc} PREFIX Sources FILES ${full_name})
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue