Skip to content

Commit 3a83b44

Browse files
authored
Merge pull request #34 from index1207/platform/windows
Change CMakeLists.txt
2 parents 32e8542 + d67c5fd commit 3a83b44

2 files changed

Lines changed: 3 additions & 18 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,6 @@ project(netcpp VERSION 0.3 DESCRIPTION "C++ Network library." LANGUAGES CXX)
44

55
include(GNUInstallDirs)
66

7-
# Compiler version check
8-
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
9-
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13)
10-
message(FATAL_ERROR "The target does not support gcc-12 or lower versions.")
11-
endif ()
12-
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
13-
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16)
14-
message(FATAL_ERROR "The target does not support clang-15 or lower versions.")
15-
endif ()
16-
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
17-
if(MSVC_VERSION VERSION_LESS 1920)
18-
message(FATAL_ERROR "The target does not support this Visual Studio version.")
19-
endif ()
20-
endif ()
21-
227
# Platforms
238
if (MSVC)
249
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG")

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 📦netcpp ![windows](https://github.com/index1207/netcpp/actions/workflows/windows.yml/badge.svg) ![linux](https://github.com/index1207/netcpp/actions/workflows/linux.yml/badge.svg) [![codecov](https://codecov.io/gh/index1207/netcpp/graph/badge.svg?_token=BVVUC5S422)](https://codecov.io/gh/index1207/netcpp) ![lang](https://img.shields.io/badge/language-C++20-blue) [![Vcpkg package](https://img.shields.io/badge/vcpkg-netcpp-blue)](https://github.com/microsoft/vcpkg/tree/master/ports/netcpp) [![License](https://img.shields.io/github/license/index1207/netcpp.svg)](LICENSE)
1+
# netcpp ![windows](https://github.com/index1207/netcpp/actions/workflows/windows.yml/badge.svg) ![linux](https://github.com/index1207/netcpp/actions/workflows/linux.yml/badge.svg) [![codecov](https://codecov.io/gh/index1207/netcpp/graph/badge.svg?_token=BVVUC5S422)](https://codecov.io/gh/index1207/netcpp) ![lang](https://img.shields.io/badge/language-C++20-blue) [![Vcpkg package](https://img.shields.io/badge/vcpkg-netcpp-blue)](https://github.com/microsoft/vcpkg/tree/master/ports/netcpp) [![License](https://img.shields.io/github/license/index1207/netcpp.svg)](LICENSE)
22
netcpp is open-source simple C++ network library. netcpp supports windows and linux platform. asynchronous feature implement by each os's api. Windows implemented using IOCP and Linux implemented using io_uring.
33

44
## Installation
@@ -108,5 +108,5 @@ The repository is whenever welcome any issues or PRs!
108108
- Windows
109109
- Visual Studio 2019
110110
- Linux
111-
- Clang 16
112-
- GCC 13.2
111+
- Clang 9
112+
- GCC 10

0 commit comments

Comments
 (0)