1
0
Fork 0

Put resources to a separate source group.

This commit is contained in:
John Preston 2019-11-29 11:36:59 +03:00
parent 9e68adb866
commit 52eaa9cd61

View file

@ -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()