Skip to content

Commit

Permalink
chore: update project name and version to 1.0.0 in CMakeLists.txt, RE…
Browse files Browse the repository at this point in the history
…ADME, and source files
  • Loading branch information
MasterLaplace committed Nov 6, 2024
1 parent c59cfe6 commit fce61df
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Singleton/CMakeLists.txt
cmake_minimum_required(VERSION 3.2...3.22)

project(R-Type_Server VERSION 1.0.0 LANGUAGES CXX)
project(Singleton VERSION 1.0.0 LANGUAGES CXX)

include(FetchContent)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ INCLUDE(FetchContent)
FetchContent_Declare(
Singleton
GIT_REPOSITORY https://github.com/MasterLaplace/Singleton.git
GIT_TAG main
GIT_TAG v1.0.0
)
FetchContent_MakeAvailable(Singleton)
Expand Down
4 changes: 2 additions & 2 deletions Singleton.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**************************************************************************
* Singleton v0.0.0
* Singleton v1.0.0
*
* Singleton is a C/CPP library for creating portable singleton objects.
* It is designed to be easy to use and easy to integrate into your project
Expand All @@ -17,7 +17,7 @@
* @brief A thread-safe Singleton template class.
*
* @author @MasterLaplace
* @version 0.0.0
* @version 1.0.0
* @date 2024-11-06
**************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**************************************************************************
* Singleton v0.0.0
* Singleton v1.0.0
*
* Singleton is a C/CPP library for creating portable singleton objects.
* It is designed to be easy to use and easy to integrate into your project
Expand All @@ -17,7 +17,7 @@
* @brief Compile-Time Configuration Parameters for Singleton.
*
* @author @MasterLaplace
* @version 0.0.0
* @version 1.0.0
* @date 2024-11-06
**************************************************************************/

Expand Down Expand Up @@ -416,7 +416,7 @@
#ifdef FLAG_VERSION_MAJOR
#define SINGLETON_VERSION_MAJOR FLAG_VERSION_MAJOR
#else
#define SINGLETON_VERSION_MAJOR 0
#define SINGLETON_VERSION_MAJOR 1
#endif

#ifdef FLAG_VERSION_MINOR
Expand Down
8 changes: 4 additions & 4 deletions singleton.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**************************************************************************
* Singleton v0.0.0
* Singleton v1.0.0
*
* Singleton is a C/CPP library for creating portable singleton objects.
* It is designed to be easy to use and easy to integrate into your project
Expand All @@ -17,10 +17,11 @@
* @brief A thread-safe interface for singleton pattern implementation.
*
* @author @MasterLaplace
* @version 0.0.0
* @version 1.0.0
* @date 2024-11-06
**************************************************************************/

// clang-format off
#ifndef SINGLETON_H_
#define SINGLETON_H_

Expand Down Expand Up @@ -169,5 +170,4 @@ inline void instance_destroy()

#endif /* !SINGLETON_C_ONCE */
#endif /* SINGLETON_IMPLEMENTATION */

// Build command: g++ -o singleton main.cpp Singleton.hpp
// clang-format on

0 comments on commit fce61df

Please sign in to comment.