[CMake] Added version requirements file in json-format.
The file is read by CMake (via new a json parser submodule) and the web site generator and provides info on required clang and gcc versions. This info will be expanded in future commits. Goal is to have a single source of truth for versions infos and maybe other requirements. On CMake you access the info via `ogs.`-prefixed variables: ${ogs.minimum_version.gcc} In Hugo you access the info via the new dataFile-shortcode: {{< dataFile "versions.minimum_version.gcc" >}}
Showing
- .gitmodules 3 additions, 0 deletions.gitmodules
- CMakeLists.txt 1 addition, 0 deletionsCMakeLists.txt
- ThirdParty/json-cmake 1 addition, 0 deletionsThirdParty/json-cmake
- scripts/cmake/CompilerSetup.cmake 6 additions, 6 deletionsscripts/cmake/CompilerSetup.cmake
- scripts/cmake/SubmoduleSetup.cmake 1 addition, 0 deletionsscripts/cmake/SubmoduleSetup.cmake
- scripts/cmake/Versions.cmake 8 additions, 0 deletionsscripts/cmake/Versions.cmake
- web/content/docs/devguide/getting-started/prerequisites.pandoc 2 additions, 2 deletions...ontent/docs/devguide/getting-started/prerequisites.pandoc
- web/data/versions.json 6 additions, 0 deletionsweb/data/versions.json
- web/layouts/shortcodes/dataFile.html 9 additions, 0 deletionsweb/layouts/shortcodes/dataFile.html
Loading
Please register or sign in to comment