golem configure
This command allows you to configure how to build your project.
The choices are saved, therefore it needs to be run only once. Modifying the project file will not require re-executing this command.
golem configure [options]Build options
--dir=<build_dir>Directory where to build the project
Default:
./build--variant=(debug|release)Variants define a set of default flags/options for your build
Default:
debug--runtime=(shared|static)Links the runtime dynamically (
shared) or statically (static)Default:
shared--link=(shared|static)Builds and links libraries dynamically (
shared) or staticaly (static)Default:
shared--arch=(x64|x86)Builds using the specfied architecture
Default:
<your_os_arch>
Qt options
--qtdir=<qt_dir>Directory to Qt, for example
C:\Qt\6.10.0\msvc2022_64Default:
None
IDE / Tools options
--vscodeGenerates files to enable Microsoft C/C++ Extension’s IntelliSense in VSCode
Default:
FalseSee Visual Studio Code to know more
--clangdGenerates files to support clangd
Default:
FalseSee clangd to know more
--compile-commandsGenerates
compile_commands.jsonfiles in./build/golem/compile_commands/Default:
FalseSee compile_commands.json to know more
Cache System options
See Cache System to know more
--cache-directory=<path>Change the default cache directory
Default:
~/.cache/golem--define-cache-directories=<path1>=<regex1>|<path2>=<regex2>|...<path>is a directory where the matched depencencies are stored<regex>has to match the dependency’s URL or be left empty| is the sperator between multiple cache definitions
Default:
None--cache-resolution-policy=<policy>strict(default) Stops at the first valid cache definition found for the given dependency.weakTries to find the dependency in each valid cache definition, or returns the first valid cache definition for the given dependency.Default:
strict