Changeset 27


Ignore:
Timestamp:
Jan 8, 2017, 6:24:12 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Now Windows installer contains both 32-bit and 64-bit versions of both C-evo.exe and StdAI.dll.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/AI/AIProject.lpi

    r24 r27  
    2222      <StringTable ProductVersion=""/>
    2323    </VersionInfo>
    24     <BuildModes Count="2">
     24    <BuildModes Count="4">
    2525      <Item1 Name="Debug" Default="True"/>
    2626      <Item2 Name="Release">
     
    6464        </CompilerOptions>
    6565      </Item2>
     66      <Item3 Name="Windows 32-bit">
     67        <CompilerOptions>
     68          <Version Value="11"/>
     69          <PathDelim Value="\"/>
     70          <Target>
     71            <Filename Value="lib\$(TargetCPU)-$(TargetOS)\StdAI"/>
     72          </Target>
     73          <SearchPaths>
     74            <IncludeFiles Value="$(ProjOutDir)"/>
     75            <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
     76          </SearchPaths>
     77          <Parsing>
     78            <SyntaxOptions>
     79              <SyntaxMode Value="Delphi"/>
     80              <CStyleOperator Value="False"/>
     81              <AllowLabel Value="False"/>
     82              <CPPInline Value="False"/>
     83            </SyntaxOptions>
     84          </Parsing>
     85          <CodeGeneration>
     86            <TargetCPU Value="i386"/>
     87            <TargetOS Value="win32"/>
     88            <Optimizations>
     89              <OptimizationLevel Value="3"/>
     90            </Optimizations>
     91          </CodeGeneration>
     92          <Linking>
     93            <Debugging>
     94              <GenerateDebugInfo Value="False"/>
     95            </Debugging>
     96            <Options>
     97              <Win32>
     98                <GraphicApplication Value="True"/>
     99              </Win32>
     100              <ExecutableType Value="Library"/>
     101            </Options>
     102          </Linking>
     103          <Other>
     104            <CustomOptions Value="-dBorland -dVer150 -dDelphi7 -dCompiler6_Up -dPUREPASCAL"/>
     105          </Other>
     106        </CompilerOptions>
     107      </Item3>
     108      <Item4 Name="Windows 64-bit">
     109        <CompilerOptions>
     110          <Version Value="11"/>
     111          <PathDelim Value="\"/>
     112          <Target>
     113            <Filename Value="lib\$(TargetCPU)-$(TargetOS)\StdAI"/>
     114          </Target>
     115          <SearchPaths>
     116            <IncludeFiles Value="$(ProjOutDir)"/>
     117            <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
     118          </SearchPaths>
     119          <Parsing>
     120            <SyntaxOptions>
     121              <SyntaxMode Value="Delphi"/>
     122              <CStyleOperator Value="False"/>
     123              <AllowLabel Value="False"/>
     124              <CPPInline Value="False"/>
     125            </SyntaxOptions>
     126          </Parsing>
     127          <CodeGeneration>
     128            <TargetCPU Value="x86_64"/>
     129            <TargetOS Value="win64"/>
     130            <Optimizations>
     131              <OptimizationLevel Value="3"/>
     132            </Optimizations>
     133          </CodeGeneration>
     134          <Linking>
     135            <Debugging>
     136              <GenerateDebugInfo Value="False"/>
     137            </Debugging>
     138            <Options>
     139              <Win32>
     140                <GraphicApplication Value="True"/>
     141              </Win32>
     142              <ExecutableType Value="Library"/>
     143            </Options>
     144          </Linking>
     145          <Other>
     146            <CustomOptions Value="-dBorland -dVer150 -dDelphi7 -dCompiler6_Up -dPUREPASCAL"/>
     147          </Other>
     148        </CompilerOptions>
     149      </Item4>
    66150    </BuildModes>
    67151    <PublishOptions>
  • trunk/Install/win/C-evo.iss

    r13 r27  
    2323AppSupportURL={#MyAppURL}
    2424AppUpdatesURL={#MyAppURL}
    25 DefaultDirName={pf}\{#MyAppPublisherShort}\{#MyAppName}
    26 DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
     25DefaultDirName={pf}\{#MyAppName}
     26DefaultGroupName={#MyAppName}
    2727AllowNoIcons=yes
    2828OutputDir=.
     
    3535; 64-bit Program Files directory and the 64-bit view of the registry.
    3636; On all other architectures it will install in "32-bit mode".
    37 ;ArchitecturesInstallIn64BitMode=x64
     37ArchitecturesInstallIn64BitMode=x64
    3838; Note: We don't set ProcessorsAllowed because we want this
    3939; installation to run on all architectures (including Itanium,
     
    5757
    5858[Files]
    59 ;Source: "{#MyAppSubDir}\lib\x86_64-win64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
    60 Source: "{#MyAppSubDir}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion;
    61 ;Check: not Is64BitInstallMode
     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
    6261Source: "{#MyAppSubDir}\Graphics\*"; DestDir: "{app}\Graphics"; Flags: ignoreversion
    6362Source: "{#MyAppSubDir}\Sounds\*.*"; DestDir: "{app}\Sounds"; Flags: ignoreversion
    6463Source: "{#MyAppSubDir}\Tribes\*.*"; DestDir: "{app}\Tribes"; Flags: ignoreversion
    6564Source: "{#MyAppSubDir}\Help\*.*"; DestDir: "{app}\Help"; Flags: ignoreversion
    66 Source: "{#MyAppSubDir}\fonts.txt"; DestDir: "{app}\fonts.txt"; Flags: ignoreversion
    67 Source: "{#MyAppSubDir}\language.txt"; DestDir: "{app}"; Flags: ignoreversion
    68 Source: "{#MyAppSubDir}\language2.txt"; DestDir: "{app}"; Flags: ignoreversion
    69 Source: "{#MyAppSubDir}\StdAI.*"; DestDir: "{app}"; Flags: ignoreversion
     65Source: "{#MyAppSubDir}\Fonts.txt"; DestDir: "{app}\fonts.txt"; Flags: ignoreversion
     66Source: "{#MyAppSubDir}\Language.txt"; DestDir: "{app}"; Flags: ignoreversion
     67Source: "{#MyAppSubDir}\Language2.txt"; DestDir: "{app}"; Flags: ignoreversion
     68Source: "{#MyAppSubDir}\AI\lib\x86_64-win64\StdAI.dll"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
     69Source: "{#MyAppSubDir}\AI\lib\i386-win32\StdAI.dll"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
     70Source: "{#MyAppSubDir}\StdAI.bmp"; DestDir: "{app}"; Flags: ignoreversion;
     71Source: "{#MyAppSubDir}\StdAI.ai.txt"; DestDir: "{app}"; Flags: ignoreversion;
    7072; NOTE: Don't use "Flags: ignoreversion" on any shared system files
    7173
  • trunk/Integrated.lpi

    r21 r27  
    2222      <StringTable ProductVersion=""/>
    2323    </VersionInfo>
    24     <BuildModes Count="2">
     24    <BuildModes Count="4">
    2525      <Item1 Name="Debug" Default="True"/>
    2626      <Item2 Name="Release">
     
    6868        </CompilerOptions>
    6969      </Item2>
     70      <Item3 Name="Windows 32-bit">
     71        <CompilerOptions>
     72          <Version Value="11"/>
     73          <PathDelim Value="\"/>
     74          <Target>
     75            <Filename Value="lib\$(TargetCPU)-$(TargetOS)\c-evo"/>
     76          </Target>
     77          <SearchPaths>
     78            <IncludeFiles Value="LocalPlayer;$(ProjOutDir)"/>
     79            <OtherUnitFiles Value="LocalPlayer"/>
     80            <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
     81          </SearchPaths>
     82          <Parsing>
     83            <SyntaxOptions>
     84              <SyntaxMode Value="Delphi"/>
     85              <CStyleOperator Value="False"/>
     86              <AllowLabel Value="False"/>
     87              <CPPInline Value="False"/>
     88            </SyntaxOptions>
     89          </Parsing>
     90          <CodeGeneration>
     91            <SmartLinkUnit Value="True"/>
     92            <TargetCPU Value="i386"/>
     93            <TargetOS Value="win32"/>
     94            <Optimizations>
     95              <OptimizationLevel Value="3"/>
     96            </Optimizations>
     97          </CodeGeneration>
     98          <Linking>
     99            <Debugging>
     100              <GenerateDebugInfo Value="False"/>
     101            </Debugging>
     102            <LinkSmart Value="True"/>
     103            <Options>
     104              <Win32>
     105                <GraphicApplication Value="True"/>
     106              </Win32>
     107            </Options>
     108          </Linking>
     109          <Other>
     110            <CustomOptions Value="-dBorland -dVer150 -dDelphi7 -dCompiler6_Up -dPUREPASCAL"/>
     111          </Other>
     112        </CompilerOptions>
     113      </Item3>
     114      <Item4 Name="Windows 64-bit">
     115        <CompilerOptions>
     116          <Version Value="11"/>
     117          <PathDelim Value="\"/>
     118          <Target>
     119            <Filename Value="lib\$(TargetCPU)-$(TargetOS)\c-evo"/>
     120          </Target>
     121          <SearchPaths>
     122            <IncludeFiles Value="LocalPlayer;$(ProjOutDir)"/>
     123            <OtherUnitFiles Value="LocalPlayer"/>
     124            <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
     125          </SearchPaths>
     126          <Parsing>
     127            <SyntaxOptions>
     128              <SyntaxMode Value="Delphi"/>
     129              <CStyleOperator Value="False"/>
     130              <AllowLabel Value="False"/>
     131              <CPPInline Value="False"/>
     132            </SyntaxOptions>
     133          </Parsing>
     134          <CodeGeneration>
     135            <SmartLinkUnit Value="True"/>
     136            <TargetCPU Value="x86_64"/>
     137            <TargetOS Value="win64"/>
     138            <Optimizations>
     139              <OptimizationLevel Value="3"/>
     140            </Optimizations>
     141          </CodeGeneration>
     142          <Linking>
     143            <Debugging>
     144              <GenerateDebugInfo Value="False"/>
     145            </Debugging>
     146            <LinkSmart Value="True"/>
     147            <Options>
     148              <Win32>
     149                <GraphicApplication Value="True"/>
     150              </Win32>
     151            </Options>
     152          </Linking>
     153          <Other>
     154            <CustomOptions Value="-dBorland -dVer150 -dDelphi7 -dCompiler6_Up -dPUREPASCAL"/>
     155          </Other>
     156        </CompilerOptions>
     157      </Item4>
    70158    </BuildModes>
    71159    <PublishOptions>
Note: See TracChangeset for help on using the changeset viewer.