Skip to content

Commit

Permalink
Tidy up EAR targets in to IDE folders
Browse files Browse the repository at this point in the history
  • Loading branch information
firthm01 committed Jan 16, 2024
1 parent 93c6053 commit 903ce72
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions submodules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 903ce72

Please sign in to comment.