Skip to content

Instantly share code, notes, and snippets.

@Zingam
Created December 9, 2018 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zingam/b3c324cd98594973c7b5e4df4afedab1 to your computer and use it in GitHub Desktop.
Save Zingam/b3c324cd98594973c7b5e4df4afedab1 to your computer and use it in GitHub Desktop.
Blender build configuration file for VS2017: CMakeSettings.json
{
// See https://go.microsoft.com//fwlink//?linkid=834763 for more information about this file.
"environments": [
{
"CacheScript": "${workspaceRoot}\\build_files\\cmake\\config\\blender_lite.cmake",
}
],
"configurations": [
////////////////////////////////////////////////////////////////////////////
// MSVC-Ninja-x64-Debug
////////////////////////////////////////////////////////////////////////////
{
"name": "MSVC-Ninja-x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${workspaceRoot}\\..\\__build-output\\${name}",
"installRoot": "${workspaceRoot}\\..\\__install-output",
"cmakeCommandArgs": "-C${env.CacheScript}",
"buildCommandArgs": "-v",
"ctestCommandArgs": "",
"variables": [
],
},
////////////////////////////////////////////////////////////////////////////
// MSVC-Ninja-x64-RelWithDebInfo
////////////////////////////////////////////////////////////////////////////
{
"name": "MSVC-Ninja-x64-RelWithDebInfo",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${workspaceRoot}\\..\\__build-output\\${name}",
"installRoot": "${workspaceRoot}\\..\\__install-output",
"cmakeCommandArgs": "-C${env.CacheScript}",
"buildCommandArgs": "-v",
"ctestCommandArgs": "",
"variables": [
],
},
////////////////////////////////////////////////////////////////////////////
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment