Commit c3e46adc authored by David Gonçalves's avatar David Gonçalves 📖

use c++17

parent 4f5b576a
......@@ -14,10 +14,10 @@ set(INC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
if (CMAKE_VERSION VERSION_LESS "3.1")
if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCC OR CMAKE_COMPILER_IS_CLANGCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
endif ()
else ()
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif ()
......
......@@ -118,7 +118,7 @@ ifneq ($(BUILD),release)
TEST_OBJ = $(subst $(TEST_FOLDER),$(TEST_OBJ_FOLDER),$(TEST_SRC:.cpp=.o))
endif
CXXFLAGS = $(INCLUDES) $(ARCHITECTURE) -std=c++14 $(DEFINES) $(WARNINGS) $(OPTIMIZE)
CXXFLAGS = $(INCLUDES) $(ARCHITECTURE) -std=c++17 $(DEFINES) $(WARNINGS) $(OPTIMIZE)
all: $(OBJ_FOLDER) $(BIN_FOLDER) $(SUBDIRS) $(TARGETS)
ifeq ($(OS),Windows_NT)
......
......@@ -2,7 +2,7 @@
[![pipeline status](https://gitlab.com/MangaD/libswf/badges/master/pipeline.svg?style=flat-square)](https://gitlab.com/MangaD/libswf/commits/master) [![Build status](https://ci.appveyor.com/api/projects/status/ikfm27u4h9i9gx61?svg=true)](https://ci.appveyor.com/project/MangaD/libswf) [![coverage report](https://gitlab.com/MangaD/libswf/badges/master/coverage.svg?style=flat-square)](https://gitlab.com/MangaD/libswf/commits/master) [![license](https://img.shields.io/badge/license-MIT-red?style=flat-square)](LICENSE)
libswf is a C++14 library for extracting and replacing SWF resources.
libswf is a C++17 library for extracting and replacing SWF resources.
## Implemented
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment