@cpp.js/package-expat 1.1.0 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/cppjs.config.js +12 -10
  3. package/package.json +10 -12
  4. package/dist/prebuilt/Android-arm64-v8a/include/expat.h +0 -1077
  5. package/dist/prebuilt/Android-arm64-v8a/include/expat_config.h +0 -143
  6. package/dist/prebuilt/Android-arm64-v8a/include/expat_external.h +0 -165
  7. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/expat-2.7.1/expat-config-version.cmake +0 -65
  8. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/expat-2.7.1/expat-config.cmake +0 -99
  9. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/expat-2.7.1/expat-noconfig.cmake +0 -19
  10. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/expat-2.7.1/expat.cmake +0 -107
  11. package/dist/prebuilt/Android-arm64-v8a/lib/libexpat.la +0 -41
  12. package/dist/prebuilt/Android-arm64-v8a/lib/libexpat.so +0 -0
  13. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/expat.pc +0 -13
  14. package/dist/prebuilt/Android-arm64-v8a/share/doc/expat/AUTHORS +0 -10
  15. package/dist/prebuilt/Android-arm64-v8a/share/doc/expat/changelog +0 -1672
  16. package/dist/prebuilt/Android-x86_64/include/expat.h +0 -1077
  17. package/dist/prebuilt/Android-x86_64/include/expat_config.h +0 -143
  18. package/dist/prebuilt/Android-x86_64/include/expat_external.h +0 -165
  19. package/dist/prebuilt/Android-x86_64/lib/cmake/expat-2.7.1/expat-config-version.cmake +0 -65
  20. package/dist/prebuilt/Android-x86_64/lib/cmake/expat-2.7.1/expat-config.cmake +0 -99
  21. package/dist/prebuilt/Android-x86_64/lib/cmake/expat-2.7.1/expat-noconfig.cmake +0 -19
  22. package/dist/prebuilt/Android-x86_64/lib/cmake/expat-2.7.1/expat.cmake +0 -107
  23. package/dist/prebuilt/Android-x86_64/lib/libexpat.la +0 -41
  24. package/dist/prebuilt/Android-x86_64/lib/libexpat.so +0 -0
  25. package/dist/prebuilt/Android-x86_64/lib/pkgconfig/expat.pc +0 -13
  26. package/dist/prebuilt/Android-x86_64/share/doc/expat/AUTHORS +0 -10
  27. package/dist/prebuilt/Android-x86_64/share/doc/expat/changelog +0 -1672
  28. package/dist/prebuilt/CMakeLists.txt +0 -44
  29. package/dist/prebuilt/Emscripten-x86_64/include/expat.h +0 -1077
  30. package/dist/prebuilt/Emscripten-x86_64/include/expat_config.h +0 -143
  31. package/dist/prebuilt/Emscripten-x86_64/include/expat_external.h +0 -165
  32. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/expat-2.7.1/expat-config-version.cmake +0 -65
  33. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/expat-2.7.1/expat-config.cmake +0 -99
  34. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/expat-2.7.1/expat-noconfig.cmake +0 -19
  35. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/expat-2.7.1/expat.cmake +0 -107
  36. package/dist/prebuilt/Emscripten-x86_64/lib/libexpat.a +0 -0
  37. package/dist/prebuilt/Emscripten-x86_64/lib/libexpat.la +0 -41
  38. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/expat.pc +0 -13
  39. package/dist/prebuilt/Emscripten-x86_64/share/doc/expat/AUTHORS +0 -10
  40. package/dist/prebuilt/Emscripten-x86_64/share/doc/expat/changelog +0 -1672
  41. package/dist/prebuilt/iOS-iphoneos/include/expat.h +0 -1077
  42. package/dist/prebuilt/iOS-iphoneos/include/expat_config.h +0 -143
  43. package/dist/prebuilt/iOS-iphoneos/include/expat_external.h +0 -165
  44. package/dist/prebuilt/iOS-iphoneos/lib/cmake/expat-2.7.1/expat-config-version.cmake +0 -65
  45. package/dist/prebuilt/iOS-iphoneos/lib/cmake/expat-2.7.1/expat-config.cmake +0 -99
  46. package/dist/prebuilt/iOS-iphoneos/lib/cmake/expat-2.7.1/expat-noconfig.cmake +0 -19
  47. package/dist/prebuilt/iOS-iphoneos/lib/cmake/expat-2.7.1/expat.cmake +0 -107
  48. package/dist/prebuilt/iOS-iphoneos/lib/libexpat.a +0 -0
  49. package/dist/prebuilt/iOS-iphoneos/lib/libexpat.la +0 -41
  50. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/expat.pc +0 -13
  51. package/dist/prebuilt/iOS-iphoneos/share/doc/expat/AUTHORS +0 -10
  52. package/dist/prebuilt/iOS-iphoneos/share/doc/expat/changelog +0 -1672
  53. package/dist/prebuilt/iOS-iphonesimulator/include/expat.h +0 -1077
  54. package/dist/prebuilt/iOS-iphonesimulator/include/expat_config.h +0 -143
  55. package/dist/prebuilt/iOS-iphonesimulator/include/expat_external.h +0 -165
  56. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/expat-2.7.1/expat-config-version.cmake +0 -65
  57. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/expat-2.7.1/expat-config.cmake +0 -99
  58. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/expat-2.7.1/expat-noconfig.cmake +0 -19
  59. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/expat-2.7.1/expat.cmake +0 -107
  60. package/dist/prebuilt/iOS-iphonesimulator/lib/libexpat.a +0 -0
  61. package/dist/prebuilt/iOS-iphonesimulator/lib/libexpat.la +0 -41
  62. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/expat.pc +0 -13
  63. package/dist/prebuilt/iOS-iphonesimulator/share/doc/expat/AUTHORS +0 -10
  64. package/dist/prebuilt/iOS-iphonesimulator/share/doc/expat/changelog +0 -1672
  65. package/expat.xcframework/Info.plist +0 -50
  66. package/expat.xcframework/ios-arm64_arm64e/Headers/expat.h +0 -1077
  67. package/expat.xcframework/ios-arm64_arm64e/Headers/expat_config.h +0 -143
  68. package/expat.xcframework/ios-arm64_arm64e/Headers/expat_external.h +0 -165
  69. package/expat.xcframework/ios-arm64_arm64e/libexpat.a +0 -0
  70. package/expat.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/expat.h +0 -1077
  71. package/expat.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/expat_config.h +0 -143
  72. package/expat.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/expat_external.h +0 -165
  73. package/expat.xcframework/ios-arm64_arm64e_x86_64-simulator/libexpat.a +0 -0
