From 903ce72d8de8b5dcb60ef340d38efe933fa9c8ee Mon Sep 17 00:00:00 2001 From: Matt Firth Date: Tue, 16 Jan 2024 13:59:07 +0000 Subject: [PATCH] Tidy up EAR targets in to IDE folders --- submodules/CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/submodules/CMakeLists.txt b/submodules/CMakeLists.txt index d1376b434..42b9b3ae1 100644 --- a/submodules/CMakeLists.txt +++ b/submodules/CMakeLists.txt @@ -172,6 +172,22 @@ set(BEAR_VISR_LIB_TYPE "${VISR_TARGET_TYPE}" CACHE STRING "bear visr lib type" F add_subdirectory(bear/visr_bear) set_target_properties(bear PROPERTIES FOLDER submodules/bear) set_target_properties(ear PROPERTIES FOLDER submodules/libear) +# Folder up instruction-set specific targets (platform specific so need to check exists) +if(TARGET ear_avx512bw) + set_target_properties(ear_avx512bw PROPERTIES FOLDER submodules/libear) +endif() +if(TARGET ear_avx2_fma) + set_target_properties(ear_avx2_fma PROPERTIES FOLDER submodules/libear) +endif() +if(TARGET ear_avx) + set_target_properties(ear_avx PROPERTIES FOLDER submodules/libear) +endif() +if(TARGET ear_sse4_2) + set_target_properties(ear_sse4_2 PROPERTIES FOLDER submodules/libear) +endif() +if(TARGET ear_default_arch) + set_target_properties(ear_default_arch PROPERTIES FOLDER submodules/libear) +endif() add_dependencies(bear ${VISR_TARGET_NAMES}) set(BUILD_TESTING ${isTesting})