Ignore:
Timestamp:
Apr 21, 2018, 11:40:27 AM (6 years ago)
Author:
chronos
Message:
  • Added: Other available AI libraries to AI subdirectory. The game detects new AI libraries by searching subdirectories in AI directory and its specification file .ai.txt. Note that precompiled 32-bit DLLs work only under 32-bit Windows.
File:
1 edited

Legend:

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

    r116 r124  
    77rem Build AI
    88SET PROJECTNAME=AIProject
    9 SET MAIN_DLL=..\..\AI\StdAI.dll
    10 SET WIN32_DLL=..\..\AI\lib\i386-win32-Release\StdAI.dll
    11 SET WIN64_DLL=..\..\AI\lib\x86_64-win64-Release\StdAI.dll
     9SET MAIN_DLL=..\..\AI\StdAI\StdAI.dll
     10SET WIN32_DLL=..\..\AI\StdAI\lib\i386-win32-Release\StdAI.dll
     11SET WIN64_DLL=..\..\AI\StdAI\lib\x86_64-win64-Release\StdAI.dll
    1212IF EXIST %MAIN_DLL% del %MAIN_DLL%
    1313IF EXIST %WIN32_DLL% del %WIN32_DLL%
    1414IF EXIST %WIN64_DLL% del %WIN64_DLL%
    1515
    16 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=i386 --operating-system=Win32 ..\..\AI\%PROJECTNAME%.lpi
     16%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=i386 --operating-system=Win32 ..\..\AI\StdAI\%PROJECTNAME%.lpi
    1717copy %MAIN_DLL% %WIN32_DLL%
    18 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=x86_64 --operating-system=Win64 ..\..\AI\%PROJECTNAME%.lpi
     18%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=x86_64 --operating-system=Win64 ..\..\AI\StdAI\%PROJECTNAME%.lpi
    1919copy %MAIN_DLL% %WIN64_DLL%
    2020
Note: See TracChangeset for help on using the changeset viewer.