Skip to content

A backward-compatible way to specify the maximum available CMAKE_C_STANDARD and CMAKE_CXX_STANDARD

License

Notifications You must be signed in to change notification settings

KOLANICH-libs/MaximumUpgradeLanguages.cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

MaximumUpgradeLanguages.cmake

Just maximally upgrades C++ and C languages versions.

Unfortunately, CMake doesn't have values for CMAKE_*_STANDARD that force it to use the latest standard available in compiler.

Call maximum_upgrade_*_version to upgrade a single language only, and maximum_upgrade_languages_versions to upgrade all the languages.

About

A backward-compatible way to specify the maximum available CMAKE_C_STANDARD and CMAKE_CXX_STANDARD

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages