annotate dep/anitomy/CMakeLists.txt @ 198:bc1ae1810855

dep/animia: switch from using classes to global functions the old idea was ok, but sort of hackish; this method doesn't use classes at all, and this way (especially important!) we can do wayland stuff AND x11 at the same time, which wasn't really possible without stupid workarounds in the other method
author Paper <mrpapersonic@gmail.com>
date Sun, 24 Dec 2023 02:59:42 -0500
parents 893ad99b174d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
72
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
1 cmake_minimum_required(VERSION 3.9)
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
2 project(anitomy)
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
3 add_library(anitomy SHARED
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
4 anitomy/anitomy.cpp
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
5 anitomy/element.cpp
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
6 anitomy/keyword.cpp
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
7 anitomy/parser.cpp
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
8 anitomy/parser_helper.cpp
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
9 anitomy/parser_number.cpp
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
10 anitomy/string.cpp
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
11 anitomy/token.cpp
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
12 anitomy/tokenizer.cpp
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
13 )
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
14 set_target_properties(anitomy PROPERTIES
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
15 PUBLIC_HEADER anitomy/anitomy.h CXX_STANDARD 17)
893ad99b174d dep/anitomy: add CXX_STANDARD to CMakeLists.txt
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
16 target_include_directories(anitomy PRIVATE src)