source: tol/windows/build_tools/postbuild.bat

devel
Last change on this file was abf9afa, checked in by Jorge Pérez <josp.jorge@…>, 18 years ago

scripts to automate Windows compilation a packaging

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@50 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 692 bytes
Line 
1@Echo off
2REM Copia el archivo que se le da como argumento %1 hacia el bin de ActiveTol
3REM Se usa en:
4REM   * el postbuild event de tollbi.vcproj para copiar tollib.dll
5REM   * Sel postbuild event de tolcon.vcproj para copiar tol.exe
6
7If "%1" == "" (
8  Echo Se requiere argumento 1
9  Goto Uso
10)
11If Not Exist %1 (
12  Echo %1 no existe
13  Goto End
14)
15
16If "%2" == "" (
17  Echo Se requiere argumento 2
18  Goto Uso
19)
20If Not Exist %2\nul (
21  Echo Directorio %2 no existe
22  Goto End
23)
24Goto Cont
25
26:Uso
27Echo uso -- postbuild bin_origen destino
28Pause
29Goto End
30
31:Cont
32@ECHO xcopy /F /Y %1 %2
33xcopy /F /Y %1 %2
34If errorlevel 1 (
35  Echo Error en la copia
36  Pause
37)
38
39:End
Note: See TracBrowser for help on using the repository browser.