Have CopyWinLibs only copy files needed for current configuration.

This commit is contained in:
Shyotl
2014-12-12 03:49:47 -06:00
parent d571b8be81
commit 32706065ac
2 changed files with 5 additions and 1 deletions

View File

@@ -23,6 +23,10 @@ set(LIBS_DEBUG_DIR
)
function(copy_files paths names dest)
string(FIND ${dest} ${CUR_CONFIG} idx)
if(${idx} LESS 0)
return()
endif(${idx} LESS 0)
foreach(f ${names})
foreach(p ${paths})
set(from_file "${p}/${f}")