Browse Source

+ lazarus project for easier editing with lazarus

git-svn-id: trunk@26965 -
florian 11 years ago
parent
commit
7aa25e4385
3 changed files with 78 additions and 0 deletions
  1. 2 0
      .gitattributes
  2. 63 0
      packages/fcl-xml/buildfcl-xml.lpi
  3. 13 0
      packages/fcl-xml/buildfcl-xml.pp

+ 2 - 0
.gitattributes

@@ -3067,6 +3067,8 @@ packages/fcl-web/tests/testcgiapp.pp svneol=native#text/plain
 packages/fcl-xml/Makefile svneol=native#text/plain
 packages/fcl-xml/Makefile.fpc svneol=native#text/plain
 packages/fcl-xml/Makefile.fpc.fpcmake svneol=native#text/plain
+packages/fcl-xml/buildfcl-xml.lpi svneol=native#text/plain
+packages/fcl-xml/buildfcl-xml.pp svneol=native#text/plain
 packages/fcl-xml/fpmake.pp svneol=native#text/plain
 packages/fcl-xml/src/README.txt svneol=native#text/plain
 packages/fcl-xml/src/dom.pp svneol=native#text/plain

+ 63 - 0
packages/fcl-xml/buildfcl-xml.lpi

@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<CONFIG>
+  <ProjectOptions>
+    <Version Value="7"/>
+    <General>
+      <Flags>
+        <MainUnitHasUsesSectionForAllUnits Value="False"/>
+        <MainUnitHasCreateFormStatements Value="False"/>
+        <MainUnitHasTitleStatement Value="False"/>
+        <Runnable Value="False"/>
+        <LRSInOutputDirectory Value="False"/>
+      </Flags>
+      <SessionStorage Value="InProjectDir"/>
+      <MainUnit Value="0"/>
+      <TargetFileExt Value=".exe"/>
+      <Title Value="buildrtl"/>
+    </General>
+    <VersionInfo>
+      <ProjectVersion Value=""/>
+    </VersionInfo>
+    <PublishOptions>
+      <Version Value="2"/>
+      <IgnoreBinaries Value="False"/>
+      <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
+      <ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
+    </PublishOptions>
+    <RunParams>
+      <local>
+        <FormatVersion Value="1"/>
+        <LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
+      </local>
+    </RunParams>
+    <Units Count="1">
+      <Unit0>
+        <Filename Value="buildfcl-xml.pp"/>
+        <IsPartOfProject Value="True"/>
+        <UnitName Value="buildrtl"/>
+      </Unit0>
+    </Units>
+  </ProjectOptions>
+  <CompilerOptions>
+    <Version Value="8"/>
+    <SearchPaths>
+      <IncludeFiles Value="src/"/>
+      <OtherUnitFiles Value="src/"/>
+      <UnitOutputDirectory Value="units/$(TargetCPU)-$(TargetOS)"/>
+    </SearchPaths>
+    <Parsing>
+      <Style Value="2"/>
+    </Parsing>
+    <Other>
+      <Verbosity>
+        <ShowNotes Value="False"/>
+        <ShowHints Value="False"/>
+      </Verbosity>
+      <CompilerPath Value="$(CompPath)"/>
+      <ExecuteBefore>
+        <Command Value="cmd.exe /c &quot;if not exist units/$(TargetCPU)-$(TargetOS) mkdir units/$(TargetCPU)-$(TargetOS)&quot;"/>
+        <ShowAllMessages Value="True"/>
+      </ExecuteBefore>
+    </Other>
+  </CompilerOptions>
+</CONFIG>

+ 13 - 0
packages/fcl-xml/buildfcl-xml.pp

@@ -0,0 +1,13 @@
+{ This unit is only used to edit fcl-xml with lazarus }
+unit buildfclxml;
+
+  interface
+
+    uses
+      htmldefs, sax, xmlutils, dom, sax_html, dom_html, xmlcfg, xmlread,
+      xmlstreaming, xmlwrite, xhtml, htmwrite, xpath, htmlelements, htmlwriter,
+      xmlconf, sax_xml, xmliconv;
+
+  implementation
+
+end.