Changeset 0783660 in tol for windows/build_tools
- Timestamp:
- Dec 7, 2015, 11:08:24 AM (11 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 93d69e0
- Parents:
- 06328fd
- Location:
- windows/build_tools
- Files:
-
- 3 edited
-
_uptol.bat (modified) (10 diffs)
-
build_tol_sdk/build_tol_sdk.tol (modified) (1 diff)
-
uptol.bat (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
windows/build_tools/_uptol.bat
r06328fd r0783660 53 53 Goto NEXT_OPTS 54 54 ) 55 If "%1"=="/dist" ( 56 Set _dodist=1 57 Set _dotests=1 58 Goto NEXT_OPTS 59 ) 55 60 If "%1"=="/tests" ( 56 61 Set _dotests=1 … … 61 66 Goto NEXT_OPTS 62 67 ) 63 If "%1"=="/dist" ( 64 Set _dodist=1 65 Goto NEXT_OPTS 66 ) 68 67 69 Set _msg_error=Opcion invalida %1 68 70 Goto ERROR … … 129 131 :COMPILE 130 132 Rem Verifico que ejecutemos desde el SDK 131 If Not Defined MSSdk ( 133 clrver 1> nul 2> nul 134 If Not "%ERRORLEVEL%"=="0" ( 132 135 Set _msg_error=Solo se puede compilar desde una consola Microsoft Platform SDK 133 136 Goto ERROR 134 137 ) 138 135 139 If Not Defined _mod ( 136 140 Set _msg_error=Error interno! variable _mod no definida en COMPILE … … 311 315 If "%_dodist%"=="1" ( 312 316 If "%_dotests%"=="0" ( 313 Echo "Forzando los test de tol debido a que se ha solicitado /dist" 314 Set _dotests=1 317 Echo "NO se estan forzando los test a pesar de haber solicitado /dist" 315 318 ) 316 319 ) … … 371 374 Rem empaco la distribucion de tolbase si me lo han pedido 372 375 If "%_dodist%"=="1" ( 373 If Not Exist ..\NSIS\ Tolbase*.exe (374 Echo ..\NSIS\ Tolbase*.exe no existe376 If Not Exist ..\NSIS\tol*.exe ( 377 Echo ..\NSIS\tol*.exe no existe 375 378 If Not "%_pnsis%"=="1" ( 376 379 Echo Habilitando /pnsis para poder hacer /dist … … 382 385 If "%_pnsis%"=="1" ( 383 386 384 Echo Generando el archivo de creación del instalador de tolbase...387 Echo Generando el archivo de creación del instalador de TOL ... 385 388 ..\ActiveTOL\bin\tol -v ..\NSIS\Tolbase.nsi.generate.tol 386 389 If Not Exist ..\NSIS\Tolbase.nsi ( … … 388 391 Goto ERROR 389 392 ) 390 If Exist ..\NSIS\ Tolbase*.exe (391 Del /Q ..\NSIS\ Tolbase*.exe392 ) 393 Echo Creando instalador de tolbase...393 If Exist ..\NSIS\tol*.exe ( 394 Del /Q ..\NSIS\tol*.exe 395 ) 396 Echo Creando instalador de TOL ... 394 397 makensis /V2 /X"SetCompressor /FINAL /SOLID lzma" ..\NSIS\Tolbase.nsi 395 If Exist ..\NSIS\ Tolbase*.exe (396 Echo El instalador de T olbaseha sido creado en "%_cwd%\..\NSIS"398 If Exist ..\NSIS\tol*.exe ( 399 Echo El instalador de TOL ha sido creado en "%_cwd%\..\NSIS" 397 400 ) Else ( 398 401 Set _msg_error=No se ha encontrado el resultado de ejecutar makensis … … 405 408 Echo status es %test_status% 406 409 If "%_dodist%"=="1" ( 407 If Exist ..\NSIS\ Tolbase*.exe (408 For %%f In (..\NSIS\ Tolbase*.exe) Do (410 If Exist ..\NSIS\tol*.exe ( 411 For %%f In (..\NSIS\tol-msvc-v*-win32.exe) Do ( 409 412 Echo encontrado %%~nxf 410 413 Set _fbin=%%~nxf … … 417 420 REM ..\ActiveTOL\bin\tol -v -c"Text WriteFile(\"last_official_tol_release_win.txt\",Version);" 418 421 REM pscp last_official_tol_release_win.txt toldevel@tolp.localbayes.es:. 419 Echo copiando Tolbasehacia www.tol-project.org420 pscp Tolbase*.exe toldevel@tolp.localbayes.es:/var/www/packages/win32/.422 Echo copiando el instalador hacia www.tol-project.org 423 pscp tol*.exe toldevel@tolp.localbayes.es:/var/www/packages/win32/. 421 424 If "%_branchid%"=="REMtrunkREM" ( 422 Echo copiando tol base-%_versionNumber%-setup.exe como tolbase-cvstrunk-setup.exe en www.tol-project.org423 plink tdt@cvs.tol-project.org "cp /home/bayes/pub/bin/win/tol base-%_versionNumber%-setup.exe /home/bayes/pub/bin/win/tolbase-cvstrunk-setup.exe"425 Echo copiando tol-msvc-v%_versionNumber%-win32.exe como tolbase-cvstrunk-setup.exe en www.tol-project.org 426 plink tdt@cvs.tol-project.org "cp /home/bayes/pub/bin/win/tol-msvc-v%_versionNumber%-win32.exe /home/bayes/pub/bin/win/tolbase-cvstrunk-setup.exe" 424 427 ) 425 428 REM Echo Moviendo el empaquetado a la carpeta de almacenamiento historico … … 432 435 Echo.>>%_fbody% 433 436 ) Else ( 434 Echo No se puede enviar Tolbasehacia www.tol-project.exe pues no existe en NSIS437 Echo No se puede enviar el instalador hacia www.tol-project.exe pues no existe en NSIS 435 438 Set _msg_error=Utilice /pnsis para construirlo 436 439 Goto ERROR -
windows/build_tools/build_tol_sdk/build_tol_sdk.tol
r06328fd r0783660 21 21 Real PlainHeader(Text sourcePath, Text sdkIncPath) 22 22 { 23 WriteLn("PlainHeader "+sourcePath); 24 Set dir = GetDir(sourcePath); 25 Set head = Select(dir[1],Real(Text s) 26 { 27 Or(TextEndAt(s,".h"),TextEndAt(s,".hpp")) 28 }); 29 Set EvalSet(head,Real(Text file) 30 { 31 OSFilCopy(sourcePath+"/"+file,sdkIncPath+"/"+file) 32 }); 33 Set sub = Select(dir[2],Real(Text s) 34 { 35 And(!TextBeginWith(s,"."),!TextBeginWith(s,"win")) 36 }); 37 Set EvalSet(sub,Real(Text s) 38 { 39 PlainHeader(sourcePath+"/"+s, sdkIncPath) 40 }); 41 True 23 Case(TextMatch(sourcePath, "*CodeLite*"), { 24 False 25 }, TextMatch(sourcePath, "*BUILD_CMAKE*"), { 26 False 27 }, True, { 28 WriteLn("PlainHeader "+sourcePath); 29 Set dir = GetDir(sourcePath); 30 Set head = Select(dir[1],Real(Text s) 31 { 32 Or(TextEndAt(s,".h"),TextEndAt(s,".hpp")) 33 }); 34 Set EvalSet(head,Real(Text file) 35 { 36 OSFilCopy(sourcePath+"/"+file,sdkIncPath+"/"+file) 37 }); 38 Set sub = Select(dir[2],Real(Text s) 39 { 40 And(!TextBeginWith(s,"."),!TextBeginWith(s,"win")) 41 }); 42 Set EvalSet(sub,Real(Text s) 43 { 44 PlainHeader(sourcePath+"/"+s, sdkIncPath) 45 }); 46 True 47 }) 42 48 }; 43 49 -
windows/build_tools/uptol.bat
r06328fd r0783660 9 9 10 10 SetLocal enableextensions enabledelayedexpansion 11 12 11 13 12 If not "%1"=="/no_update" ( … … 39 38 If Defined VS90COMNTOOLS ( 40 39 Echo Reconocido el entorno de desarrollo VS90 41 Set VSCOMNTOOLS= %VS90COMNTOOLS%40 Set VSCOMNTOOLS=!VS90COMNTOOLS! 42 41 Set winSrc=win-VC9 43 42 ) Else If Defined VS80COMNTOOLS ( 44 43 Echo Reconocido el entorno de desarrollo VS80 45 Set VSCOMNTOOLS= %VS80COMNTOOLS%44 Set VSCOMNTOOLS=!VS80COMNTOOLS! 46 45 Set winSrc=win-VC8 47 46 ) Else ( … … 50 49 ) 51 50 51 Rem Se utiliza una ubicación 'limpia' de TOLHOME 52 Set TOLHOME=!CD!\..\building_tolhome\ 53 52 54 CALL _uptol.bat %* 53 55 54 ..\ActiveTOL_Patch.exe -y55 56 56 :END
Note: See TracChangeset
for help on using the changeset viewer.
