close Warning: Can't synchronize with repository "(default)" (No changeset 184 in the repository). Look in the Trac log for more information.

Changeset 113


Ignore:
Timestamp:
Nov 28, 2016, 11:06:51 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Create one setup for both 32-bit and 64-bit Windows.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/xTactics.iss

    r93 r113  
    3131SolidCompression=yes
    3232ChangesAssociations=yes
     33; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
     34; done in "64-bit mode" on x64, meaning it should use the native
     35; 64-bit Program Files directory and the 64-bit view of the registry.
     36; On all other architectures it will install in "32-bit mode".
     37ArchitecturesInstallIn64BitMode=x64
     38; Note: We don't set ProcessorsAllowed because we want this
     39; installation to run on all architectures (including Itanium,
     40; since it's capable of running 32-bit code too).
    3341
    3442[Languages]
     
    4957
    5058[Files]
    51 Source: "{#MyAppSubDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
    52 ;Source: "{#MyAppSubDir}\{#MyAppDebugName}"; DestDir: "{app}"; Flags: ignoreversion
     59Source: "{#MyAppSubDir}\lib\x86_64-win64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
     60Source: "{#MyAppSubDir}\lib\i386-win32\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
    5361Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
    5462Source: "{#MyAppSubDir}\Images\Maps\*.*"; DestDir: "{app}\Images\Maps"; Flags: ignoreversion
  • trunk/xtactics.lpi

    r111 r113  
    2121      <StringTable ProductVersion=""/>
    2222    </VersionInfo>
    23     <BuildModes Count="2">
     23    <BuildModes Count="4">
    2424      <Item1 Name="Debug" Default="True"/>
    2525      <Item2 Name="Release">
     
    6262        </CompilerOptions>
    6363      </Item2>
     64      <Item3 Name="Windows 32-bit">
     65        <CompilerOptions>
     66          <Version Value="11"/>
     67          <Target>
     68            <Filename Value="lib/$(TargetCPU)-$(TargetOS)/xtactics"/>
     69          </Target>
     70          <SearchPaths>
     71            <IncludeFiles Value="$(ProjOutDir)"/>
     72            <OtherUnitFiles Value="Forms"/>
     73            <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
     74          </SearchPaths>
     75          <Parsing>
     76            <SyntaxOptions>
     77              <SyntaxMode Value="Delphi"/>
     78              <CStyleOperator Value="False"/>
     79              <AllowLabel Value="False"/>
     80              <CPPInline Value="False"/>
     81            </SyntaxOptions>
     82          </Parsing>
     83          <CodeGeneration>
     84            <SmartLinkUnit Value="True"/>
     85            <TargetCPU Value="i386"/>
     86            <TargetOS Value="win32"/>
     87            <Optimizations>
     88              <OptimizationLevel Value="3"/>
     89            </Optimizations>
     90          </CodeGeneration>
     91          <Linking>
     92            <Debugging>
     93              <GenerateDebugInfo Value="False"/>
     94              <StripSymbols Value="True"/>
     95            </Debugging>
     96            <LinkSmart Value="True"/>
     97            <Options>
     98              <Win32>
     99                <GraphicApplication Value="True"/>
     100              </Win32>
     101            </Options>
     102          </Linking>
     103        </CompilerOptions>
     104      </Item3>
     105      <Item4 Name="Windows 64-bit">
     106        <CompilerOptions>
     107          <Version Value="11"/>
     108          <Target>
     109            <Filename Value="lib/$(TargetCPU)-$(TargetOS)/xtactics"/>
     110          </Target>
     111          <SearchPaths>
     112            <IncludeFiles Value="$(ProjOutDir)"/>
     113            <OtherUnitFiles Value="Forms"/>
     114            <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
     115          </SearchPaths>
     116          <Parsing>
     117            <SyntaxOptions>
     118              <SyntaxMode Value="Delphi"/>
     119              <CStyleOperator Value="False"/>
     120              <AllowLabel Value="False"/>
     121              <CPPInline Value="False"/>
     122            </SyntaxOptions>
     123          </Parsing>
     124          <CodeGeneration>
     125            <SmartLinkUnit Value="True"/>
     126            <TargetCPU Value="x86_64"/>
     127            <TargetOS Value="win64"/>
     128            <Optimizations>
     129              <OptimizationLevel Value="3"/>
     130            </Optimizations>
     131          </CodeGeneration>
     132          <Linking>
     133            <Debugging>
     134              <GenerateDebugInfo Value="False"/>
     135              <StripSymbols Value="True"/>
     136            </Debugging>
     137            <LinkSmart Value="True"/>
     138            <Options>
     139              <Win32>
     140                <GraphicApplication Value="True"/>
     141              </Win32>
     142            </Options>
     143          </Linking>
     144        </CompilerOptions>
     145      </Item4>
    64146    </BuildModes>
    65147    <PublishOptions>
Note: See TracChangeset for help on using the changeset viewer.