view dep/anitomy/CMakeLists.txt @ 72:893ad99b174d

dep/anitomy: add CXX_STANDARD to CMakeLists.txt this fixes bugs when building on macOS, because Apple clang defaults to C++98(?) HG Enter commit message. Lines beginning with 'HG:' are removed.
author Paper <mrpapersonic@gmail.com>
date Tue, 03 Oct 2023 04:58:38 -0400
parents 5c0397762b53
children
line wrap: on
line source

cmake_minimum_required(VERSION 3.9)
project(anitomy)
add_library(anitomy SHARED
	anitomy/anitomy.cpp
	anitomy/element.cpp
	anitomy/keyword.cpp
	anitomy/parser.cpp
	anitomy/parser_helper.cpp
	anitomy/parser_number.cpp
	anitomy/string.cpp
	anitomy/token.cpp
	anitomy/tokenizer.cpp
)
set_target_properties(anitomy PROPERTIES
    PUBLIC_HEADER anitomy/anitomy.h CXX_STANDARD 17)
target_include_directories(anitomy PRIVATE src)