<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 15/10/2012 1:28 πμ, Chavoux Luyt
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPGeeiHEWh7wDrCtyZKQN4vXp6t1UAbdE-dHw8qystZOenCasw@mail.gmail.com"
      type="cite">Thanks Mattias<br>
      <br>
      <div class="gmail_quote">On 14 October 2012 23:04, Mattias
        Gaertner <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div class="HOEnZb">
            <div class="h5">On Sun, 14 Oct 2012 22:44:29 +0200<br>
              Chavoux Luyt <<a moz-do-not-send="true"
                href="mailto:chavoux@gmail.com">chavoux@gmail.com</a>>
              wrote:<br>
              <br>
              > Hi guys<br>
              ><br>
              > How do I add the nxPascal directory (or other units
              (.pas files)) to the<br>
              > Lazarus source directory? </div>
          </div>
        </blockquote>
        <div><snip>  </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Do you mean
          to all your projects or really to all projects?<br>
        </blockquote>
        <div>Sorry, I mean available to all my projects.  </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <br>
          Recommended way:<br>
          Create a package, add your shared sources and then add the
          package to<br>
          any project that needs the units.<br>
        </blockquote>
        <div>Ahh. I downloaded the nxPascal source files (all .pas
          units) and I don't think they are currently in a package. The
          demos that come with it has the .pas files in its uses
          clause... If I put them all in a package, how do I include the
          package in the demos (if it is not a visual component)?</div>
      </div>
    </blockquote>
    <br>
    You add the package as a dependency on your demo see the menu
    package\package inspector, press the big plus button on the left
    labeled "add" and select the second tab labeled "New Requirement".<br>
  </body>
</html>