LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

sfdk-compiledb

Generate compilation database for Sailfish projects

TLDR

Generate a compile_commands.json for the current project
$ sfdk compiledb
copy
Generate compilation database after a clean build
$ sfdk build && sfdk compiledb
copy

SYNOPSIS

sfdk compiledb [options]

DESCRIPTION

sfdk compiledb generates a compile_commands.json compilation database for IDE integration and tooling. This file is used by clang-based tools, language servers, and IDEs to understand build flags, include paths, and compiler invocations for each source file.The command must be run after a successful build so that build logs are available to extract compilation commands from. It is part of the Sailfish SDK (sfdk) toolchain.

CAVEATS

Requires a prior successful build to extract compilation commands. The generated database reflects the last build configuration only.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid