Examples of configuration files for CMake integrations in popular IDEs are provided for convenience of users and contributors who wish to build, run and debug Boost.GIL tests and examples in the IDEs of their choice.
Example CMakeSettings.json file is provided for the CMake support in Visual Studio.
Usage:
- Copy CMakeSettings.json to
${BOOST_ROOT}/libs/gil
. - In Visual Studio > File > Open > Folder... and select
${BOOST_ROOT}/libs/gil
. - Follow the CMake support in Visual Studio documentation.
- CMakeSettings.json schema reference to learn more about the configuration file itself.
Optionally, edit CMakeSettings.json and tweak any options you require.
Example of cmake-variants.yaml file is provided for the CMake Tools extension.
Usage:
- Copy cmake-variants.yaml to
${BOOST_ROOT}/libs/gil
. - Run
code ${BOOST_ROOT}/libs/gil
and the set of variants will be loaded. - Follow the CMake Tools documentation.
Optionally, edit cmake-variants.yamland tweak any options you require.