view dep/anitomy/CMakeLists.txt @ 128:859d2a957940

cmake: set CXX_STANDARD to 17 builds: get wget on linux, don't attempt to mount binfmt_misc on win32/64 I'd prefer staying on C++11, but if constexpr is just so damn sexy...
author Paper <mrpapersonic@gmail.com>
date Thu, 09 Nov 2023 02:28:22 -0500
parents 893ad99b174d
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)