47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
How To Build This Project
|
|
-=-=-=-=-=-=-=-=-=-=-=-=-=
|
|
|
|
--- On Unix:
|
|
|
|
cd %{dest}
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_INSTALL_PREFIX=$PROJECTINSTALLDIR -DCMAKE_BUILD_TYPE=Debug .. <- do not forget the ..
|
|
make
|
|
make install or su -c 'make install'
|
|
|
|
where $PROJECTINSTALLDIR points to your installation prefix.
|
|
|
|
to uninstall the project:
|
|
make uninstall or su -c 'make uninstall'
|
|
|
|
Note: you can use another build path. Then cd in your build dir and:
|
|
export KDE_SRC=path_to_your_src
|
|
cmake $KDE_SRC -DCMAKE_INSTALL_PREFIX=$PROJECTINSTALLDIR -DCMAKE_BUILD_TYPE=Debug
|
|
|
|
--- On Windows:
|
|
|
|
cd %{dest}
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_INSTALL_PREFIX=%PROJECTINSTALLDIR% -DCMAKE_BUILD_TYPE=Debug .. <- do not forget the ..
|
|
[n]make
|
|
[n]make install
|
|
|
|
where %PROJECTINSTALLDIR% points to your installation prefix.
|
|
|
|
to uninstall the project:
|
|
[n]make uninstall
|
|
|
|
Note: use nmake if you're building with the Visual Studio compiler, or make
|
|
if you're using the minGW compiler
|
|
|
|
|
|
Tutorials
|
|
-=-=-=-=-
|
|
KParts docs
|
|
https://techbase.kde.org/Development/Architecture/KDE4/KParts
|
|
https://api.kde.org/frameworks/kparts/html/index.html
|
|
Tutorial
|
|
https://techbase.kde.org/Development/Tutorials/Using_KParts
|