Changeset 2037ec4 for general/prog/cmake.xml
- Timestamp:
- 01/27/2016 11:21:15 PM (8 years ago)
- Branches:
- systemd-13485
- Children:
- 1e76622
- Parents:
- a7e1ac8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/cmake.xml
ra7e1ac8 r2037ec4 7 7 <!ENTITY cmake-download-http "http://www.cmake.org/files/v&cmake-major-version;/cmake-&cmake-version;.tar.gz"> 8 8 <!ENTITY cmake-download-ftp " "> 9 <!ENTITY cmake-md5sum " cd3034e0a44256a0917e25477217fc8">10 <!ENTITY cmake-size "6. 4MB">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)"> 13 13 ]> 14 14 … … 80 80 <para role="recommended"> 81 81 <xref linkend="curl"/> and 82 <xref linkend="libarchive"/> 82 <xref linkend="libarchive"/> 83 83 </para> 84 84 … … 87 87 <xref linkend="qt4"/> or <xref linkend="qt5"/> (for the Qt-based GUI), 88 88 <xref linkend="subversion"/> (for testing), and 89 90 89 <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink> 90 (for building documents) 91 91 </para> 92 92 … … 98 98 <sect2 role="installation"> 99 99 <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> 100 107 101 108 <para> … … 112 119 113 120 <para> 114 To test the results, issue: <command>bin/ctest</command>. 121 To test the results, issue: <command>bin/ctest 122 -j<replaceable><N></replaceable> -O 123 cmake-&cmake-version;-test.log</command>, where 124 <replaceable><N></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.--> 115 143 </para> 116 144 … … 128 156 <para> 129 157 <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>, 131 159 <application>Bzip2</application>, <application>cURL</application>, 132 160 <application>Expat</application> and <application>libarchive</application> 133 packages alreadyinstalled on the system.161 installed on the system. 134 162 </para> 135 163 … … 144 172 <application>Qt</application>-based GUI for 145 173 <application>CMake</application>. 146 </para>147 148 <para>149 <option>--qt-qmake=/usr/bin/qmake-qt5</option>: Use this switch if150 you have both <application>Qt4</application> and151 <application>Qt5</application> installed but wish to build the152 <application>Qt5</application> based GUI (it defaults to153 <application>Qt4</application> one).154 174 </para> 155 175 … … 166 186 <seglistitem> 167 187 <seg> 168 ccmake, 169 cmake, 170 cmake-gui (optional), 171 cpack, 172 and ctest 188 ccmake, cmake, cmake-gui (optional), cpack and ctest 173 189 </seg> 174 190 <seg>
Note:
See TracChangeset
for help on using the changeset viewer.