Changeset 500


Ignore:
Timestamp:
Jan 22, 2018, 10:16:49 AM (7 years ago)
Author:
chronos
Message:
  • Modified: Place application executable to main project directory and copy it elsewhere in build.bat script.
Location:
ProjectTemplates/FileMenuProject
Files:
1 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • ProjectTemplates/FileMenuProject/FileMenuProject.lpi

    r499 r500  
    2727          <PathDelim Value="\"/>
    2828          <Target>
    29             <Filename Value="lib\$(TargetCPU)-$(TargetOS)-${BuildMode}\FileMenuProject"/>
     29            <Filename Value="FileMenuProject"/>
    3030          </Target>
    3131          <SearchPaths>
     
    6363              <IgnoredMessages idx5024="True"/>
    6464            </CompilerMessages>
    65             <ExecuteBefore>
    66               <Command Value="prepare.bat lib\$(TargetCPU)-$(TargetOS)-${BuildMode}"/>
    67               <CompileReasons Compile="False" Build="False"/>
    68             </ExecuteBefore>
    6965          </Other>
    7066        </CompilerOptions>
     
    143139    <PathDelim Value="\"/>
    144140    <Target>
    145       <Filename Value="lib\$(TargetCPU)-$(TargetOS)-${BuildMode}\FileMenuProject"/>
     141      <Filename Value="FileMenuProject"/>
    146142    </Target>
    147143    <SearchPaths>
     
    183179      </CompilerMessages>
    184180      <CustomOptions Value="-dDEBUG"/>
    185       <ExecuteBefore>
    186         <Command Value="prepare.bat lib\$(TargetCPU)-$(TargetOS)-${BuildMode}"/>
    187         <CompileReasons Compile="False" Build="False"/>
    188       </ExecuteBefore>
    189181    </Other>
    190182  </CompilerOptions>
  • ProjectTemplates/FileMenuProject/Install/win/build.bat

    r497 r500  
    22  set LAZDIR=C:\lazarus
    33)
    4 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=i386 --operating-system=Win32 ..\..\Application.lpi
    5 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=x86_64 --operating-system=Win64 ..\..\Application.lpi
     4SET APPNAME=FileMenuProject
     5%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=i386 --operating-system=Win32 ..\..\%APPNAME%.lpi
     6copy ..\..\%APPNAME%.exe ..\..\lib\i386-win32-Release
     7%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=x86_64 --operating-system=Win64 ..\..\%APPNAME%.lpi
     8copy ..\..\%APPNAME%.exe ..\..\lib\x86_64-win64-Release
    69
    7 "c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "Application.iss"
     10"c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "%APPNAME%.iss"
     11
Note: See TracChangeset for help on using the changeset viewer.