Ignore:
Timestamp:
01/27/2016 11:21:15 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
1e76622
Parents:
a7e1ac8
Message:

Merge Chapter 13 from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16861 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/cmake.xml

    ra7e1ac8 r2037ec4  
    77  <!ENTITY cmake-download-http "http://www.cmake.org/files/v&cmake-major-version;/cmake-&cmake-version;.tar.gz">
    88  <!ENTITY cmake-download-ftp  " ">
    9   <!ENTITY cmake-md5sum        "cd3034e0a44256a0917e25477217fc8">
    10   <!ENTITY cmake-size          "6.4 MB">
    11   <!ENTITY cmake-buildsize     "632 MB (with tests)">
    12   <!ENTITY cmake-time          "13.2 SBU (with tests)">
     9  <!ENTITY cmake-md5sum        "04545d3cc3801fe84223b864c4f7a53c">
     10  <!ENTITY cmake-size          "6.5 MB">
     11  <!ENTITY cmake-buildsize     "704 MB (with tests and cmake-gui)">
     12  <!ENTITY cmake-time          "4 SBU, with parallelism = 4 (with tests and cmake-gui)">
    1313]>
    1414
     
    8080    <para role="recommended">
    8181      <xref linkend="curl"/> and
    82       <xref linkend="libarchive"/> 
     82      <xref linkend="libarchive"/>
    8383    </para>
    8484
     
    8787      <xref linkend="qt4"/> or <xref linkend="qt5"/> (for the Qt-based GUI),
    8888      <xref linkend="subversion"/> (for testing), and
    89        <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
    90        (for building documents)
     89      <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
     90      (for building documents)
    9191    </para>
    9292
     
    9898  <sect2 role="installation">
    9999    <title>Installation of CMake</title>
     100
     101    <para>
     102       If <application>Qt4</application> and <application>Qt5</application> are
     103       installed in <filename class="directory">/opt</filename>, use
     104       <command>source setqt4</command> or <command>source setqt5</command> to
     105       choose which one will be used to build the Qt-based GUI.
     106    </para>
    100107
    101108    <para>
     
    112119
    113120    <para>
    114       To test the results, issue: <command>bin/ctest</command>.
     121      To test the results, issue: <command>bin/ctest
     122      -j<replaceable>&lt;N&gt;</replaceable> -O
     123      cmake-&cmake-version;-test.log</command>, where
     124      <replaceable>&lt;N&gt;</replaceable> is an integer between 1 and the
     125      number of system cores. For some systems, it may be necessary to run the
     126      tests only for Qt4 using <command>source setq4</command>, then
     127      <command>export CXXFLAGS="-std=c++11"</command> before the
     128      <command>./bootstrap ...</command>) command.  If used, be sure to
     129      <command>unset CXXFLAGS</command> after the tests.  One of the problematic
     130      tests relates to the test procedures finding the correct Qt files. Eight
     131      of 447 tests are known to fail under some circumstances related to Gtk+2
     132      and c++ standards.
     133
     134     <!-- Please, don't remove this comment, needed if tests start to fail
     135      again. If you want to investigate a problem with a given "problem1-test",
     136      use <command>bin/ctest -R "problem1-test"</command> and, to omit it, use
     137      <command>bin/ctest -E "problem1-test"</command>. These options can be
     138      used together: <command>bin/ctest -R "problem1-test" -E
     139      "problem2-test"</command>.  Option -N can be used to display all
     140      available tests, and you can run <command>bin/ctest</command> for a
     141      sub-set of tests by using separated by spaces names or numbers as
     142      options. Option -/-help can be used to show all options.-->
    115143    </para>
    116144
     
    128156    <para>
    129157      <parameter>--system-libs</parameter>: This switch forces the build system
    130       to link against the <application>Zlib</application>,
     158      to link against <application>Zlib</application>,
    131159      <application>Bzip2</application>, <application>cURL</application>,
    132160      <application>Expat</application> and <application>libarchive</application>
    133       packages already installed on the system.
     161      installed on the system.
    134162    </para>
    135163
     
    144172      <application>Qt</application>-based  GUI for
    145173      <application>CMake</application>.
    146     </para>
    147 
    148     <para>
    149       <option>--qt-qmake=/usr/bin/qmake-qt5</option>: Use this switch if
    150       you have both <application>Qt4</application> and
    151       <application>Qt5</application> installed but wish to build the
    152       <application>Qt5</application> based GUI (it defaults to
    153       <application>Qt4</application> one).
    154174    </para>
    155175
     
    166186      <seglistitem>
    167187        <seg>
    168           ccmake,
    169           cmake,
    170           cmake-gui (optional),
    171           cpack,
    172           and ctest
     188          ccmake, cmake, cmake-gui (optional), cpack and ctest
    173189        </seg>
    174190        <seg>
Note: See TracChangeset for help on using the changeset viewer.