#3017: updated build and test scripts to support VS 2022
[heuristiclab.git] / MergeConfigs.cmd
blob4743659cc2e1fe209bcaa8ce86aeac36bac9546e
1 @echo off
3 IF "%TargetDir%"=="" (
4 SET TargetDir=.\bin\
5 SET INTERACTIVE=1
6 SET SolutionDir=.\
9 echo Recreating HeuristicLab 3.3.exe.config...
10 copy /Y "%SolutionDir%\HeuristicLab\3.3\app.config" "%TargetDir%HeuristicLab 3.3.exe.config"
12 echo Merging...
13 FOR /F "tokens=*" %%A IN ('dir /B "%TargetDir%*.dll.config"') DO (
14 "%SolutionDir%ConfigMerger.exe" "%TargetDir%%%A" "%TargetDir%HeuristicLab 3.3.exe.config"
17 IF "%INTERACTIVE%"=="1" (
18 pause