Environment Variables

Environment variables will override values in the project config and can be overridden by command line arguments.

In contrast to the environment variables described here that configure Clickable, there are environment variables set by Clickable to be used during build.

CLICKABLE_ARCH

Restricts build commands (build, build-libs, desktop) to the specified architecture. Architecture agnostic builds (all) are not affected. Useful in container mode.

CLICKABLE_QT_VERSION

Overrides the project config’s qt_version.

CLICKABLE_FRAMEWORK

Overrides the project config’s framework.

CLICKABLE_BUILDER

Overrides the project config’s builder.

CLICKABLE_BUILD_DIR

Overrides the project config’s dir.

CLICKABLE_DEFAULT

Overrides the project config’s default.

CLICKABLE_MAKE_JOBS

Overrides the project config’s make_jobs.

GOPATH

Overrides the project config’s gopath.

CARGO_HOME

Overrides the project config’s cargo_home.

CLICKABLE_DOCKER_IMAGE

Overrides the project config’s docker_image.

CLICKABLE_SKIP_DOCKER_CHECKS

Disables check whether docker is installed and properly set up.

CLICKABLE_DOCKER_COMMAND

Replaces the docker command. This is useful on systems where both, docker and podman, are installed and Clickable would give podman precedence.

CLICKABLE_BUILD_ARGS

Overrides the project config’s build_args.

CLICKABLE_MAKE_ARGS

Overrides the project config’s make_args.

OPENSTORE_API_KEY

Your api key for publishing to the OpenStore.

CLICKABLE_CONTAINER_MODE

Same as –container-mode.

CLICKABLE_SERIAL_NUMBER

Same as –serial-number.

CLICKABLE_SSH

Same as –ssh.

CLICKABLE_OUTPUT

Override the output directory for the resulting click file

CLICKABLE_NVIDIA

Same as –nvidia.

CLICKABLE_NO_NVIDIA

Same as –no-nvidia.

CLICKABLE_ALWAYS_CLEAN

Overrides the project config’s always_clean.

CLICKABLE_NON_INTERACTIVE

Same as --non-interactive

CLICKABLE_DEBUG_BUILD

Same as --debug

CLICKABLE_TEST

Overrides the project config’s test.

CLICKABLE_DARK_MODE

Same as --dark-mode

CLICKABLE_ENV_<CUSTOM>

Adds custom env vars to the build container. E.g. set CLICKABLE_ENV_BUILD_TESTS=ON to have BUILD_TESTS=ON set in the build container.

Overrides env vars in test.

CLICKABLE_DOCKER_REGISTRY

The Docker registry used to pull images. Defaults to docker.io to pull from Docker Hub. To use the GitLab container registry change this to registry.gitlab.com/clickable.