<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
    <title></title>
  </head>

  <body>
    <p style="margin: 0px;"><span> </span></p>

    <p style="margin: 0px;"> </p>

    <div style="margin: 5px 0px 5px 0px;">
      <br/>
       Frank Church <vfclists@gmail.com> hat am 14. Juli 2011 um 11:24 geschrieben:<br/>
      <br/>

      <blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
        <br/>
        <br/>

        <div class="gmail_quote">
          2011/7/14 Mattias Gaertner <span><<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>></span><br/>

          <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
            <span style="text-decoration: underline;"> </span> 

            <div>
              <p style="margin: 0px;"><span> </span></p>

              <p style="margin: 0px;"> </p>

              <div style="margin: 5px 0px;">
                <br/>
                 Frank Church <<a target="_blank" href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>> hat am 14. Juli 2011 um 10:11 geschrieben:<br/>
                <br/>

                <blockquote style="margin-left: 0px; padding-left: 10px; border-left: 1px solid blue;" type="cite">
                  [...]<br/>

                  <div class="gmail_quote">
                    <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
                      <div class="gmail_quote">
                        <div>
                          <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
                            <div class="im">
                              <div>
                                > If you are using different Lazarus versions but with same components and<br/>
                                 > packages, how would you organize separate build directories for the<br/>
                                 > different versions, but same source location.<br/>
                                 >
                              </div>
                            </div>

                            <div class="im">
                              There are many ways.<br/>
                               For example use one lazarus config directory for each version<br/>
                               combination and make all package output directories read only. Then the<br/>
                               IDE will put the ppu files into the config directory.<br/>
                              <br/>
                              <br/>
                            </div>
                          </blockquote>
                        </div>

                        <div class="im">
                          <div>
                            <br/>
                             Can this be achieved via macros?
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </blockquote>
              </div>

              <p style="margin: 0px;"> </p>

              <p style="margin: 0px;">There is no macro to make directories read only. </p>

              <div class="im">
                <p style="margin: 0px;"> </p>

                <p style="margin: 0px;"> </p>

                <div style="margin: 5px 0px;">
                  <blockquote style="margin-left: 0px; padding-left: 10px; border-left: 1px solid blue;" type="cite">
                    <div class="gmail_quote">
                      <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
                        <div class="gmail_quote">
                          <div>
                            <br/>
                              For instance I have just posted a blog article on FPC/Lazarus compilaton at <a target="_blank" href="http://devblog.brahmancreations.com/content/build-scripts-for-installing-freepascal-and-lazarus-from-source">http://devblog.brahmancreations.com/content/build-scripts-for-installing-freepascal-and-lazarus-from-source</a>, and what I want to do is to have the build_name variable as available to the IDE.<br/>
                            <br/>
                             e.g if a lazarus build is named lazarus_0920_27001, I would like to use a macro based on the package name as well as the lazarus build name, so the compiler knows that units for zeoslib for instance go to directory /components/lazarus_0920_27001/zeoslib.
                          </div>
                        </div>
                      </blockquote>
                    </div>
                  </blockquote>
                </div>

                <p style="margin: 0px;"> </p>
              </div>

              <p style="margin: 0px;">The solution I gave puts the package files in $(PrimaryConfigPath)/lib/$(PkgName)/something, for example</p>

              <p style="margin: 0px;">/components/lazarus_0920_27001/lib/zeoslib</p>

              <p style="margin: 0px;"> </p>
            </div>
          </blockquote>

          <div>
            <br/>
             Your solution did not indicate that an every package would have its own directory created for it under the PrimaryConfigPath, I thought they would all be dumped into a single directory.
          </div>
        </div>
      </blockquote>
    </div>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;">That would be a Delphi mess. Separate output directories is one of the key features of the Lazarus package system. </p>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;"> </p>

    <div style="margin: 5px 0px 5px 0px;">
      <blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
        <div class="gmail_quote">
          <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
            <div>
              <p style="margin: 0px;">[...]</p>
              <br/>

              <p style="margin: 0px;">I added a PkgName.</p>

              <div class="im">
                <p style="margin: 0px;"> </p>
              </div>
            </div>
          </blockquote>

          <div>
            Is it avaiable in 0.9.30 fixes? Are some of the new 0.9.31 backported to fixes?
          </div>
        </div>
      </blockquote>
    </div>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;">No. </p>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;"> </p>

    <div style="margin: 5px 0px 5px 0px;">
      <blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
        <div class="gmail_quote">
          <blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
            <div>
              <div class="im">
                <div style="margin: 5px 0px;">
                </div>
              </div>What is ConfPath?<br/>
              <br/>
            </div>
          </blockquote>Do ConfPath and PrimaryConfigPath refer to the same thing? 

          <div>
            <br/>
             I meant ConfDir and PrimaryConfigPath
          </div>
        </div>
      </blockquote>
    </div>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;">Yes.  </p>

    <p style="margin: 0px;"> </p>

    <div style="margin: 5px 0px 5px 0px;">
      <blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
        <br/>
        <br/>
         Is it possible to create new user defined macro variables for the IDE?
      </blockquote>
    </div><br/>
    Projects and packages can define build macros.<br/>
    <br/>
    <br/>
    Mattias<br/>
    <br/>
  </body>
</html>