mirror of
https://github.com/opencv/opencv.git
synced 2025-08-01 02:18:01 +08:00
Merge pull request #9969 from mshabunin:dispatch-vs-folders
This commit is contained in:
commit
988a5626f6
@ -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 $<TARGET_PROPERTY:${TARGET_BASE_NAME},INCLUDE_DIRECTORIES>)
|
target_include_directories(${TARGET_BASE_NAME}_${OPT} PRIVATE $<TARGET_PROPERTY:${TARGET_BASE_NAME},INCLUDE_DIRECTORIES>)
|
||||||
#list(APPEND __result_libs ${TARGET_BASE_NAME}_${OPT})
|
#list(APPEND __result_libs ${TARGET_BASE_NAME}_${OPT})
|
||||||
list(APPEND __result "$<TARGET_OBJECTS:${TARGET_BASE_NAME}_${OPT}>")
|
list(APPEND __result "$<TARGET_OBJECTS:${TARGET_BASE_NAME}_${OPT}>")
|
||||||
|
if(ENABLE_SOLUTION_FOLDERS)
|
||||||
|
set_target_properties(${TARGET_BASE_NAME}_${OPT} PROPERTIES FOLDER "dispatched")
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
foreach(fname ${__result_${OPT}})
|
foreach(fname ${__result_${OPT}})
|
||||||
get_source_file_property(__definitions "${fname}" COMPILE_DEFINITIONS)
|
get_source_file_property(__definitions "${fname}" COMPILE_DEFINITIONS)
|
||||||
|
Loading…
Reference in New Issue
Block a user