From 7395ca2efe93694edcbe983b080bd0809ce9a991 Mon Sep 17 00:00:00 2001 From: sean Date: Sun, 22 Jan 2023 21:18:01 +0100 Subject: [PATCH] Bump version to 0.3.0 --- CMakeLists.txt | 2 +- src/fastgltf.cpp | 3 --- src/fastgltf_types.hpp | 6 ++++++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f2a38704..1225c8bcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER_EQUAL "3.24" cmake_policy(SET CMP0135 NEW) endif() -project(fastgltf VERSION 0.2.0 LANGUAGES C CXX) +project(fastgltf VERSION 0.3.0 LANGUAGES C CXX) option(FASTGLTF_DOWNLOAD_SIMDJSON "Downloads a copy of simdjson itself to satisfy the dependency" ON) option(FASTGLTF_USE_CUSTOM_SMALLVECTOR "Uses a custom SmallVector type optimised for small arrays" OFF) diff --git a/src/fastgltf.cpp b/src/fastgltf.cpp index adf7dbe9f..85a809a2d 100644 --- a/src/fastgltf.cpp +++ b/src/fastgltf.cpp @@ -645,9 +645,6 @@ fg::Error fg::glTF::parse(Category categories) { return errorCode; } -#define FASTGLTF_QUOTE_Q(x) #x -#define FASTGLTF_QUOTE(x) FASTGLTF_QUOTE_Q(x) - #define KEY_SWITCH_CASE(name, id) case force_consteval: \ if (hasBit(categories, Category::name)) \ parse##name(array); \ diff --git a/src/fastgltf_types.hpp b/src/fastgltf_types.hpp index 52c96ef43..189f39a4d 100644 --- a/src/fastgltf_types.hpp +++ b/src/fastgltf_types.hpp @@ -43,6 +43,12 @@ #pragma warning(disable : 4514) // unreferenced inline function has been removed #endif +#define FASTGLTF_QUOTE_Q(x) #x +#define FASTGLTF_QUOTE(x) FASTGLTF_QUOTE_Q(x) + +// fastgltf version string. Use FASTGLTF_QUOTE to stringify. +#define FASTGLTF_VERSION 0.3.0 + namespace fastgltf { #pragma region Enums // clang-format off