Ignore:
Timestamp:
Feb 3, 2018, 2:31:35 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Build also StdAI DLL during Windows installer preparation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/win/build.bat

    r101 r116  
    44  set LAZDIR=C:\lazarus
    55)
     6
     7rem Build AI
     8SET PROJECTNAME=AIProject
     9SET MAIN_DLL=..\..\AI\StdAI.dll
     10SET WIN32_DLL=..\..\AI\lib\i386-win32-Release\StdAI.dll
     11SET WIN64_DLL=..\..\AI\lib\x86_64-win64-Release\StdAI.dll
     12IF EXIST %MAIN_DLL% del %MAIN_DLL%
     13IF EXIST %WIN32_DLL% del %WIN32_DLL%
     14IF EXIST %WIN64_DLL% del %WIN64_DLL%
     15
     16%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=i386 --operating-system=Win32 ..\..\AI\%PROJECTNAME%.lpi
     17copy %MAIN_DLL% %WIN32_DLL%
     18%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=x86_64 --operating-system=Win64 ..\..\AI\%PROJECTNAME%.lpi
     19copy %MAIN_DLL% %WIN64_DLL%
     20
     21rem Build game
    622SET PROJECTNAME=Integrated
    7 
    823SET MAIN_EXE=..\..\c-evo.exe
    924SET WIN32_EXE=..\..\lib\i386-win32-Release\c-evo.exe
Note: See TracChangeset for help on using the changeset viewer.