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:
Corentin Wallez
2018-07-26 14:54:08 +02:00
committed by Corentin Wallez
parent 1dd8b12823
commit 012c149fd9
5 changed files with 8 additions and 2 deletions

View File

@@ -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"