1111> at the top of the ` Changes ` file.
1212
1313
14- # Expat, Release 2.6.4
14+ # Expat, Release 2.7.0
1515
1616This is Expat, a C99 library for parsing
1717[ XML 1.0 Fourth Edition] ( https://www.w3.org/TR/2006/REC-xml-20060816/ ) , started by
@@ -22,9 +22,9 @@ are called when the parser discovers the associated structures in the
2222document being parsed. A start tag is an example of the kind of
2323structures for which you may register handlers.
2424
25- Expat supports the following compilers:
25+ Expat supports the following C99 compilers:
2626
27- - GNU GCC >=4.5
27+ - GNU GCC >=4.5 (for use from C) or GNU GCC >=4.8.1 (for use from C++)
2828- LLVM Clang >=3.5
2929- Microsoft Visual Studio >=16.0/2019 (rolling ` ${today} minus 5 years ` )
3030
@@ -52,7 +52,7 @@ This approach leverages CMake's own [module `FindEXPAT`](https://cmake.org/cmake
5252Notice the * uppercase* ` EXPAT ` in the following example:
5353
5454``` cmake
55- cmake_minimum_required(VERSION 3.0) # or 3.10, see below
55+ cmake_minimum_required(VERSION 3.10)
5656
5757project(hello VERSION 1.0.0)
5858
@@ -62,12 +62,7 @@ add_executable(hello
6262 hello.c
6363)
6464
65- # a) for CMake >=3.10 (see CMake's FindEXPAT docs)
6665target_link_libraries(hello PUBLIC EXPAT::EXPAT)
67-
68- # b) for CMake >=3.0
69- target_include_directories(hello PRIVATE ${EXPAT_INCLUDE_DIRS})
70- target_link_libraries(hello PUBLIC ${EXPAT_LIBRARIES})
7166```
7267
7368### b) ` find_package ` with Config Mode
8580Notice the * lowercase* ` expat ` in the following example:
8681
8782``` cmake
88- cmake_minimum_required(VERSION 3.0 )
83+ cmake_minimum_required(VERSION 3.10 )
8984
9085project(hello VERSION 1.0.0)
9186
@@ -295,7 +290,7 @@ EXPAT_ENABLE_INSTALL:BOOL=ON
295290// Use /MT flag (static CRT) when compiling in MSVC
296291EXPAT_MSVC_STATIC_CRT:BOOL=OFF
297292
298- // Build fuzzers via ossfuzz for the expat library
293+ // Build fuzzers via OSS-Fuzz for the expat library
299294EXPAT_OSSFUZZ_BUILD:BOOL=OFF
300295
301296// Build a shared expat library
0 commit comments