YCM-VARIABLES(7)
β¨ 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 ifCMAKE_VERSIONis 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 π
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
- ubuntu noble: ycm-cmake-modules 0.13.0-3 Β· BSD-3-Clause
- ubuntu questing: ycm-cmake-modules 0.13.0-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms