Skip to content

Commit

Permalink
Bump version to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Jan 22, 2023
1 parent 88f3097 commit 7395ca2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 0 additions & 3 deletions src/fastgltf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<crc32(FASTGLTF_QUOTE(id))>: \
if (hasBit(categories, Category::name)) \
parse##name(array); \
Expand Down
6 changes: 6 additions & 0 deletions src/fastgltf_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7395ca2

Please sign in to comment.