view dep/anitomy/CMakeLists.txt @ 146:d8a61e7e2a36

dep/animia: move fd stuff to a new fd.cc, don't force the user to include windows.h
author Paper <mrpapersonic@gmail.com>
date Mon, 13 Nov 2023 13:52:58 -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)