annotate dep/anitomy/CMakeLists.txt @ 72:893ad99b174d

dep/anitomy: add CXX_STANDARD to CMakeLists.txt this fixes bugs when building on macOS, because Apple clang defaults to C++98(?) HG Enter commit message. Lines beginning with 'HG:' are removed.
author Paper <mrpapersonic@gmail.com>
date Tue, 03 Oct 2023 04:58:38 -0400
parents 5c0397762b53
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)