Mercurial > minori
annotate dep/anitomy/CMakeLists.txt @ 128:859d2a957940
cmake: set CXX_STANDARD to 17
builds: get wget on linux, don't attempt to mount binfmt_misc on win32/64
I'd prefer staying on C++11, but if constexpr is just so damn sexy...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 09 Nov 2023 02:28:22 -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) |