YCM-VARIABLES(7)

πŸ“¦
version 0.13.0 Β· 2 versions
, in ubuntu noble, ubuntu questing

✨ ycm-variables β€” YCM Variables Reference ✨

okay bestie, gather round πŸ’– this is the variables reference page for YCM β€” literally the whole list of env vars that change how YCM behaves. it's giving "cheat sheet but make it cute", and we're going through every single one, no skips, no cap 🫢


🌸 VARIABLES THAT CHANGE BEHAVIOR 🌸

YCM_USE_3RDPARTY

use modules that got downloaded from 3rd party projects. that's it, that's the whole vibe πŸŽ€

YCM_USE_CMAKE

turns all the YCM_USE_CMAKE_ variables on or off in one go. default is ON ✨ so if you wanna nuke the whole family of them at once, this is your girl.

SEE ALSO:

  • YCM_USE_CMAKE_<VERSION>, YCM_USE_CMAKE_NEXT. YCM_USE_CMAKE_PROPOSED.

YCM_USE_CMAKE_<VERSION>

use CMake modules imported from one specific CMake version. like, say, time-traveling newer modules back to your older setup πŸ¦‹

here's the tea: some modules you wanna use might not be available on previous CMake releases, or they might have gotten a bugfix or a shiny new feature in a specific CMake version. if this variable is enabled, YCM lets you use the new version of those modules even with older versions. iconic, honestly.

for example, by enabling YCM_USE_CMAKE_3_7, some modules from CMake 3.7 will be available for older CMake releases πŸ”₯

⚠️ heads up: this option is not considered if CMAKE_VERSION is less than <VERSION>. so if your CMake is too old, this flag is just gonna sit there and do nothing πŸ’€

YCM_USE_CMAKE_NEXT

use CMake modules imported straight from the CMake git repository. main character energy β€” you're getting the freshest stuff off the repo πŸ‘‘

YCM_USE_CMAKE_PROPOSED

use the YCM patched version of modules from CMake. yes, we did a little glow-up on them πŸ’…

YCM provides a few modules that are also available with CMake, but with a few patches applied. these are not automatically used β€” on purpose! β€” so that the user gets to 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 still be used in old code by setting this variable to true πŸ™ˆ

🚨 real talk: deprecated means don't start anything new with it. it's here for old code only, so pls don't build your fresh project on it.

Copyright 2012-2021 Istituto Italiano di Tecnologia (IIT)


and that's the whole page, bestie πŸ’œ mwah, you ate. this was YCM 0.13., dated Nov 05, 2023, and you just read the YCM-VARIABLES(7) page top to bottom β€” slay, periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from