2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-17 01:42:09 +00:00
Files
gil/example/cmake/CMakeSettings.json
Mateusz Łoskot b07501a8cc [cmake] Simplify and clarify -D options [ci skip]
Clean up CMakeLists.txt if-s.
2018-12-08 21:25:27 +01:00

131 lines
4.5 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_ARCHITECTURE", "value": "-x64" },
{ "name": "GIL_DOWNLOAD_FINDBOOST", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" }
]
},
{
"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_ARCHITECTURE", "value": "-x64" },
{ "name": "GIL_DOWNLOAD_FINDBOOST", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" }
]
},
{
"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": "GIL_DOWNLOAD_FINDBOOST", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" }
]
},
{
"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": "GIL_DOWNLOAD_FINDBOOST", "value": "ON" },
{ "name": "GIL_USE_CONAN", "value": "ON" },
{ "name": "GIL_BUILD_EXAMPLES", "value": "ON" }
]
},
{
"name": "x64-Debug",
"generator": "Visual Studio 15 2017 Win64",
"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": "x64-Release",
"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",
"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",
"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" }
]
}
]
}