Skip to content

Commit

Permalink
Update C++ standard
Browse files Browse the repository at this point in the history
  • Loading branch information
chardoncs committed Aug 26, 2022
1 parent f258579 commit bd8cb98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0.0)
project(libpgfe VERSION 0.3.0)

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)

set(CMAKE_C_COMPILER clang)
set(CMAKE_CXX_COMPILER clang++)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Since v0.2.0, **libpgfe** has been "self-sufficient" and does not depend on any
| Item | Content |
| :----------- | :------------------ |
| C Standard | [C11 (ISO/IEC 9899:2011)](https://en.wikipedia.org/wiki/C11_(C_standard_revision)) |
| C++ Standard | [C++11 (ISO/IEC 14882:2011)](https://en.wikipedia.org/wiki/C%2B%2B11) |
| C++ Standard | [C++14 (ISO/IEC 14882:2014)](https://en.wikipedia.org/wiki/C++14) |
| Compiler | LLVM Clang |
| License | BSD 3-Clause |

Expand Down
2 changes: 1 addition & 1 deletion meta.mak
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ LIB_DIR := /usr/lib
CC := clang
CXX := clang++
STD := c11
STD_CPP := c++11
STD_CPP := c++14

STD_OPTION := -std=$(STD)
STD_CPP_OPTION := -std=$(STD_CPP)

0 comments on commit bd8cb98

Please sign in to comment.