feature use c++98
This commit is contained in:
parent
f08ae94e37
commit
3a2b1018d2
@ -3,9 +3,9 @@ cmake_minimum_required(VERSION 3.10)
|
|||||||
option(ULIB_BUILD_TESTS "Build tests" OFF)
|
option(ULIB_BUILD_TESTS "Build tests" OFF)
|
||||||
|
|
||||||
project(ulib LANGUAGES CXX VERSION 0.1.0)
|
project(ulib LANGUAGES CXX VERSION 0.1.0)
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 98)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_CXX_EXTENSIONS ON)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
add_library(${PROJECT_NAME} STATIC ""
|
add_library(${PROJECT_NAME} STATIC ""
|
||||||
src/base/location.cpp
|
src/base/location.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user