Skip to content

Commit

Permalink
update to c++20
Browse files Browse the repository at this point in the history
  • Loading branch information
mangoeffect committed Oct 29, 2021
1 parent 46bc775 commit 2f0449d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.14)
project(GacUI CXX)

# C++标准要求
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)

# 设置编译库文件版本后缀
set(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "add a postfix, usually d on windows")
Expand Down
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

# 如何编译GacUI

**注意:最新版本(>=1.0.3.0)需要编译器支持C++20标准**

1. 克隆项目,注意要递归下载GacUI源码

```bash
Expand Down

0 comments on commit 2f0449d

Please sign in to comment.