Windows/Build/MinGW Build Tips: Difference between revisions

From KDE Community Wiki
< Windows‎ | Build
(New page: Current build tips for some of the kde libraries: You should add the normal options for cmake yourself: <pre> cmake X:\path\to\src\dir -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=X:\path\t...)
 
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
You should add the normal options for cmake yourself:
You should add the normal options for cmake yourself:
<pre>
<pre>
cmake X:\path\to\src\dir -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=X:\path\to\install\dir
cmake X:\path\to\src\dir -G "MinGW Makefiles" \
-DCMAKE_INSTALL_PREFIX=X:\path\to\install\dir
</pre>
</pre>
<pre>
<pre>

Latest revision as of 14:58, 18 March 2016

Current build tips for some of the kde libraries: You should add the normal options for cmake yourself:

cmake X:\path\to\src\dir -G "MinGW Makefiles" \
 -DCMAKE_INSTALL_PREFIX=X:\path\to\install\dir
mingw32-make && mingw32-make install

additional required options will be added below - kdelibs: builds fine without options - kdepimlibs: add the following options:

-DBoost_INCLUDE_DIR=X:\path\to\include\boost-X_XX

change the X_XX to your installed Boost Version (like 1.34 goes 1_34) -kdebase\runtime:

-kdeedu:

  • currently kstars won't build; edit the CMakeLists.txt file, comment the add_optional_subdirectory line for kstars
  • marble will try to build as its qt-only version. If you want to build kdeedu as a hole package, add:
-DQTONLY=OFF