Changeset f66b2ee


Ignore:
Timestamp:
04/01/2019 09:12:06 PM (3 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 9.0, 9.1, ken/refactor-virt, lazarus, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
e606443
Parents:
1714bd38
Message:

Simplify instructions for finding available meon options.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21420 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
introduction
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/important/building-notes.xml

    r1714bd38 rf66b2ee  
    579579      <para>
    580580        Meson has some similarities to CMake, but many differences. To get
    581         details of the defines that you may wish to change ypu need to do:
    582       </para>
    583 
    584 <screen><userinput>mkdir build
    585 cd    build
    586 meson ..
    587 meson configure | less</userinput></screen>
    588 
    589       <para>
    590         After identifying what to set, meson then needs to be reconfigured.
    591         For example:
    592       </para>
    593 
    594 <screen><userinput>meson --prefix=/usr -Dbuildtype=&lt;type&gt; -Dother_option=false --reconfigure</userinput></screen>
    595 
    596       <para>
    597         Alternatively, you could remove the build directory where you did this,
    598         recreate it, and then run meson with the desired options.
     581        details of the defines that you may wish to change you can look at
     582        <filename>meson_options.txt</filename> which is usually in the
     583         top-level directory.
     584      </para>
     585
     586      <para>
     587        If you have already configured the package by running
     588        <command>meson</command> and now wish to change one or more settings,
     589        you can either remove the build directory, recreate it, and use the
     590        altered options, or within the build directory run <command>meson
     591        configure</command>, e.g. to set an option:
     592      </para>
     593
     594<screen><userinput>meson configure -D&lt;some_option&gt;=true</userinput></screen>
     595
     596      <para>
     597        If you do that, the file <filename>meson-private/cmd_line.txt</filename>
     598        will show the <emphasis>last</emphasis> commands which were used.
    599599      </para>
    600600
  • introduction/welcome/changelog.xml

    r1714bd38 rf66b2ee  
    4545      <para>April 1st, 2019</para>
    4646      <itemizedlist>
     47        <listitem>
     48          <para>[ken] - Improve the details of how to find the available Meson
     49          options in "Working with different build systems", thanks to Brendan
     50          L. Fixes <ulink url="&blfs-ticket-root;11872">#11872</ulink>.</para>
     51        </listitem>
    4752        <listitem>
    4853          <para>[bdubbs] - Update to vala-0.44.2. Fixes
Note: See TracChangeset for help on using the changeset viewer.