gil/example/cmake/CMakeSettings.json

382 lines
16 KiB
JSON

{
"_comment": {
"description": "Sample CMakeSettings.json for building Boost.GIL tests and examples. See https://go.microsoft.com//fwlink//?linkid=834763 for more information about CMake integration with Visual Studio 2017 and this file.",
"usage": "Copy to ${BOOST_ROOT}/libs/gil, then Visual Studio 2017 > File > Open > CMake > select ${BOOST_ROOT}/libs/gil/CMakeLists.txt"
},
"environments": [
{ "BuildDir": "${workspaceRoot}\\_build" },
{ "InstallDir": "${workspaceRoot}\\_install" }
],
"configurations": [
{
"name": "x64-Debug-Ninja",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": "",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x64" },
{ "name": "Boost_COMPILER", "value": "-vc142;-vc141" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "OFF" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "x64-Release-Ninja",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": "",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x64" },
{ "name": "Boost_COMPILER", "value": "-vc142;-vc141" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "OFF" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "OFF" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "OFF" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "OFF" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "x86-Debug-Ninja",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x86" ],
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": "",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x32" },
{ "name": "Boost_COMPILER", "value": "-vc142;-vc141" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "x86-Release-Ninja",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"inheritEnvironments": [ "msvc_x86" ],
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": "",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x32" },
{ "name": "Boost_COMPILER", "value": "-vc142;-vc141" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "x64-Debug-VS2019",
"generator": "Visual Studio 16 2019 Win64",
"configurationType": "Debug",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"buildCommandArgs": "-m",
"cmakeCommandArgs": "",
"ctestCommandArgs": "",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x64" },
{ "name": "Boost_COMPILER", "value": "-vc142" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "x64-Release-VS2019",
"generator": "Visual Studio 16 2019 Win64",
"configurationType": "Release",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"buildCommandArgs": "-m",
"cmakeCommandArgs": "",
"ctestCommandArgs": "",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x64" },
{ "name": "Boost_COMPILER", "value": "-vc142" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "x86-Debug-VS2019",
"generator": "Visual Studio 16 2019",
"configurationType": "Debug",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"buildCommandArgs": "-m",
"cmakeCommandArgs": "",
"ctestCommandArgs": "",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x32" },
{ "name": "Boost_COMPILER", "value": "-vc142" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "x86-Release-VS2019",
"generator": "Visual Studio 16 2019",
"configurationType": "Release",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"buildCommandArgs": "-m",
"cmakeCommandArgs": "",
"ctestCommandArgs": "",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x32" },
{ "name": "Boost_COMPILER", "value": "-vc142" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "x64-Debug-VS2017",
"generator": "Visual Studio 15 2017 Win64",
"configurationType": "Debug",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"buildCommandArgs": "-m",
"cmakeCommandArgs": "",
"ctestCommandArgs": "",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x64" },
{ "name": "Boost_COMPILER", "value": "-vc141" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "x64-Release-VS2017",
"generator": "Visual Studio 15 2017 Win64",
"configurationType": "Release",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"buildCommandArgs": "-m",
"cmakeCommandArgs": "",
"ctestCommandArgs": "",
"variables": [
{ "name": "CMAKE_TOOLCHAIN_FILE", "value": "C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake" }
]
},
{
"name": "x86-Debug-VS2017",
"generator": "Visual Studio 15 2017",
"configurationType": "Debug",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"buildCommandArgs": "-m",
"cmakeCommandArgs": "",
"ctestCommandArgs": "",
"variables": [
{ "name": "CMAKE_TOOLCHAIN_FILE", "value": "C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake" }
]
},
{
"name": "x86-Release-VS2017",
"generator": "Visual Studio 15 2017",
"configurationType": "Release",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"buildCommandArgs": "-m",
"cmakeCommandArgs": "",
"ctestCommandArgs": "",
"variables": [
{ "name": "CMAKE_TOOLCHAIN_FILE", "value": "C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake" }
]
},
{
"name": "WSL-Debug-GCC",
"generator": "Unix Makefiles",
"configurationType": "Debug",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"cmakeExecutable": "/usr/bin/cmake",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "linux_x64" ],
"intelliSenseMode": "linux-gcc-x64",
"wslPath": "${defaultWSLPath}",
"addressSanitizerRuntimeFlags": "detect_leaks=0",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x64" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "OFF" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "WSL-Release-GCC",
"generator": "Unix Makefiles",
"configurationType": "RelWithDebInfo",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"cmakeExecutable": "/usr/bin/cmake",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "linux_x64" ],
"intelliSenseMode": "linux-gcc-x64",
"wslPath": "${defaultWSLPath}",
"addressSanitizerRuntimeFlags": "detect_leaks=0",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x64" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "OFF" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "WSL-Debug-clang",
"generator": "Unix Makefiles",
"configurationType": "Debug",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"cmakeExecutable": "/usr/bin/cmake",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "linux_clang_x64" ],
"wslPath": "${defaultWSLPath}",
"addressSanitizerRuntimeFlags": "detect_leaks=0",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x64" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "OFF" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
},
{
"name": "WSL-Release-clang",
"generator": "Unix Makefiles",
"configurationType": "RelWithDebInfo",
"buildRoot": "${env.BuildDir}\\${name}",
"installRoot": "${env.InstallDir}\\${name}",
"cmakeExecutable": "/usr/bin/cmake",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "linux_clang_x64" ],
"wslPath": "${defaultWSLPath}",
"addressSanitizerRuntimeFlags": "detect_leaks=0",
"variables": [
{ "name": "Boost_DEBUG", "value": "ON" },
{ "name": "Boost_ADDITIONAL_VERSIONS", "value": "1.72;1.71" },
{ "name": "Boost_ARCHITECTURE", "value": "-x64" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" },
{ "name": "GIL_BUILD_HEADER_TESTS", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_DYNAMIC_IMAGE", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_IO", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_NUMERIC", "value": "ON" },
{ "name": "GIL_ENABLE_EXT_TOOLBOX", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "OFF" },
{ "name": "GIL_USE_CLANG_TIDY", "value": "OFF" }
]
}
]
}