Mercurial > minori
annotate dep/anitomy/CMakeLists.txt @ 187:9613d72b097e
*: multiple performance improvements
like marking `static const` when it makes sense...
date: change old stupid heap-based method to a structure which should
make copying the thing actually make a copy.
also many performance-based changes, like removing the std::tie
dependency and forward-declaring nlohmann json
*: replace every instance of QString::fromUtf8 to Strings::ToQString.
the main difference is that our function will always convert exactly
what is in the string, while some other times it would only convert
up to the nearest NUL byte
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 06 Dec 2023 13:43:54 -0500 |
parents | 893ad99b174d |
children |
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) |