]> OCCT Git - occt.git/commitdiff
Configuration - VCPKG extend feature list (#637)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Tue, 22 Jul 2025 20:13:11 +0000 (21:13 +0100)
committerGitHub <noreply@github.com>
Tue, 22 Jul 2025 20:13:11 +0000 (21:13 +0100)
- Added precompiled headers support for improved compilation performance
- Added C++20 and C++23 standard compilation mode options
- Added optimized build configuration for production deployments
- Added Direct3D graphics backend support for Windows platforms

adm/vcpkg/vcpkg.json

index 89d3a2413af720d8ce9c2dda4dc30dc1f46c57f7..17e09f67c20e4d4fd8b42579936f70b83702ec72 100644 (file)
       "dependencies": [
         "gtest"
       ]
+    },
+    "pch": {
+      "description": "Enables precompiled headers to improve compilation speed. Creates shared headers that are compiled once and reused across multiple source files."
+    },
+    "cpp20": {
+      "description": "Enables C++20 standard compilation mode for OCCT. Provides access to latest C++20 features including concepts and modules."
+    },
+    "cpp23": {
+      "description": "Enables C++23 standard compilation mode for OCCT. Provides access to the latest C++23 features including improved constexpr and new standard library components."
+    },
+    "optimized": {
+      "description": "Enables production-level optimizations for maximum performance. Applies aggressive compiler optimizations and removes debug symbols."
+    },
+    "d3d": {
+      "description": "Enables Direct3D support for 3D visualization on Windows. Provides alternative graphics backend to OpenGL for Windows-specific applications.",
+      "supports": "windows"
+    },
+    "docs": {
+      "description": "Enables documentation generation using Doxygen. Creates HTML reference manual and overview documentation for OCCT API.",
+      "dependencies": [
+        "doxygen"
+      ]
     }
   }
 }
\ No newline at end of file