Changeset 167 for trunk


Ignore:
Timestamp:
Jan 21, 2018, 3:03:17 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Use only two project build modes, Debug and Release. Select CPU and OS explicitly for Windows OS.
  • Modified: Build to lib dir with buildmode in the name to avoid rebuild if Debug/Release mode switched.
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/AcronymDecoder.lpi

    r165 r167  
    1919      <OutDir Value="Languages"/>
    2020    </i18n>
    21     <BuildModes Count="6">
     21    <BuildModes Count="2">
    2222      <Item1 Name="Debug" Default="True"/>
    2323      <Item2 Name="Release">
     
    3131            <IncludeFiles Value="$(ProjOutDir)"/>
    3232            <OtherUnitFiles Value="Forms"/>
    33             <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
     33            <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)-${BuildMode}"/>
    3434          </SearchPaths>
    3535          <Parsing>
     
    6565        </CompilerOptions>
    6666      </Item2>
    67       <Item3 Name="Windows 32-bit">
    68         <CompilerOptions>
    69           <Version Value="11"/>
    70           <PathDelim Value="\"/>
    71           <Target>
    72             <Filename Value="lib\$(TargetCPU)-$(TargetOS)\AcronymDecoder"/>
    73           </Target>
    74           <SearchPaths>
    75             <IncludeFiles Value="$(ProjOutDir)"/>
    76             <OtherUnitFiles Value="Forms"/>
    77             <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
    78           </SearchPaths>
    79           <Parsing>
    80             <SyntaxOptions>
    81               <SyntaxMode Value="Delphi"/>
    82               <CStyleOperator Value="False"/>
    83               <AllowLabel Value="False"/>
    84               <CPPInline Value="False"/>
    85             </SyntaxOptions>
    86           </Parsing>
    87           <CodeGeneration>
    88             <SmartLinkUnit Value="True"/>
    89             <TargetCPU Value="i386"/>
    90             <TargetOS Value="win32"/>
    91             <Optimizations>
    92               <OptimizationLevel Value="3"/>
    93             </Optimizations>
    94           </CodeGeneration>
    95           <Linking>
    96             <Debugging>
    97               <GenerateDebugInfo Value="False"/>
    98             </Debugging>
    99             <LinkSmart Value="True"/>
    100             <Options>
    101               <Win32>
    102                 <GraphicApplication Value="True"/>
    103               </Win32>
    104             </Options>
    105           </Linking>
    106           <Other>
    107             <CompilerMessages>
    108               <IgnoredMessages idx5024="True"/>
    109             </CompilerMessages>
    110           </Other>
    111         </CompilerOptions>
    112       </Item3>
    113       <Item4 Name="Windows 64-bit">
    114         <CompilerOptions>
    115           <Version Value="11"/>
    116           <PathDelim Value="\"/>
    117           <Target>
    118             <Filename Value="lib\$(TargetCPU)-$(TargetOS)\AcronymDecoder"/>
    119           </Target>
    120           <SearchPaths>
    121             <IncludeFiles Value="$(ProjOutDir)"/>
    122             <OtherUnitFiles Value="Forms"/>
    123             <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
    124           </SearchPaths>
    125           <Parsing>
    126             <SyntaxOptions>
    127               <SyntaxMode Value="Delphi"/>
    128               <CStyleOperator Value="False"/>
    129               <AllowLabel Value="False"/>
    130               <CPPInline Value="False"/>
    131             </SyntaxOptions>
    132           </Parsing>
    133           <CodeGeneration>
    134             <SmartLinkUnit Value="True"/>
    135             <TargetCPU Value="x86_64"/>
    136             <TargetOS Value="win64"/>
    137             <Optimizations>
    138               <OptimizationLevel Value="3"/>
    139             </Optimizations>
    140           </CodeGeneration>
    141           <Linking>
    142             <Debugging>
    143               <GenerateDebugInfo Value="False"/>
    144             </Debugging>
    145             <LinkSmart Value="True"/>
    146             <Options>
    147               <Win32>
    148                 <GraphicApplication Value="True"/>
    149               </Win32>
    150             </Options>
    151           </Linking>
    152           <Other>
    153             <CompilerMessages>
    154               <IgnoredMessages idx5024="True"/>
    155             </CompilerMessages>
    156           </Other>
    157         </CompilerOptions>
    158       </Item4>
    159       <Item5 Name="Linux 32-bit">
    160         <CompilerOptions>
    161           <Version Value="11"/>
    162           <PathDelim Value="\"/>
    163           <Target>
    164             <Filename Value="lib\$(TargetCPU)-$(TargetOS)\AcronymDecoder"/>
    165           </Target>
    166           <SearchPaths>
    167             <IncludeFiles Value="$(ProjOutDir)"/>
    168             <OtherUnitFiles Value="Forms"/>
    169             <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
    170           </SearchPaths>
    171           <Parsing>
    172             <SyntaxOptions>
    173               <SyntaxMode Value="Delphi"/>
    174               <CStyleOperator Value="False"/>
    175               <AllowLabel Value="False"/>
    176               <CPPInline Value="False"/>
    177             </SyntaxOptions>
    178           </Parsing>
    179           <CodeGeneration>
    180             <SmartLinkUnit Value="True"/>
    181             <TargetCPU Value="i386"/>
    182             <TargetOS Value="linux"/>
    183             <Optimizations>
    184               <OptimizationLevel Value="3"/>
    185             </Optimizations>
    186           </CodeGeneration>
    187           <Linking>
    188             <Debugging>
    189               <GenerateDebugInfo Value="False"/>
    190             </Debugging>
    191             <LinkSmart Value="True"/>
    192             <Options>
    193               <Win32>
    194                 <GraphicApplication Value="True"/>
    195               </Win32>
    196             </Options>
    197           </Linking>
    198           <Other>
    199             <CompilerMessages>
    200               <IgnoredMessages idx5024="True"/>
    201             </CompilerMessages>
    202           </Other>
    203         </CompilerOptions>
    204       </Item5>
    205       <Item6 Name="Linux 64-bit">
    206         <CompilerOptions>
    207           <Version Value="11"/>
    208           <PathDelim Value="\"/>
    209           <Target>
    210             <Filename Value="lib\$(TargetCPU)-$(TargetOS)\AcronymDecoder"/>
    211           </Target>
    212           <SearchPaths>
    213             <IncludeFiles Value="$(ProjOutDir)"/>
    214             <OtherUnitFiles Value="Forms"/>
    215             <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
    216           </SearchPaths>
    217           <Parsing>
    218             <SyntaxOptions>
    219               <SyntaxMode Value="Delphi"/>
    220               <CStyleOperator Value="False"/>
    221               <AllowLabel Value="False"/>
    222               <CPPInline Value="False"/>
    223             </SyntaxOptions>
    224           </Parsing>
    225           <CodeGeneration>
    226             <SmartLinkUnit Value="True"/>
    227             <TargetCPU Value="x86_64"/>
    228             <TargetOS Value="linux"/>
    229             <Optimizations>
    230               <OptimizationLevel Value="3"/>
    231             </Optimizations>
    232           </CodeGeneration>
    233           <Linking>
    234             <Debugging>
    235               <GenerateDebugInfo Value="False"/>
    236             </Debugging>
    237             <LinkSmart Value="True"/>
    238             <Options>
    239               <Win32>
    240                 <GraphicApplication Value="True"/>
    241               </Win32>
    242             </Options>
    243           </Linking>
    244           <Other>
    245             <CompilerMessages>
    246               <IgnoredMessages idx5024="True"/>
    247             </CompilerMessages>
    248           </Other>
    249         </CompilerOptions>
    250       </Item6>
    25167    </BuildModes>
    25268    <PublishOptions>
     
    403219      <IncludeFiles Value="$(ProjOutDir)"/>
    404220      <OtherUnitFiles Value="Forms"/>
    405       <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
     221      <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)-${BuildMode}"/>
    406222    </SearchPaths>
    407223    <Parsing>
  • trunk/Install/deb/debian/changelog

    r135 r167  
    1 acronym-decoder (1.3.1-1) precise; urgency=low
     1acronym-decoder (1.5.0-0) precise; urgency=low
    22
    3   * Original version 1.3.1 packaged with lazdebian
     3  * Original version 1.5.0 packaged with lazdebian
    44
    5  -- Chronos <robie@centrum.cz>  Sun, 27 Nov 2016 00:51:08 +0100
     5 -- Chronos <robie@centrum.cz>  Sun, 1 Jan 2018 00:51:08 +0100
  • trunk/Install/deb/debian/control

    r135 r167  
    33Section: utils
    44Priority: optional
    5 Standards-Version: 1.3.1
     5Standards-Version: 1.5.0
    66Build-Depends: fpc, lazarus, lcl, lcl-utils, debhelper (>= 8)
    77
  • trunk/Install/win/AcronymDecoder.iss

    r163 r167  
    6868
    6969[Files]
    70 Source: "{#MyAppSubDir}\lib\x86_64-win64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
    71 Source: "{#MyAppSubDir}\lib\i386-win32\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
     70Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
     71Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
    7272Source: "{#MyAppSubDir}\libeay32.dll"; DestDir: "{app}"; Flags: ignoreversion
    7373Source: "{#MyAppSubDir}\ssleay32.dll"; DestDir: "{app}"; Flags: ignoreversion
  • trunk/Install/win/build.bat

    r160 r167  
    22  set LAZDIR=C:\lazarus
    33)
    4 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Windows 32-bit" ..\..\AcronymDecoder.lpi
    5 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Windows 64-bit" ..\..\AcronymDecoder.lpi
     4%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=i386 --operating-system=Win32 ..\..\AcronymDecoder.lpi
     5copy ..\..\AcronymDecoder.exe ..\..\lib\i386-win32-Release
     6%LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Release" --cpu=x86_64 --operating-system=Win64 ..\..\AcronymDecoder.lpi
     7copy ..\..\AcronymDecoder.exe ..\..\lib\x86_64-win64-Release
    68
    79"c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "AcronymDecoder.iss"
Note: See TracChangeset for help on using the changeset viewer.