Skip to content

Commit 19914f8

Browse files
Updated Core (made /GL MSVC compile switch optional)
1 parent 8e2739e commit 19914f8

2 files changed

Lines changed: 37 additions & 37 deletions

File tree

DiligentCore

README.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -704,42 +704,42 @@ build system. Build customization described below can help tweak the settings fo
704704

705705
Available CMake options are summarized in the table below:
706706

707-
| Option |Default value| Description |
708-
|-----------------------------------------|-------------|--------------------------------------------------------------|
709-
| `DILIGENT_NO_DIRECT3D11` | No | Do not build Direct3D11 backend |
710-
| `DILIGENT_NO_DIRECT3D12` | No | Do not build Direct3D12 backend |
711-
| `DILIGENT_NO_OPENGL` | No | Do not build OpenGL backend |
712-
| `DILIGENT_NO_VULKAN` | No | Do not build Vulkan backend |
713-
| `DILIGENT_NO_METAL` | No | Do not build Metal backend |
714-
| `DILIGENT_NO_ARCHIVER` | No | Do not build Archiver |
715-
| `DILIGENT_NO_RENDER_STATE_PACKAGER` | No | Do not build Render State Packager tool |
716-
| `DILIGENT_ENABLE_DRACO` | No | Enable Draco compression support in GLTF loader |
717-
| `DILIGENT_USE_RAPIDJSON` | No | Use rapidjson parser in GLTF loader |
718-
| `DILIGENT_BUILD_TOOLS` | Yes | Build Tools module |
719-
| `DILIGENT_BUILD_FX` | Yes | Build FX module |
720-
| `DILIGENT_BUILD_SAMPLES` | Yes | Build Samples module |
721-
| `DILIGENT_BUILD_SAMPLE_BASE_ONLY` | No | Build only SampleBase project and no other samples/tutorials |
722-
| `DILIGENT_BUILD_TESTS` | No | Build Unit Tests |
723-
| `DILIGENT_NO_GLSLANG` | No | Do not build GLSLang and SPRIV-Tools |
724-
| `DILIGENT_NO_HLSL` | No | Disable HLSL support in non-Direct3D backends |
725-
| `DILIGENT_NO_FORMAT_VALIDATION` | Yes | Disable source code formatting validation |
726-
| `DILIGENT_LOAD_PIX_EVENT_RUNTIME` | No | Enable PIX event support |
727-
| `DILIGENT_NVAPI_PATH` | | Path to NVAPI SDK |
728-
| `DILIGENT_INSTALL_CORE` | Yes | Install core module |
729-
| `DILIGENT_INSTALL_TOOLS` | Yes | Install tools module |
730-
| `DILIGENT_INSTALL_FX` | Yes | Install FX module |
731-
| `DILIGENT_INSTALL_SAMPLES` | Yes | Install Samples module |
732-
| `DILIGENT_INSTALL_PDB` | No | Install program debug database |
733-
| `DILIGENT_DEAR_IMGUI_PATH` | | Optional path to a user-provided dear imgui project |
734-
| `DILIGENT_ARGS_DIR` | | Optional path to a user-provided args project |
735-
| `DILIGENT_NUKLEAR_DIR` | | Optional path to a user-provided nuklear project |
736-
| `DILIGENT_MSVC_COMPILE_OPTIONS` | /WX | Additional MSVC compile options for all configurations |
737-
| `DILIGENT_MSVC_DEBUG_COMPILE_OPTIONS` | | Additional MSVC compile options for debug configuration |
738-
| `DILIGENT_MSVC_RELEASE_COMPILE_OPTIONS` | /arch:AVX2 | Additional MSVC compile options for release configurations |
739-
| `DILIGENT_CLANG_COMPILE_OPTIONS` | -Werror | Additional Clang compile options for all configurations |
740-
| `DILIGENT_CLANG_DEBUG_COMPILE_OPTIONS` | | Additional Clang compile options for debug configuration |
741-
| `DILIGENT_CLANG_RELEASE_COMPILE_OPTIONS`| -mavx2 | Additional Clang compile options for release configurations |
742-
| `DILIGENT_USD_PATH` | | Path to USD installation folder |
707+
| Option |Default value | Description |
708+
|-----------------------------------------|--------------|--------------------------------------------------------------|
709+
| `DILIGENT_NO_DIRECT3D11` | No | Do not build Direct3D11 backend |
710+
| `DILIGENT_NO_DIRECT3D12` | No | Do not build Direct3D12 backend |
711+
| `DILIGENT_NO_OPENGL` | No | Do not build OpenGL backend |
712+
| `DILIGENT_NO_VULKAN` | No | Do not build Vulkan backend |
713+
| `DILIGENT_NO_METAL` | No | Do not build Metal backend |
714+
| `DILIGENT_NO_ARCHIVER` | No | Do not build Archiver |
715+
| `DILIGENT_NO_RENDER_STATE_PACKAGER` | No | Do not build Render State Packager tool |
716+
| `DILIGENT_ENABLE_DRACO` | No | Enable Draco compression support in GLTF loader |
717+
| `DILIGENT_USE_RAPIDJSON` | No | Use rapidjson parser in GLTF loader |
718+
| `DILIGENT_BUILD_TOOLS` | Yes | Build Tools module |
719+
| `DILIGENT_BUILD_FX` | Yes | Build FX module |
720+
| `DILIGENT_BUILD_SAMPLES` | Yes | Build Samples module |
721+
| `DILIGENT_BUILD_SAMPLE_BASE_ONLY` | No | Build only SampleBase project and no other samples/tutorials |
722+
| `DILIGENT_BUILD_TESTS` | No | Build Unit Tests |
723+
| `DILIGENT_NO_GLSLANG` | No | Do not build GLSLang and SPRIV-Tools |
724+
| `DILIGENT_NO_HLSL` | No | Disable HLSL support in non-Direct3D backends |
725+
| `DILIGENT_NO_FORMAT_VALIDATION` | Yes | Disable source code formatting validation |
726+
| `DILIGENT_LOAD_PIX_EVENT_RUNTIME` | No | Enable PIX event support |
727+
| `DILIGENT_NVAPI_PATH` | | Path to NVAPI SDK |
728+
| `DILIGENT_INSTALL_CORE` | Yes | Install core module |
729+
| `DILIGENT_INSTALL_TOOLS` | Yes | Install tools module |
730+
| `DILIGENT_INSTALL_FX` | Yes | Install FX module |
731+
| `DILIGENT_INSTALL_SAMPLES` | Yes | Install Samples module |
732+
| `DILIGENT_INSTALL_PDB` | No | Install program debug database |
733+
| `DILIGENT_DEAR_IMGUI_PATH` | | Optional path to a user-provided dear imgui project |
734+
| `DILIGENT_ARGS_DIR` | | Optional path to a user-provided args project |
735+
| `DILIGENT_NUKLEAR_DIR` | | Optional path to a user-provided nuklear project |
736+
| `DILIGENT_MSVC_COMPILE_OPTIONS` | /WX | Additional MSVC compile options for all configurations |
737+
| `DILIGENT_MSVC_DEBUG_COMPILE_OPTIONS` | | Additional MSVC compile options for debug configuration |
738+
| `DILIGENT_MSVC_RELEASE_COMPILE_OPTIONS` |/GL /arch:AVX2| Additional MSVC compile options for release configurations |
739+
| `DILIGENT_CLANG_COMPILE_OPTIONS` | -Werror | Additional Clang compile options for all configurations |
740+
| `DILIGENT_CLANG_DEBUG_COMPILE_OPTIONS` | | Additional Clang compile options for debug configuration |
741+
| `DILIGENT_CLANG_RELEASE_COMPILE_OPTIONS`| -mavx2 | Additional Clang compile options for release configurations |
742+
| `DILIGENT_USD_PATH` | | Path to USD installation folder |
743743

744744
By default, all back-ends available on the current platform are built. To disable specific back-ends,
745745
use the following options: `DILIGENT_NO_DIRECT3D11`, `DILIGENT_NO_DIRECT3D12`, `DILIGENT_NO_OPENGL`,

0 commit comments

Comments
 (0)