@@ -1,143 +0,0 @@
1
- /* expat_config.h. Generated from expat_config.h.in by configure. */
2
- /* expat_config.h.in. Generated from configure.ac by autoheader. */
3
-
4
- #ifndef EXPAT_CONFIG_H
5
- #define EXPAT_CONFIG_H 1
6
-
7
- /* Define if building universal (internal helper macro) */
8
- /* #undef AC_APPLE_UNIVERSAL_BUILD */
9
-
10
- /* 1234 = LILENDIAN, 4321 = BIGENDIAN */
11
- #define BYTEORDER 1234
12
-
13
- /* Define to 1 if you have the `arc4random' function. */
14
- /* #undef HAVE_ARC4RANDOM */
15
-
16
- /* Define to 1 if you have the `arc4random_buf' function. */
17
- #define HAVE_ARC4RANDOM_BUF 1
18
-
19
- /* define if the compiler supports basic C++11 syntax */
20
- /* #undef HAVE_CXX11 */
21
-
22
- /* Define to 1 if you have the <dlfcn.h> header file. */
23
- #define HAVE_DLFCN_H 1
24
-
25
- /* Define to 1 if you have the <fcntl.h> header file. */
26
- #define HAVE_FCNTL_H 1
27
-
28
- /* Define to 1 if you have the `getpagesize' function. */
29
- #define HAVE_GETPAGESIZE 1
30
-
31
- /* Define to 1 if you have the `getrandom' function. */
32
- /* #undef HAVE_GETRANDOM */
33
-
34
- /* Define to 1 if you have the <inttypes.h> header file. */
35
- #define HAVE_INTTYPES_H 1
36
-
37
- /* Define to 1 if you have the `bsd' library (-lbsd). */
38
- /* #undef HAVE_LIBBSD */
39
-
40
- /* Define to 1 if you have a working `mmap' system call. */
41
- /* #undef HAVE_MMAP */
42
-
43
- /* Define to 1 if you have the <stdint.h> header file. */
44
- #define HAVE_STDINT_H 1
45
-
46
- /* Define to 1 if you have the <stdio.h> header file. */
47
- #define HAVE_STDIO_H 1
48
-
49
- /* Define to 1 if you have the <stdlib.h> header file. */
50
- #define HAVE_STDLIB_H 1
51
-
52
- /* Define to 1 if you have the <strings.h> header file. */
53
- #define HAVE_STRINGS_H 1
54
-
55
- /* Define to 1 if you have the <string.h> header file. */
56
- #define HAVE_STRING_H 1
57
-
58
- /* Define to 1 if you have `syscall' and `SYS_getrandom'. */
59
- /* #undef HAVE_SYSCALL_GETRANDOM */
60
-
61
- /* Define to 1 if you have the <sys/param.h> header file. */
62
- #define HAVE_SYS_PARAM_H 1
63
-
64
- /* Define to 1 if you have the <sys/stat.h> header file. */
65
- #define HAVE_SYS_STAT_H 1
66
-
67
- /* Define to 1 if you have the <sys/types.h> header file. */
68
- #define HAVE_SYS_TYPES_H 1
69
-
70
- /* Define to 1 if you have the <unistd.h> header file. */
71
- #define HAVE_UNISTD_H 1
72
-
73
- /* Define to the sub-directory where libtool stores uninstalled libraries. */
74
- #define LT_OBJDIR ".libs/"
75
-
76
- /* Name of package */
77
- #define PACKAGE "expat"
78
-
79
- /* Define to the address where bug reports for this package should be sent. */
80
- #define PACKAGE_BUGREPORT "https://github.com/libexpat/libexpat/issues"
81
-
82
- /* Define to the full name of this package. */
83
- #define PACKAGE_NAME "expat"
84
-
85
- /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.7.1"
87
-
88
- /* Define to the one symbol short name of this package. */
89
- #define PACKAGE_TARNAME "expat"
90
-
91
- /* Define to the home page for this package. */
92
- #define PACKAGE_URL ""
93
-
94
- /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.7.1"
96
-
97
- /* Define to 1 if all of the C90 standard headers exist (not just the ones
98
- required in a freestanding environment). This macro is provided for
99
- backward compatibility; new code need not use it. */
100
- #define STDC_HEADERS 1
101
-
102
- /* Version number of package */
103
- #define VERSION "2.7.1"
104
-
105
- /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
- significant byte first (like Motorola and SPARC, unlike Intel). */
107
- #if defined AC_APPLE_UNIVERSAL_BUILD
108
- # if defined __BIG_ENDIAN__
109
- # define WORDS_BIGENDIAN 1
110
- # endif
111
- #else
112
- # ifndef WORDS_BIGENDIAN
113
- /* # undef WORDS_BIGENDIAN */
114
- # endif
115
- #endif
116
-
117
- /* Define to allow retrieving the byte offsets for attribute names and values.
118
- */
119
- /* #undef XML_ATTR_INFO */
120
-
121
- /* Define to specify how much context to retain around the current parse
122
- point, 0 to disable. */
123
- #define XML_CONTEXT_BYTES 1024
124
-
125
- /* Define to include code reading entropy from `/dev/urandom'. */
126
- #define XML_DEV_URANDOM 1
127
-
128
- /* Define to make parameter entity parsing functionality available. */
129
- #define XML_DTD 1
130
-
131
- /* Define as 1/0 to enable/disable support for general entities. */
132
- #define XML_GE 1
133
-
134
- /* Define to make XML Namespaces functionality available. */
135
- #define XML_NS 1
136
-
137
- /* Define to empty if `const' does not conform to ANSI C. */
138
- /* #undef const */
139
-
140
- /* Define to `long int' if <sys/types.h> does not define. */
141
- /* #undef off_t */
142
-
143
- #endif // ndef EXPAT_CONFIG_H
@@ -1,165 +0,0 @@
1
- /*
2
- __ __ _
3
- ___\ \/ /_ __ __ _| |_
4
- / _ \\ /| '_ \ / _` | __|
5
- | __// \| |_) | (_| | |_
6
- \___/_/\_\ .__/ \__,_|\__|
7
- |_| XML parser
8
-
9
- Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
10
- Copyright (c) 2000 Clark Cooper <coopercc@users.sourceforge.net>
11
- Copyright (c) 2000-2004 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
12
- Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net>
13
- Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net>
14
- Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org>
15
- Copyright (c) 2016-2019 Sebastian Pipping <sebastian@pipping.org>
16
- Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
17
- Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
18
- Licensed under the MIT license:
19
-
20
- Permission is hereby granted, free of charge, to any person obtaining
21
- a copy of this software and associated documentation files (the
22
- "Software"), to deal in the Software without restriction, including
23
- without limitation the rights to use, copy, modify, merge, publish,
24
- distribute, sublicense, and/or sell copies of the Software, and to permit
25
- persons to whom the Software is furnished to do so, subject to the
26
- following conditions:
27
-
28
- The above copyright notice and this permission notice shall be included
29
- in all copies or substantial portions of the Software.
30
-
31
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
33
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
34
- NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
35
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
36
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
37
- USE OR OTHER DEALINGS IN THE SOFTWARE.
38
- */
39
-
40
- #ifndef Expat_External_INCLUDED
41
- #define Expat_External_INCLUDED 1
42
-
43
- /* External API definitions */
44
-
45
- /* Expat tries very hard to make the API boundary very specifically
46
- defined. There are two macros defined to control this boundary;
47
- each of these can be defined before including this header to
48
- achieve some different behavior, but doing so it not recommended or
49
- tested frequently.
50
-
51
- XMLCALL - The calling convention to use for all calls across the
52
- "library boundary." This will default to cdecl, and
53
- try really hard to tell the compiler that's what we
54
- want.
55
-
56
- XMLIMPORT - Whatever magic is needed to note that a function is
57
- to be imported from a dynamically loaded library
58
- (.dll, .so, or .sl, depending on your platform).
59
-
60
- The XMLCALL macro was added in Expat 1.95.7. The only one which is
61
- expected to be directly useful in client code is XMLCALL.
62
-
63
- Note that on at least some Unix versions, the Expat library must be
64
- compiled with the cdecl calling convention as the default since
65
- system headers may assume the cdecl convention.
66
- */
67
- #ifndef XMLCALL
68
- # if defined(_MSC_VER)
69
- # define XMLCALL __cdecl
70
- # elif defined(__GNUC__) && defined(__i386) && ! defined(__INTEL_COMPILER)
71
- # define XMLCALL __attribute__((cdecl))
72
- # else
73
- /* For any platform which uses this definition and supports more than
74
- one calling convention, we need to extend this definition to
75
- declare the convention used on that platform, if it's possible to
76
- do so.
77
-
78
- If this is the case for your platform, please file a bug report
79
- with information on how to identify your platform via the C
80
- pre-processor and how to specify the same calling convention as the
81
- platform's malloc() implementation.
82
- */
83
- # define XMLCALL
84
- # endif
85
- #endif /* not defined XMLCALL */
86
-
87
- #if ! defined(XML_STATIC) && ! defined(XMLIMPORT)
88
- # ifndef XML_BUILDING_EXPAT
89
- /* using Expat from an application */
90
-
91
- # if defined(_MSC_EXTENSIONS) && ! defined(__BEOS__) && ! defined(__CYGWIN__)
92
- # define XMLIMPORT __declspec(dllimport)
93
- # endif
94
-
95
- # endif
96
- #endif /* not defined XML_STATIC */
97
-
98
- #ifndef XML_ENABLE_VISIBILITY
99
- # define XML_ENABLE_VISIBILITY 0
100
- #endif
101
-
102
- #if ! defined(XMLIMPORT) && XML_ENABLE_VISIBILITY
103
- # define XMLIMPORT __attribute__((visibility("default")))
104
- #endif
105
-
106
- /* If we didn't define it above, define it away: */
107
- #ifndef XMLIMPORT
108
- # define XMLIMPORT
109
- #endif
110
-
111
- #if defined(__GNUC__) \
112
- && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
113
- # define XML_ATTR_MALLOC __attribute__((__malloc__))
114
- #else
115
- # define XML_ATTR_MALLOC
116
- #endif
117
-
118
- #if defined(__GNUC__) \
119
- && ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
120
- # define XML_ATTR_ALLOC_SIZE(x) __attribute__((__alloc_size__(x)))
121
- #else
122
- # define XML_ATTR_ALLOC_SIZE(x)
123
- #endif
124
-
125
- #define XMLPARSEAPI(type) XMLIMPORT type XMLCALL
126
-
127
- #ifdef __cplusplus
128
- extern "C" {
129
- #endif
130
-
131
- #ifdef XML_UNICODE_WCHAR_T
132
- # ifndef XML_UNICODE
133
- # define XML_UNICODE
134
- # endif
135
- # if defined(__SIZEOF_WCHAR_T__) && (__SIZEOF_WCHAR_T__ != 2)
136
- # error "sizeof(wchar_t) != 2; Need -fshort-wchar for both Expat and libc"
137
- # endif
138
- #endif
139
-
140
- #ifdef XML_UNICODE /* Information is UTF-16 encoded. */
141
- # ifdef XML_UNICODE_WCHAR_T
142
- typedef wchar_t XML_Char;
143
- typedef wchar_t XML_LChar;
144
- # else
145
- typedef unsigned short XML_Char;
146
- typedef char XML_LChar;
147
- # endif /* XML_UNICODE_WCHAR_T */
148
- #else /* Information is UTF-8 encoded. */
149
- typedef char XML_Char;
150
- typedef char XML_LChar;
151
- #endif /* XML_UNICODE */
152
-
153
- #ifdef XML_LARGE_SIZE /* Use large integers for file/stream positions. */
154
- typedef long long XML_Index;
155
- typedef unsigned long long XML_Size;
156
- #else
157
- typedef long XML_Index;
158
- typedef unsigned long XML_Size;
159
- #endif /* XML_LARGE_SIZE */
160
-
161
- #ifdef __cplusplus
162
- }
163
- #endif
164
-
165
- #endif /* not Expat_External_INCLUDED */
@@ -1,65 +0,0 @@
1
- # This is a basic version file for the Config-mode of find_package().
2
- # It is used by write_basic_package_version_file() as input file for configure_file()
3
- # to create a version-file which can be installed along a config.cmake file.
4
- #
5
- # The created file sets PACKAGE_VERSION_EXACT if the current version string and
6
- # the requested version string are exactly the same and it sets
7
- # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
8
- # but only if the requested major version is the same as the current one.
9
- # The variable CVF_VERSION must be set before calling configure_file().
10
-
11
-
12
- set(PACKAGE_VERSION "2.7.1")
13
-
14
- if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
15
- set(PACKAGE_VERSION_COMPATIBLE FALSE)
16
- else()
17
-
18
- if("2.7.1" MATCHES "^([0-9]+)\\.")
19
- set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
20
- if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
21
- string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
22
- endif()
23
- else()
24
- set(CVF_VERSION_MAJOR "2.7.1")
25
- endif()
26
-
27
- if(PACKAGE_FIND_VERSION_RANGE)
28
- # both endpoints of the range must have the expected major version
29
- math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
30
- if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
31
- OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
32
- OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
33
- set(PACKAGE_VERSION_COMPATIBLE FALSE)
34
- elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
35
- AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
36
- OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
37
- set(PACKAGE_VERSION_COMPATIBLE TRUE)
38
- else()
39
- set(PACKAGE_VERSION_COMPATIBLE FALSE)
40
- endif()
41
- else()
42
- if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
43
- set(PACKAGE_VERSION_COMPATIBLE TRUE)
44
- else()
45
- set(PACKAGE_VERSION_COMPATIBLE FALSE)
46
- endif()
47
-
48
- if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
49
- set(PACKAGE_VERSION_EXACT TRUE)
50
- endif()
51
- endif()
52
- endif()
53
-
54
-
55
- # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
56
- if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
57
- return()
58
- endif()
59
-
60
- # check that the installed version has the same 32/64bit-ness as the one which is currently searching:
61
- if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
62
- math(EXPR installedBits "8 * 8")
63
- set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
64
- set(PACKAGE_VERSION_UNSUITABLE TRUE)
65
- endif()
@@ -1,99 +0,0 @@
1
- # __ __ _
2
- # ___\ \/ /_ __ __ _| |_
3
- # / _ \\ /| '_ \ / _` | __|
4
- # | __// \| |_) | (_| | |_
5
- # \___/_/\_\ .__/ \__,_|\__|
6
- # |_| XML parser
7
- #
8
- # Copyright (c) 2019 Expat development team
9
- # Licensed under the MIT license:
10
- #
11
- # Permission is hereby granted, free of charge, to any person obtaining
12
- # a copy of this software and associated documentation files (the
13
- # "Software"), to deal in the Software without restriction, including
14
- # without limitation the rights to use, copy, modify, merge, publish,
15
- # distribute, sublicense, and/or sell copies of the Software, and to permit
16
- # persons to whom the Software is furnished to do so, subject to the
17
- # following conditions:
18
- #
19
- # The above copyright notice and this permission notice shall be included
20
- # in all copies or substantial portions of the Software.
21
- #
22
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
25
- # NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
26
- # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
27
- # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
28
- # USE OR OTHER DEALINGS IN THE SOFTWARE.
29
- #
30
- if(NOT _expat_config_included)
31
- # Protect against multiple inclusion
32
- set(_expat_config_included TRUE)
33
-
34
-
35
- include("${CMAKE_CURRENT_LIST_DIR}/expat.cmake")
36
-
37
-
38
- ####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
39
- ####### Any changes to this file will be overwritten by the next CMake run ####
40
- ####### The input file was expat-config.cmake.in ########
41
-
42
- get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
43
-
44
- macro(set_and_check _var _file)
45
- set(${_var} "${_file}")
46
- if(NOT EXISTS "${_file}")
47
- message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
48
- endif()
49
- endmacro()
50
-
51
- macro(check_required_components _NAME)
52
- foreach(comp ${${_NAME}_FIND_COMPONENTS})
53
- if(NOT ${_NAME}_${comp}_FOUND)
54
- if(${_NAME}_FIND_REQUIRED_${comp})
55
- set(${_NAME}_FOUND FALSE)
56
- endif()
57
- endif()
58
- endforeach()
59
- endmacro()
60
-
61
- ####################################################################################
62
-
63
- #
64
- # Supported components
65
- #
66
- macro(expat_register_component _NAME _AVAILABE)
67
- set(expat_${_NAME}_FOUND ${_AVAILABE})
68
- endmacro()
69
-
70
- expat_register_component(attr_info OFF)
71
- expat_register_component(dtd ON)
72
- expat_register_component(large_size OFF)
73
- expat_register_component(min_size OFF)
74
- expat_register_component(ns ON)
75
-
76
- if(1024)
77
- expat_register_component(context_bytes ON)
78
- else()
79
- expat_register_component(context_bytes OFF)
80
- endif()
81
-
82
- if("char" STREQUAL "char")
83
- expat_register_component(char ON)
84
- expat_register_component(ushort OFF)
85
- expat_register_component(wchar_t OFF)
86
- elseif("char" STREQUAL "ushort")
87
- expat_register_component(char OFF)
88
- expat_register_component(ushort ON)
89
- expat_register_component(wchar_t OFF)
90
- elseif("char" STREQUAL "wchar_t")
91
- expat_register_component(char OFF)
92
- expat_register_component(ushort OFF)
93
- expat_register_component(wchar_t ON)
94
- endif()
95
-
96
- check_required_components(expat)
97
-
98
-
99
- endif(NOT _expat_config_included)
@@ -1,19 +0,0 @@
1
- #----------------------------------------------------------------
2
- # Generated CMake target import file for configuration "NoConfig".
3
- #----------------------------------------------------------------
4
-
5
- # Commands may need to know the format version.
6
- set(CMAKE_IMPORT_FILE_VERSION 1)
7
-
8
- # Import target "expat::expat" for configuration "NoConfig"
9
- set_property(TARGET expat::expat APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
10
- set_target_properties(expat::expat PROPERTIES
11
- IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libexpat.1.dylib"
12
- IMPORTED_SONAME_NOCONFIG "@rpath/libexpat.1.dylib"
13
- )
14
-
15
- list(APPEND _cmake_import_check_targets expat::expat )
16
- list(APPEND _cmake_import_check_files_for_expat::expat "${_IMPORT_PREFIX}/lib/libexpat.1.dylib" )
17
-
18
- # Commands beyond this point should not need to know the version.
19
- set(CMAKE_IMPORT_FILE_VERSION)
@@ -1,107 +0,0 @@
1
- # Generated by CMake
2
-
3
- if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
- message(FATAL_ERROR "CMake >= 2.8.12 required")
5
- endif()
6
- if(CMAKE_VERSION VERSION_LESS "2.8.12")
7
- message(FATAL_ERROR "CMake >= 2.8.12 required")
8
- endif()
9
- cmake_policy(PUSH)
10
- cmake_policy(VERSION 2.8.12...3.29)
11
- #----------------------------------------------------------------
12
- # Generated CMake target import file.
13
- #----------------------------------------------------------------
14
-
15
- # Commands may need to know the format version.
16
- set(CMAKE_IMPORT_FILE_VERSION 1)
17
-
18
- # Protect against multiple inclusion, which would fail when already imported targets are added once more.
19
- set(_cmake_targets_defined "")
20
- set(_cmake_targets_not_defined "")
21
- set(_cmake_expected_targets "")
22
- foreach(_cmake_expected_target IN ITEMS expat::expat)
23
- list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24
- if(TARGET "${_cmake_expected_target}")
25
- list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26
- else()
27
- list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28
- endif()
29
- endforeach()
30
- unset(_cmake_expected_target)
31
- if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32
- unset(_cmake_targets_defined)
33
- unset(_cmake_targets_not_defined)
34
- unset(_cmake_expected_targets)
35
- unset(CMAKE_IMPORT_FILE_VERSION)
36
- cmake_policy(POP)
37
- return()
38
- endif()
39
- if(NOT _cmake_targets_defined STREQUAL "")
40
- string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41
- string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42
- message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43
- endif()
44
- unset(_cmake_targets_defined)
45
- unset(_cmake_targets_not_defined)
46
- unset(_cmake_expected_targets)
47
-
48
-
49
- # Compute the installation prefix relative to this file.
50
- get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
51
- get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
52
- get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
53
- get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
54
- if(_IMPORT_PREFIX STREQUAL "/")
55
- set(_IMPORT_PREFIX "")
56
- endif()
57
-
58
- # Create imported target expat::expat
59
- add_library(expat::expat SHARED IMPORTED)
60
-
61
- set_target_properties(expat::expat PROPERTIES
62
- INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
63
- INTERFACE_LINK_LIBRARIES "m"
64
- )
65
-
66
- # Load information for each installed configuration.
67
- file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/expat-*.cmake")
68
- foreach(_cmake_config_file IN LISTS _cmake_config_files)
69
- include("${_cmake_config_file}")
70
- endforeach()
71
- unset(_cmake_config_file)
72
- unset(_cmake_config_files)
73
-
74
- # Cleanup temporary variables.
75
- set(_IMPORT_PREFIX)
76
-
77
- # Loop over all imported files and verify that they actually exist
78
- foreach(_cmake_target IN LISTS _cmake_import_check_targets)
79
- if(CMAKE_VERSION VERSION_LESS "3.28"
80
- OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
81
- OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
82
- foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
83
- if(NOT EXISTS "${_cmake_file}")
84
- message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
85
- \"${_cmake_file}\"
86
- but this file does not exist. Possible reasons include:
87
- * The file was deleted, renamed, or moved to another location.
88
- * An install or uninstall procedure did not complete successfully.
89
- * The installation package was faulty and contained
90
- \"${CMAKE_CURRENT_LIST_FILE}\"
91
- but not all the files it references.
92
- ")
93
- endif()
94
- endforeach()
95
- endif()
96
- unset(_cmake_file)
97
- unset("_cmake_import_check_files_for_${_cmake_target}")
98
- endforeach()
99
- unset(_cmake_target)
100
- unset(_cmake_import_check_targets)
101
-
102
- # This file does not depend on other imported targets which have
103
- # been exported from the same project but in a separate export set.
104
-
105
- # Commands beyond this point should not need to know the version.
106
- set(CMAKE_IMPORT_FILE_VERSION)
107
- cmake_policy(POP)
@@ -1,41 +0,0 @@
1
- # libexpat.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.5.4
3
- #
4
- # Please DO NOT delete this file!
5
- # It is necessary for linking the library.
6
-
7
- # The name that we can dlopen(3).
8
- dlname=''
9
-
10
- # Names of this library.
11
- library_names=''
12
-
13
- # The name of the static archive.
14
- old_library='libexpat.a'
15
-
16
- # Linker flags that cannot go in dependency_libs.
17
- inherited_linker_flags=' '
18
-
19
- # Libraries that this one depends upon.
20
- dependency_libs=''
21
-
22
- # Names of additional weak libraries provided by this library
23
- weak_library_names=''
24
-
25
- # Version information for libexpat.
26
- current=11
27
- age=10
28
- revision=2
29
-
30
- # Is this an already installed library?
31
- installed=yes
32
-
33
- # Should we warn about portability when linking against -modules?
34
- shouldnotlink=no
35
-
36
- # Files to dlopen/dlpreopen
37
- dlopen=''
38
- dlpreopen=''
39
-
40
- # Directory that this library needs to be installed in:
41
- libdir='/Users/bugra/Documents/cpp.js/packages/cppjs-package-expat/.cppjs/build/Source-Release/prebuilt/iOS-iphoneos/lib'
@@ -1,13 +0,0 @@
1
- prefix=/Users/bugra/Documents/cpp.js/packages/cppjs-package-expat/.cppjs/build/Source-Release/prebuilt/iOS-iphoneos
2
- exec_prefix=${prefix}
3
- libdir=${exec_prefix}/lib
4
- includedir=${prefix}/include
5
-
6
- Name: expat
7
- Version: 2.7.1
8
- Description: expat XML parser
9
- URL: https://libexpat.github.io/
10
- Libs: -L${libdir} -lexpat
11
- Libs.private:
12
- Cflags: -I${includedir}
13
- Cflags.private: -DXML_STATIC
@@ -1,10 +0,0 @@
1
- Expat is brought to you by:
2
-
3
- Clark Cooper
4
- Fred L. Drake, Jr.
5
- Greg Stein
6
- James Clark
7
- Karl Waclawek
8
- Rhodri James
9
- Sebastian Pipping
10
- Steven Solie