CMakePresets.json 1022 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "version": 8,
  3. "configurePresets": [
  4. {
  5. "name": "Release",
  6. "displayName": "2019 x86",
  7. "description": "Using compilers for Visual Studio 16 2019 (x86 architecture)",
  8. "generator": "Visual Studio 16 2019",
  9. "toolset": "host=x86",
  10. "architecture": "win32",
  11. "binaryDir": "${sourceDir}/out/build/${presetName}",
  12. "cacheVariables": {
  13. "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
  14. "CMAKE_C_COMPILER": "cl.exe",
  15. "CMAKE_CXX_COMPILER": "cl.exe",
  16. "CMAKE_CONFIGURATION_TYPES": "Release",
  17. "cmakeCommandArgs": "-D BUILD_TESTING=OFF",
  18. "ctestCommandArgs": "-C Release"
  19. }
  20. }
  21. ],
  22. "buildPresets": [
  23. {
  24. "name": "Release",
  25. "displayName": "2019 x86",
  26. "configurePreset": "Release",
  27. "configuration": "Release"
  28. }
  29. ]
  30. }