Skip to content

Commit

Permalink
updated versions to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
ozguronsoy committed Oct 1, 2024
1 parent f1ae01f commit c8dc782
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 61 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cmake_minimum_required(VERSION 3.25)

set(HEPHAUDIO_VERSION_MAJOR 2)
set(HEPHAUDIO_VERSION_MINOR 2)
set(HEPHAUDIO_VERSION_PATCH 3)
set(HEPHAUDIO_VERSION_MAJOR 3)
set(HEPHAUDIO_VERSION_MINOR 0)
set(HEPHAUDIO_VERSION_PATCH 0)
set(HEPHAUDIO_VERSION ${HEPHAUDIO_VERSION_MAJOR}.${HEPHAUDIO_VERSION_MINOR}.${HEPHAUDIO_VERSION_PATCH})

option(ENABLE_STATIC "ENABLE_STATIC" Off)
Expand Down
6 changes: 3 additions & 3 deletions HephAudio/HeaderFiles/HephAudioShared.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
* major part of the version.
*
*/
#define HEPHAUDIO_VERSION_MAJOR 2
#define HEPHAUDIO_VERSION_MAJOR 3

/**
* minor part of the version.
*
*/
#define HEPHAUDIO_VERSION_MINOR 2
#define HEPHAUDIO_VERSION_MINOR 0

/**
* patch part of the version.
*
*/
#define HEPHAUDIO_VERSION_PATCH 3
#define HEPHAUDIO_VERSION_PATCH 0

/**
* full version as string litteral.
Expand Down
32 changes: 0 additions & 32 deletions HephCommon/HeaderFiles/HephShared.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,33 +44,6 @@
*/
#define HEPH_TOSTRING(x) HEPH_STRINGIFY(x)

/**
* major part of the version.
*
*/
#define HEPH_VERSION_MAJOR 2

/**
* minor part of the version.
*
*/
#define HEPH_VERSION_MINOR 2

/**
* patch part of the version.
*
*/
#define HEPH_VERSION_PATCH 3

/**
* full version as string litteral.
*
*/
#define HEPH_VERSION "v" \
HEPH_TOSTRING(HEPH_VERSION_MAJOR) "." \
HEPH_TOSTRING(HEPH_VERSION_MINOR) "." \
HEPH_TOSTRING(HEPH_VERSION_PATCH)

#if defined(_MSVC_LANG)

#define CPP_VERSION _MSVC_LANG
Expand Down Expand Up @@ -174,11 +147,6 @@

namespace Heph
{
HEPH_API const char* GetVersion();
HEPH_API unsigned int GetVersionMajor();
HEPH_API unsigned int GetVersionMinor();
HEPH_API unsigned int GetVersionPatch();

enum Endian : uint8_t
{
Little = 0x00,
Expand Down
22 changes: 0 additions & 22 deletions HephCommon/SourceFiles/HephShared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,6 @@

namespace Heph
{
static const char* const __version = HEPH_VERSION;

const char* GetVersion()
{
return __version;
}

unsigned int GetVersionMajor()
{
return HEPH_VERSION_MAJOR;
}

unsigned int GetVersionMinor()
{
return HEPH_VERSION_MINOR;
}

unsigned int GetVersionPatch()
{
return HEPH_VERSION_PATCH;
}

Endian GetSystemEndian()
{
uint16_t n = 0x0001;
Expand Down
2 changes: 1 addition & 1 deletion docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PROJECT_NAME = "HephAudio"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "v2.2.3"
PROJECT_NUMBER = "v3.0.0"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down

0 comments on commit c8dc782

Please sign in to comment.