Jump to content

KDb/Build: Difference between revisions

From KDE Community Wiki
< KDb
Jstaniek (talk | contribs)
No edit summary
Jstaniek (talk | contribs)
No edit summary
Line 1: Line 1:
For your convenience, [https://projects.kde.org/projects/playground/libs/predicate/repository/revisions/master/changes/tools/cmakepredicate.sh '''cmakepredicate.sh'''] script has been prepared with default configuration settings. You can find it in tools/ subdirectory of the source code.
{{ForDevelopers}}


Use it as follows:
==Requirements==
*C++ compiler
*Qt 4.5 or newer
 
==Get the source code==
See the [[../Download|Download]] page. Download Predicate source code as explained on the [[../Download|Download]] page. The root directory of the source code will be referred as {predicate-source-dir}.
 
==Build recipe==
For your convenience, [https://projects.kde.org/projects/playground/libs/predicate/repository/revisions/master/changes/tools/cmakepredicate.sh '''cmakepredicate.sh'''] script has been prepared with default configuration settings. You can find it in tools/ subdirectory of the source code. Use it as follows:


Download Predicate source code as explained on the [[../Download|Download]] page. The root directory of the source code will be referred as {predicate-source-dir}. Then use these shell commands:
  mkdir {predicate-build-dir}
  mkdir {predicate-build-dir}


ou can set $PREDICATE_INSTALL_PREFIX environment.
You can set $PREDICATE_INSTALL_PREFIX environment.


Better pick your {predicate-build-dir} outside of the source code.
Better pick your {predicate-build-dir} outside of the source code.

Revision as of 16:29, 19 December 2010

Template:ForDevelopers

Requirements

  • C++ compiler
  • Qt 4.5 or newer

Get the source code

See the Download page. Download Predicate source code as explained on the Download page. The root directory of the source code will be referred as {predicate-source-dir}.

Build recipe

For your convenience, cmakepredicate.sh script has been prepared with default configuration settings. You can find it in tools/ subdirectory of the source code. Use it as follows:

mkdir {predicate-build-dir}

You can set $PREDICATE_INSTALL_PREFIX environment.

Better pick your {predicate-build-dir} outside of the source code.

cd {predicate-build-dir}
{predicate-source-dir}/tools/cmakepredicate.sh {predicate-source-dir}

You need to type the above command only once, to configure the cmake-based buildsystem. Then just type:

 make
 make install