annotate dep/anitomy/CMakeLists.txt @ 70:64e5f427c6a2
services/anilist: remove unordered_map usage for enum classes
for some reason in C++11 unordered_maps don't work on enumerations.
so instead we'll just use a switch statement :P
author |
Paper <mrpapersonic@gmail.com> |
date |
Tue, 03 Oct 2023 04:45:05 -0400 |
parents |
5c0397762b53 |
children |
893ad99b174d |
rev |
line source |
9
|
1 cmake_minimum_required(VERSION 3.9)
|
|
2 project(anitomy)
|
|
3 add_library(anitomy SHARED
|
|
4 anitomy/anitomy.cpp
|
|
5 anitomy/element.cpp
|
|
6 anitomy/keyword.cpp
|
|
7 anitomy/parser.cpp
|
|
8 anitomy/parser_helper.cpp
|
|
9 anitomy/parser_number.cpp
|
|
10 anitomy/string.cpp
|
|
11 anitomy/token.cpp
|
|
12 anitomy/tokenizer.cpp
|
|
13 )
|
|
14 set_target_properties(anitomy PROPERTIES
|
|
15 PUBLIC_HEADER anitomy/anitomy.h)
|
|
16 target_include_directories(anitomy PRIVATE src)
|