mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
Build with nortti/exceptions and fvisibility=hidden
This both makes the CMake build closer to the Chromium build, and reduces the binary size heavily.
This commit is contained in:
committed by
Corentin Wallez
parent
1dd8b12823
commit
012c149fd9
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "SampleUtils.h"
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "common/Math.h"
|
||||
#include "common/Constants.h"
|
||||
#include "utils/DawnHelpers.h"
|
||||
@@ -34,6 +35,7 @@
|
||||
|
||||
#define TINYGLTF_LOADER_IMPLEMENTATION
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#define PICOJSON_ASSERT ASSERT
|
||||
#include <tinygltfloader/tiny_gltf_loader.h>
|
||||
|
||||
#include "GLFW/glfw3.h"
|
||||
|
||||
Reference in New Issue
Block a user