CMakePresets.json 837 B

12345678910111213141516171819202122232425
  1. {
  2. "version": 3,
  3. "configurePresets": [
  4. {
  5. "name": "basic-tests",
  6. "displayName": "Basic development build",
  7. "description": "Enables development build with basic tests that are cheap to build and run",
  8. "cacheVariables": {
  9. "CATCH_DEVELOPMENT_BUILD": "ON"
  10. }
  11. },
  12. {
  13. "name": "all-tests",
  14. "inherits": "basic-tests",
  15. "displayName": "Full development build",
  16. "description": "Enables development build with examples and ALL tests",
  17. "cacheVariables": {
  18. "CATCH_BUILD_EXAMPLES": "ON",
  19. "CATCH_BUILD_EXTRA_TESTS": "ON",
  20. "CATCH_BUILD_SURROGATES": "ON",
  21. "CATCH_ENABLE_CONFIGURE_TESTS": "ON"
  22. }
  23. }
  24. ]
  25. }