Selaa lähdekoodia

Add debug build mode for easier debugging. Tested with Lazarus 1.2 stable.

Reinier Olislagers 11 vuotta sitten
vanhempi
commit
8c3927c132
2 muutettua tiedostoa jossa 41 lisäystä ja 2 poistoa
  1. 40 1
      TurboBird.lpi
  2. 1 1
      readme.txt

+ 40 - 1
TurboBird.lpi

@@ -21,8 +21,47 @@
       <BuildNr Value="1095"/>
       <StringTable ProductVersion="0.9"/>
     </VersionInfo>
-    <BuildModes Count="1">
+    <BuildModes Count="2">
       <Item1 Name="default" Default="True"/>
+      <Item2 Name="debug">
+        <CompilerOptions>
+          <Version Value="11"/>
+          <SearchPaths>
+            <IncludeFiles Value="$(ProjOutDir)"/>
+            <OtherUnitFiles Value="../Synapse/source/lib"/>
+          </SearchPaths>
+          <Parsing>
+            <SyntaxOptions>
+              <IncludeAssertionCode Value="True"/>
+            </SyntaxOptions>
+          </Parsing>
+          <CodeGeneration>
+            <Checks>
+              <IOChecks Value="True"/>
+              <RangeChecks Value="True"/>
+              <OverflowChecks Value="True"/>
+              <StackChecks Value="True"/>
+            </Checks>
+            <VerifyObjMethodCallValidity Value="True"/>
+            <Optimizations>
+              <OptimizationLevel Value="0"/>
+            </Optimizations>
+          </CodeGeneration>
+          <Linking>
+            <Options>
+              <Win32>
+                <GraphicApplication Value="True"/>
+              </Win32>
+            </Options>
+          </Linking>
+          <Other>
+            <CompilerMessages>
+              <UseMsgFile Value="True"/>
+            </CompilerMessages>
+            <CompilerPath Value="$(CompPath)"/>
+          </Other>
+        </CompilerOptions>
+      </Item2>
     </BuildModes>
     <PublishOptions>
       <Version Value="2"/>

+ 1 - 1
readme.txt

@@ -1,6 +1,6 @@
 TurboBird uses Synapse package for http download
 
-For more information about synapse package please refere to it in below link:
+For more information about Synapse package please refer to it in below link:
 
 http://wiki.freepascal.org/Synapse