HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sfdk cmake — Execute cmake build step. More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/m

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbuildstepexecuteclisfdk cmakemorecmake

Problem

How to use the sfdk cmake command: Execute cmake build step. More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/master/share/qtcreator/sfdk/modules/20-building-mb2/doc/command.cmake.adoc>.

Solution

sfdk cmake — Execute cmake build step. More information: <https://github.com/sailfishos/sailfish-qtcreator/blob/master/share/qtcreator/sfdk/modules/20-building-mb2/doc/command.cmake.adoc>.

Run cmake:
sfdk cmake


Run cmake in specified project directory:
sfdk cmake {{project}}


Run cmake with extra arguments:
sfdk cmake -- {{arguments}}


Run cmake build in current directory:
sfdk cmake --build .


Run cmake build in current directory with extra cmake arguments:
sfdk cmake --build . {{cmake-arguments}}


Run cmake build in current directory with extra build tool arguments:
sfdk cmake --build . -- {{build-tool-arguments}}

Code Snippets

Run cmake

sfdk cmake

Run cmake in specified project directory

sfdk cmake {{project}}

Run cmake with extra arguments

sfdk cmake -- {{arguments}}

Run cmake build in current directory

sfdk cmake --build .

Run cmake build in current directory with extra cmake arguments

sfdk cmake --build . {{cmake-arguments}}

Context

tldr-pages: common/sfdk cmake

Revisions (0)

No revisions yet.