Changeset 116 for trunk/Install/win


Ignore:
Timestamp:
Feb 3, 2018, 2:31:35 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Build also StdAI DLL during Windows installer preparation.
Location:
trunk/Install/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/win/C-evo.iss

    r114 r116  
    7070Source: "{#MyAppSubDir}\Language.txt"; DestDir: "{app}"; Flags: ignoreversion
    7171Source: "{#MyAppSubDir}\Language2.txt"; DestDir: "{app}"; Flags: ignoreversion
    72 Source: "{#MyAppSubDir}\AI\lib\x86_64-win64\StdAI.dll"; DestDir: "{app}\AI"; DestName: "StdAI-win64.dll"; Flags: ignoreversion; Check: Is64BitInstallMode
    73 Source: "{#MyAppSubDir}\AI\lib\i386-win32\StdAI.dll"; DestDir: "{app}\AI"; DestName: "StdAI-win32.dll"; Flags: ignoreversion; Check: not Is64BitInstallMode
     72Source: "{#MyAppSubDir}\AI\lib\x86_64-win64-Release\StdAI.dll"; DestDir: "{app}\AI"; DestName: "StdAI-win64.dll"; Flags: ignoreversion; Check: Is64BitInstallMode
     73Source: "{#MyAppSubDir}\AI\lib\i386-win32-Release\StdAI.dll"; DestDir: "{app}\AI"; DestName: "StdAI-win32.dll"; Flags: ignoreversion; Check: not Is64BitInstallMode
    7474Source: "{#MyAppSubDir}\AI\StdAI.png"; DestDir: "{app}\AI"; Flags: ignoreversion;
    7575Source: "{#MyAppSubDir}\AI\StdAI.ai.txt"; DestDir: "{app}\AI"; Flags: ignoreversion;
  • 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.