---
name: "ycm-variables"
section: "7"
platform: "linux"
package: "ycm-cmake-modules"
version: "0.13.0-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/ycm-variables"
---

# ycm-variables(7)

YCM Variables Reference

## NAME

ycm-variables - YCM Variables Reference

## VARIABLES THAT CHANGE BEHAVIOR

### YCM\_USE\_3RDPARTY

Use modules downloaded from 3rd party projects.

### YCM\_USE\_CMAKE

Enable or disable all **YCM\_USE\_CMAKE\_** variables (default **ON**).

**SEE ALSO:**

**YCM\_USE\_CMAKE\_\<VERSION\>**, **YCM\_USE\_CMAKE\_NEXT**. **YCM\_USE\_CMAKE\_PROPOSED**.

### YCM\_USE\_CMAKE\_\<VERSION\>

Use CMake modules imported from a specific CMake version.

Some modules you would like to use might not available on previous CMake releases, or might have received some bugfix or new feature in a specific CMake version. If this variable is enabled, YCM will allow you to use the new version of these modules with older versions.

For example by enabling **YCM\_USE\_CMAKE\_3\_7**, some modules from CMake 3.7 will be available for older CMake releases.

This option not considered if **CMAKE\_VERSION** is less than **\<VERSION\>**.

### YCM\_USE\_CMAKE\_NEXT

Use CMake modules imported from CMake git repository.

### YCM\_USE\_CMAKE\_PROPOSED

Use YCM patched version of modules from CMake.

YCM provides a few modules that are available with CMake, but with a few patches applied. These are not automatically used, in order to let the user choose whether to use the original or the patched version. Enable this variable to use the YCM version of these modules.

### YCM\_USE\_DEPRECATED

Enable YCM deprecated modules.

Some YCM modules have been deprecated, and should not be used in new code. Nonetheless they are available for backwards compatibility and can be still used in old code by setting this variable to true.

## COPYRIGHT

Copyright 2012-2021 Istituto Italiano di Tecnologia (IIT)
