Environment Variables

Environment variables will override values in the clickable.json 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 clickable.json’s qt_version.

CLICKABLE_FRAMEWORK

Overrides the clickable.json’s builder.

CLICKABLE_BUILDER

Overrides the clickable.json’s builder.

CLICKABLE_BUILD_DIR

Overrides the clickable.json’s dir.

CLICKABLE_DEFAULT

Overrides the clickable.json’s default.

CLICKABLE_MAKE_JOBS

Overrides the clickable.json’s make_jobs.

GOPATH

Overrides the clickable.json’s gopath.

CARGO_HOME

Overrides the clickable.json’s cargo_home.

CLICKABLE_DOCKER_IMAGE

Overrides the clickable.json’s docker_image.

CLICKABLE_BUILD_ARGS

Overrides the clickable.json’s build_args.

CLICKABLE_MAKE_ARGS

Overrides the clickable.json’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 clickable.json’s always_clean.

CLICKABLE_NON_INTERACTIVE

Same as --non-interactive

CLICKABLE_DEBUG_BUILD

Same as --debug

CLICKABLE_TEST

Overrides the clickable.json’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.