Skip to content
Draft
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
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 2017-2021 the nyan authors. See copying.md for legal info.
# Copyright 2017-2025 the nyan authors. See copying.md for legal info.

# main nyan build configuration file

cmake_minimum_required(VERSION 3.8.0)
# required for CMAKE_CXX_STANDARD 17
cmake_minimum_required(VERSION 3.20.0)
# required for CMAKE_CXX_STANDARD 23

message("

Expand Down Expand Up @@ -38,7 +38,7 @@ project(nyan VERSION ${nyan_VERSION} LANGUAGES CXX)
set(nyan_exports_name "nyanTargets")

# C++ standard requirement
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# CMake policies
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ The main focus is *readability* and *moddability*.

The foundation of **nyan**:

Technology | Component
-----------------------|----------
**C++20** | nyan core
**Flex** | Tokenizer generator
**CMake** | Build "system"
**Humans** | Doing it wrong all the time
| Technology | Component |
| ---------- | --------------------------- |
| **C++23** | nyan core |
| **Flex** | Tokenizer generator |
| **CMake** | Build "system" |
| **Humans** | Doing it wrong all the time |


How?
Expand Down Expand Up @@ -133,9 +133,9 @@ Please submit bugs and feature requests (and patches) on [GitHub](https://github
Dependencies, Building and Running
----------------------------------

Operating System | Build status
--------------------|--------------
Debian Sid | [Todo: Kevin #11](https://github.com/SFTtech/kevin/issues/11)
| Operating System | Build status |
| ---------------- | ------------------------------------------------------------- |
| Debian Sid | [Todo: Kevin #11](https://github.com/SFTtech/kevin/issues/11) |


- How do I get this to install on my box?
Expand Down
8 changes: 4 additions & 4 deletions doc/building.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Building nyan

This project requires a C++20 compiler (e.g gcc >= 10 or clang >= 10) and
This project requires a C++23 compiler (e.g gcc >= 11 or clang >= 13) and
uses `flex` and `cmake`.


## Dependencies

###### Ubuntu 20.04 or later
###### Ubuntu 22.04 or later

```
sudo apt-get update
Expand Down Expand Up @@ -36,7 +36,7 @@ sudo emerge -avt cmake flex make
- [Visual Studio 2017 Community edition](https://www.visualstudio.com/downloads/)
- [flex](https://sourceforge.net/projects/winflexbison/)
- The path to win_flex.exe needs to be added to the PATH environment variable

## Clone this repository

```
Expand All @@ -58,7 +58,7 @@ make -j$(nproc)
_Note:_ on windows the last command is
```powershell
cmake --build . --config RelWithDebInfo
```
```

_Note:_ if nyan can't find flex add `-DFLEX_EXECUTABLE=path/to/win_flex.exe` to the cmake configure command.

Expand Down
2 changes: 1 addition & 1 deletion nyan/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ set_target_properties(nyan PROPERTIES
# C++ standard requirement
target_compile_features(nyan
PUBLIC
cxx_std_17
cxx_std_23
)

# binaries
Expand Down