From: Maksim Shabunin Date: Mon, 30 Oct 2017 15:30:20 +0000 (+0300) Subject: VisualStudio: Added solution folders for dispatched optimization targets X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~447^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93813fec6e0c4f8bb79475c1348baec97d22fd97;p=platform%2Fupstream%2Fopencv.git VisualStudio: Added solution folders for dispatched optimization targets --- diff --git a/cmake/OpenCVCompilerOptimizations.cmake b/cmake/OpenCVCompilerOptimizations.cmake index 2696ac2..761e2bb 100644 --- a/cmake/OpenCVCompilerOptimizations.cmake +++ b/cmake/OpenCVCompilerOptimizations.cmake @@ -606,6 +606,9 @@ macro(ocv_compiler_optimization_process_sources SOURCES_VAR_NAME LIBS_VAR_NAME T target_include_directories(${TARGET_BASE_NAME}_${OPT} PRIVATE $) #list(APPEND __result_libs ${TARGET_BASE_NAME}_${OPT}) list(APPEND __result "$") + if(ENABLE_SOLUTION_FOLDERS) + set_target_properties(${TARGET_BASE_NAME}_${OPT} PROPERTIES FOLDER "dispatched") + endif() else() foreach(fname ${__result_${OPT}}) get_source_file_property(__definitions "${fname}" COMPILE_DEFINITIONS)