Jump to content

Translations:Development/Tutorials/First program/KF5/30/en: Difference between revisions

From KDE TechBase
FuzzyBot (talk | contribs)
Importing a new version from external source
 
(No difference)

Latest revision as of 10:35, 11 March 2016

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/First program/KF5)
While you can run cmake directly inside the source code directory itself, it is a best practice, and actually enforced in some KDE software, to use a separate build directory and run cmake from there:
<syntaxhighlight lang="bash">
mkdir build && cd build
</syntaxhighlight>
You can invoke CMake and make manually:
<syntaxhighlight lang="bash">
cmake .. && make
</syntaxhighlight>

While you can run cmake directly inside the source code directory itself, it is a best practice, and actually enforced in some KDE software, to use a separate build directory and run cmake from there:

mkdir build && cd build

You can invoke CMake and make manually:

cmake .. && make