1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/sfdk-cmake.md

28 lines
662 B
Markdown

# sfdk cmake
> Executes 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}}`