Mercurial > minori
view dep/anitomy/CMakeLists.txt @ 150:ffa535b6d630
*: avoid usage of std::[pair,tuple]
https://arne-mertz.de/2017/03/smelly-pair-tuple/
it's better to use real structures and such where variables are easily known...
also apparently using [] on structs is actually valid? I had no idea.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 14 Nov 2023 16:27:33 -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)