Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.22)
project(logcoe VERSION 0.1.0 LANGUAGES CXX)

if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Default install path" FORCE)
endif()

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_library(logcoe STATIC src/logcoe.cpp)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ logcoe is a lightweight, thread-safe C++ logging library designed for high-perfo
Perfect for applications requiring reliable logging across multiple threads with customizable output destinations.

## Dependencies
- **C++17 or later** - Modern C++ standard support
- **CMake 3.14+** - Build system
- **C++23 or later** - Modern C++ standard support
- **CMake 3.22+** - Build system

## Quick Start

Expand Down Expand Up @@ -96,7 +96,7 @@ int main() {
- **High Performance** - Minimal overhead with optional flushing control
- **Customizable** - Configurable time formats and output streams
- **Dynamic Configuration** - Change settings during runtime
- **Zero Dependencies** - Header-only public API, pure C++17
- **Zero Dependencies** - Header-only public API, pure C++23
- **Cross-Platform** - Windows, Linux, macOS support

## API Reference
Expand Down Expand Up @@ -194,8 +194,8 @@ int main() {

## Requirements

- **Compiler**: C++17 compatible (GCC 7+, Clang 5+, MSVC 2017+)
- **Build System**: CMake 3.14+
- **Compiler**: C++23 compatible
- **Build System**: CMake 3.22+
- **Platforms**: Windows, Linux, macOS

## Performance Considerations
Expand Down
2 changes: 1 addition & 1 deletion docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ std::tm tm_now;

### Build System Integration
- **CMake**: FetchContent compatible
- **Compiler Support**: C++17 standard requirements
- **Compiler Support**: C++23 standard requirements
- **Library Type**: Static library

## Release Build Stripping
Expand Down
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Thank you for your interest in contributing to logcoe!
## Development Setup

### Prerequisites
- CMake 3.14+
- C++17 compatible compiler
- CMake 3.22+
- C++23 compatible compiler
- Git

### Building from Source
Expand Down
Loading