:: Коппирует const для сборки под Visual Stusio 2015

::@mode con cp select=1251 >NULL

@echo off

set VC=\vc8
set BUILD_DIR=D:\_SWH

@echo * >%BUILD_DIR%\rebuild.log

mkdir %BUILD_DIR%\__debug
mkdir %BUILD_DIR%\__release
mkdir %BUILD_DIR%\__debug%VC%
mkdir %BUILD_DIR%\__release%VC%

attrib -r %BUILD_DIR%\__debug%VC%\*.* 
attrib -r %BUILD_DIR%\__release%VC%\*.*

del /F /Q /S %BUILD_DIR%\__debug%VC%\*.*
del /F /Q /S %BUILD_DIR%\__release%VC%\*.*

copy /y .\_const\_debug2015\*.* %BUILD_DIR%\__debug%VC%\
copy /y .\__Express\apl_pss_a.dict %BUILD_DIR%\__debug%VC%\

copy /y .\_const\_release2015\*.* %BUILD_DIR%\__release%VC%\ 
copy /y .\__Express\apl_pss_a.dict %BUILD_DIR%\__release%VC%\ 

attrib -r %BUILD_DIR%\__debug%VC%\*.* 
attrib -r %BUILD_DIR%\__release%VC%\*.*

:end
