commonmarker 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of commonmarker might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +12 -10
- data/ext/commonmarker/cmark/Makefile.nmake +2 -2
- data/ext/commonmarker/cmark/build/CMakeCache.txt +66 -23
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeCCompiler.cmake +63 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeCXXCompiler.cmake +64 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CMakeSystem.cmake +15 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdC/CMakeCCompilerId.c +508 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdC/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +498 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.3.2/CompilerIdCXX/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +453 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +110 -59
- data/ext/commonmarker/cmark/build/CMakeFiles/Makefile2 +42 -18
- data/ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt +1 -1
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c +34 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx +405 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/progress.marks +1 -1
- data/ext/commonmarker/cmark/build/CTestTestfile.cmake +5 -5
- data/ext/commonmarker/cmark/build/Makefile +66 -53
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake +17 -14
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +23 -13
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake +4 -4
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make +1 -1
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt +1 -1
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/progress.make +1 -0
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/progress.marks +1 -1
- data/ext/commonmarker/cmark/build/api_test/Makefile +76 -53
- data/ext/commonmarker/cmark/build/api_test/cmake_install.cmake +20 -20
- data/ext/commonmarker/cmark/build/cmake_install.cmake +35 -35
- data/ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
- data/ext/commonmarker/cmark/build/man/Makefile +65 -52
- data/ext/commonmarker/cmark/build/man/cmake_install.cmake +26 -26
- data/ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/DependInfo.cmake +8 -11
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make +134 -107
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmake_clean.cmake +4 -4
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/flags.make +2 -4
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/progress.make +21 -20
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/DependInfo.cmake +11 -14
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make +72 -45
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmake_clean.cmake +4 -4
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/flags.make +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/link.txt +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/progress.make +20 -19
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/DependInfo.cmake +8 -11
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/blocks.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/buffer.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/build.make +128 -102
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean.cmake +4 -4
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean_target.cmake +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmark_ctype.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/commonmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.internal +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.make +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/flags.make +2 -4
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_href_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/houdini_html_u.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/html.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/inlines.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/iterator.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/latex.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/link.txt +1 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/man.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/node.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/progress.make +20 -19
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/references.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/render.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/scanners.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/utf8.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/xml.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/progress.marks +1 -1
- data/ext/commonmarker/cmark/build/src/Makefile +127 -51
- data/ext/commonmarker/cmark/build/src/cmake_install.cmake +44 -47
- data/ext/commonmarker/cmark/build/src/cmark_export.h +8 -2
- data/ext/commonmarker/cmark/build/src/libcmark.a +0 -0
- data/ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
- data/ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake +7 -7
- data/ext/commonmarker/cmark/build/testdir/Makefile +65 -52
- data/ext/commonmarker/cmark/build/testdir/cmake_install.cmake +20 -20
- data/ext/commonmarker/cmark/src/commonmark.c +1 -1
- data/ext/commonmarker/cmark/src/xml.c +1 -1
- data/lib/commonmarker.rb +14 -7
- data/lib/commonmarker/config.rb +27 -19
- data/lib/commonmarker/version.rb +1 -1
- data/test/test_encoding.rb +2 -1
- data/test/test_linebreaks.rb +0 -6
- data/test/test_maliciousness.rb +10 -0
- data/test/test_smartpunct.rb +8 -1
- metadata +15 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a66c5652272370d30158a0d782b4afc3ae20d0a7
|
4
|
+
data.tar.gz: e7d00d957306b78b59474726c7b3e80fb653193b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6aad00929e06864b840e8a6fbba2c55d205fe766cab5197c7e52b4c3c072a6d290cfbdddfd3b2ada3384ba4c39154497ece240e606dd2c4983813000b6755c4
|
7
|
+
data.tar.gz: dc8c33fad6c9106c312b37b33e97881dbf4b8b63aca5bbe43f6238c3525b7232370dca1326b21339cb8f27694382abad894f4be18785dcb70447ca3834b6d0b8
|
data/README.md
CHANGED
@@ -117,17 +117,19 @@ end
|
|
117
117
|
|
118
118
|
## Options
|
119
119
|
|
120
|
-
CommonMarker accepts the same options that CMark does, as symbols
|
120
|
+
CommonMarker accepts the same options that CMark does, as symbols. Note that there is a distinction in CMark for "parse" options and "render" options, which are represented in the table below.
|
121
121
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
122
|
+
| Name | Description | Type |
|
123
|
+
|-------|--------------|-------|
|
124
|
+
| `:default` | The default rendering system. | Both `parse` and `render`.
|
125
|
+
| `:sourcepos` | Include source position in rendered HTML. | `render`
|
126
|
+
| `:hardbreaks` | Treat `\n` as hardbreaks (by adding `<br/>`). | `render`
|
127
|
+
| `:normalize` | Attempt to normalize the HTML. | `parse`
|
128
|
+
| `:smart` | Use smart punctuation (curly quotes, etc.). | `parse`
|
129
|
+
| `:validate_utf8` | Replace illegal sequences with the replacement character `U+FFFD`. | `parse`
|
130
|
+
| `:safe` | Suppress raw HTML and unsafe links. | `render`
|
129
131
|
|
130
|
-
|
132
|
+
To apply a single option, pass it in as a symbol argument:
|
131
133
|
|
132
134
|
``` ruby
|
133
135
|
require 'commonmarker'
|
@@ -143,7 +145,7 @@ CommonMarker.render_html("\"Hello,\" said the spider.\n\"'Shelob' is my name.\""
|
|
143
145
|
# <p>“Hello,” said the spider.</br>“‘Shelob’ is my name.”</p>
|
144
146
|
```
|
145
147
|
|
146
|
-
For more information on these options, see [the CMark documentation](http://git.io/
|
148
|
+
For more information on these options, see [the CMark documentation](http://git.io/vlQii).
|
147
149
|
|
148
150
|
## Hacking
|
149
151
|
|
@@ -6,10 +6,10 @@ SPEC=test/spec.txt
|
|
6
6
|
PROG=$(BUILDDIR)\src\cmark.exe
|
7
7
|
GENERATOR=NMake Makefiles
|
8
8
|
|
9
|
-
all: $(BUILDDIR)
|
9
|
+
all: $(BUILDDIR)/CMakeFiles
|
10
10
|
@cd $(BUILDDIR) && $(MAKE) /nologo && cd ..
|
11
11
|
|
12
|
-
$(BUILDDIR):
|
12
|
+
$(BUILDDIR)/CMakeFiles:
|
13
13
|
@-mkdir $(BUILDDIR) 2> nul
|
14
14
|
cd $(BUILDDIR) && \
|
15
15
|
cmake \
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# This is the CMakeCache file.
|
2
2
|
# For build in directory: /Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build
|
3
|
-
# It was generated by CMake: /usr/local/Cellar/cmake/
|
3
|
+
# It was generated by CMake: /usr/local/Cellar/cmake/3.3.2/bin/cmake
|
4
4
|
# You can edit this file to change values found and used by cmake.
|
5
5
|
# If you do not want to change any of the values, simply exit the editor.
|
6
6
|
# If you do want to change a value, simply edit, save, and exit the editor.
|
7
7
|
# The syntax for the file is as follows:
|
8
8
|
# KEY:TYPE=VALUE
|
9
9
|
# KEY is the name of a variable in the cache.
|
10
|
-
# TYPE is a hint to
|
10
|
+
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
11
11
|
# VALUE is the current value for the KEY.
|
12
12
|
|
13
13
|
########################
|
@@ -29,7 +29,7 @@ CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
|
|
29
29
|
//Missing description
|
30
30
|
CMAKE_CXX_FLAGS:STRING=
|
31
31
|
|
32
|
-
//
|
32
|
+
//Flags used by the C++ compiler during ASan builds.
|
33
33
|
CMAKE_CXX_FLAGS_ASAN:STRING=-O1 -g -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
34
34
|
|
35
35
|
//Missing description
|
@@ -47,10 +47,10 @@ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
47
47
|
//Missing description
|
48
48
|
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
49
49
|
|
50
|
-
//
|
50
|
+
//Flags used by the compiler during all build types.
|
51
51
|
CMAKE_C_FLAGS:STRING=-fPIC
|
52
52
|
|
53
|
-
//
|
53
|
+
//Flags used by the C compiler during ASan builds.
|
54
54
|
CMAKE_C_FLAGS_ASAN:STRING=-O1 -g -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
55
55
|
|
56
56
|
//Missing description
|
@@ -68,7 +68,7 @@ CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
|
68
68
|
//Missing description
|
69
69
|
CMAKE_EXE_LINKER_FLAGS:STRING= -L/usr/local/lib
|
70
70
|
|
71
|
-
//
|
71
|
+
//Flags used for linking binaries during ASan builds.
|
72
72
|
CMAKE_EXE_LINKER_FLAGS_ASAN:STRING=-fsanitize=address
|
73
73
|
|
74
74
|
//Missing description
|
@@ -131,7 +131,7 @@ CMAKE_OSX_DEPLOYMENT_TARGET:STRING=
|
|
131
131
|
//Missing description
|
132
132
|
CMAKE_OSX_SYSROOT:STRING=
|
133
133
|
|
134
|
-
//
|
134
|
+
//Value Computed by CMake
|
135
135
|
CMAKE_PROJECT_NAME:STATIC=cmark
|
136
136
|
|
137
137
|
//Missing description
|
@@ -140,7 +140,7 @@ CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
|
140
140
|
//Missing description
|
141
141
|
CMAKE_SHARED_LINKER_FLAGS:STRING= -L/usr/local/lib
|
142
142
|
|
143
|
-
//
|
143
|
+
//Flags used by the shared libraries linker during ASan builds.
|
144
144
|
CMAKE_SHARED_LINKER_FLAGS_ASAN:STRING=-fsanitize=address
|
145
145
|
|
146
146
|
//Missing description
|
@@ -161,6 +161,21 @@ CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
|
161
161
|
//Missing description
|
162
162
|
CMAKE_SKIP_RPATH:BOOL=NO
|
163
163
|
|
164
|
+
//Flags used by the linker during the creation of static libraries.
|
165
|
+
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
166
|
+
|
167
|
+
//Flags used by the linker during debug builds.
|
168
|
+
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
169
|
+
|
170
|
+
//Flags used by the linker during release minsize builds.
|
171
|
+
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
172
|
+
|
173
|
+
//Flags used by the linker during release builds.
|
174
|
+
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
175
|
+
|
176
|
+
//Flags used by the linker during Release with Debug Info builds.
|
177
|
+
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
178
|
+
|
164
179
|
//Missing description
|
165
180
|
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
166
181
|
|
@@ -170,7 +185,7 @@ CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
|
|
170
185
|
//Missing description
|
171
186
|
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
172
187
|
|
173
|
-
//
|
188
|
+
//Build cmark tests and enable testing
|
174
189
|
CMARK_TESTS:BOOL=ON
|
175
190
|
|
176
191
|
//Missing description
|
@@ -179,16 +194,16 @@ PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python3
|
|
179
194
|
//Use HIDDEN visibility support if available.
|
180
195
|
USE_COMPILER_HIDDEN_VISIBILITY:BOOL=ON
|
181
196
|
|
182
|
-
//
|
197
|
+
//Value Computed by CMake
|
183
198
|
cmark_BINARY_DIR:STATIC=/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build
|
184
199
|
|
185
|
-
//
|
200
|
+
//Value Computed by CMake
|
186
201
|
cmark_SOURCE_DIR:STATIC=/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark
|
187
202
|
|
188
|
-
//
|
203
|
+
//Dependencies for target
|
189
204
|
libcmark_LIB_DEPENDS:STATIC=
|
190
205
|
|
191
|
-
//
|
206
|
+
//Dependencies for target
|
192
207
|
libcmark_static_LIB_DEPENDS:STATIC=
|
193
208
|
|
194
209
|
|
@@ -198,18 +213,25 @@ libcmark_static_LIB_DEPENDS:STATIC=
|
|
198
213
|
|
199
214
|
//ADVANCED property for variable: CMAKE_AR
|
200
215
|
CMAKE_AR-ADVANCED:INTERNAL=1
|
201
|
-
//ADVANCED property for variable: CMAKE_BUILD_TOOL
|
202
|
-
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
|
203
216
|
CMAKE_BUILD_TOOL:INTERNAL=/usr/bin/make
|
217
|
+
//This is the directory where this CMakeCache.txt was created
|
204
218
|
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark/build
|
205
|
-
|
206
|
-
|
207
|
-
|
219
|
+
//Major version of cmake used to create the current loaded cache
|
220
|
+
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
221
|
+
//Minor version of cmake used to create the current loaded cache
|
222
|
+
CMAKE_CACHE_MINOR_VERSION:INTERNAL=3
|
223
|
+
//Patch version of cmake used to create the current loaded cache
|
224
|
+
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
|
208
225
|
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
209
226
|
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
210
|
-
|
211
|
-
|
212
|
-
|
227
|
+
//Path to CMake executable.
|
228
|
+
CMAKE_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.3.2/bin/cmake
|
229
|
+
//Path to cpack program executable.
|
230
|
+
CMAKE_CPACK_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.3.2/bin/cpack
|
231
|
+
//Path to ctest program executable.
|
232
|
+
CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.3.2/bin/ctest
|
233
|
+
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
234
|
+
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
213
235
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
214
236
|
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
215
237
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_ASAN
|
@@ -222,6 +244,8 @@ CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
|
222
244
|
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
223
245
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
224
246
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
247
|
+
//ADVANCED property for variable: CMAKE_C_COMPILER
|
248
|
+
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
225
249
|
//ADVANCED property for variable: CMAKE_C_FLAGS
|
226
250
|
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
227
251
|
//ADVANCED property for variable: CMAKE_C_FLAGS_ASAN
|
@@ -251,6 +275,10 @@ CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
251
275
|
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
252
276
|
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
253
277
|
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
278
|
+
//Name of generator platform.
|
279
|
+
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
280
|
+
//Name of generator toolset.
|
281
|
+
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
254
282
|
CMAKE_HOME_DIRECTORY:INTERNAL=/Users/gjtorikian/Development/commonmarker/ext/commonmarker/cmark
|
255
283
|
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
|
256
284
|
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
|
@@ -270,6 +298,7 @@ CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
|
270
298
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
271
299
|
//ADVANCED property for variable: CMAKE_NM
|
272
300
|
CMAKE_NM-ADVANCED:INTERNAL=1
|
301
|
+
//number of local generators
|
273
302
|
CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=5
|
274
303
|
//ADVANCED property for variable: CMAKE_OBJCOPY
|
275
304
|
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
@@ -277,7 +306,8 @@ CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
|
277
306
|
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
278
307
|
//ADVANCED property for variable: CMAKE_RANLIB
|
279
308
|
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
280
|
-
|
309
|
+
//Path to CMake installation.
|
310
|
+
CMAKE_ROOT:INTERNAL=/usr/local/Cellar/cmake/3.3.2/share/cmake
|
281
311
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
282
312
|
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
283
313
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_ASAN
|
@@ -294,18 +324,31 @@ CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
|
294
324
|
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
295
325
|
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
296
326
|
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
327
|
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
328
|
+
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
329
|
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
330
|
+
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
331
|
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
332
|
+
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
333
|
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
334
|
+
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
335
|
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
336
|
+
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
297
337
|
//ADVANCED property for variable: CMAKE_STRIP
|
298
338
|
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
339
|
+
//uname command
|
299
340
|
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
300
341
|
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
|
301
342
|
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
|
302
343
|
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
303
344
|
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
345
|
+
//Compiler support for a deprecated attribute
|
304
346
|
COMPILER_HAS_DEPRECATED:INTERNAL=1
|
305
347
|
COMPILER_HAS_DEPRECATED_ATTR:INTERNAL=1
|
306
348
|
COMPILER_HAS_HIDDEN_INLINE_VISIBILITY:INTERNAL=1
|
307
349
|
COMPILER_HAS_HIDDEN_VISIBILITY:INTERNAL=1
|
308
|
-
|
350
|
+
//Details about finding PythonInterp
|
351
|
+
FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/usr/local/bin/python3][v3.5(3)]
|
309
352
|
HAVE_FLAG_ADDRESS_SANITIZER:INTERNAL=
|
310
353
|
HAVE_FLAG_SANITIZE_ADDRESS:INTERNAL=1
|
311
354
|
HAVE_STDBOOL_H:INTERNAL=1
|
@@ -0,0 +1,63 @@
|
|
1
|
+
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
2
|
+
set(CMAKE_C_COMPILER_ARG1 "")
|
3
|
+
set(CMAKE_C_COMPILER_ID "AppleClang")
|
4
|
+
set(CMAKE_C_COMPILER_VERSION "7.0.0.7000176")
|
5
|
+
set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert")
|
6
|
+
set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes")
|
7
|
+
set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros")
|
8
|
+
set(CMAKE_C11_COMPILE_FEATURES "c_static_assert")
|
9
|
+
|
10
|
+
set(CMAKE_C_PLATFORM_ID "Darwin")
|
11
|
+
set(CMAKE_C_SIMULATE_ID "")
|
12
|
+
set(CMAKE_C_SIMULATE_VERSION "")
|
13
|
+
|
14
|
+
set(CMAKE_AR "/usr/bin/ar")
|
15
|
+
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
16
|
+
set(CMAKE_LINKER "/usr/bin/ld")
|
17
|
+
set(CMAKE_COMPILER_IS_GNUCC )
|
18
|
+
set(CMAKE_C_COMPILER_LOADED 1)
|
19
|
+
set(CMAKE_C_COMPILER_WORKS TRUE)
|
20
|
+
set(CMAKE_C_ABI_COMPILED TRUE)
|
21
|
+
set(CMAKE_COMPILER_IS_MINGW )
|
22
|
+
set(CMAKE_COMPILER_IS_CYGWIN )
|
23
|
+
if(CMAKE_COMPILER_IS_CYGWIN)
|
24
|
+
set(CYGWIN 1)
|
25
|
+
set(UNIX 1)
|
26
|
+
endif()
|
27
|
+
|
28
|
+
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
29
|
+
|
30
|
+
if(CMAKE_COMPILER_IS_MINGW)
|
31
|
+
set(MINGW 1)
|
32
|
+
endif()
|
33
|
+
set(CMAKE_C_COMPILER_ID_RUN 1)
|
34
|
+
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
35
|
+
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
36
|
+
set(CMAKE_C_LINKER_PREFERENCE 10)
|
37
|
+
|
38
|
+
# Save compiler ABI information.
|
39
|
+
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
40
|
+
set(CMAKE_C_COMPILER_ABI "")
|
41
|
+
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
42
|
+
|
43
|
+
if(CMAKE_C_SIZEOF_DATA_PTR)
|
44
|
+
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
45
|
+
endif()
|
46
|
+
|
47
|
+
if(CMAKE_C_COMPILER_ABI)
|
48
|
+
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
49
|
+
endif()
|
50
|
+
|
51
|
+
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
52
|
+
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
53
|
+
endif()
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.0/lib/darwin/libclang_rt.osx.a")
|
59
|
+
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib;/usr/local/lib")
|
60
|
+
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
|
61
|
+
|
62
|
+
|
63
|
+
|
@@ -0,0 +1,64 @@
|
|
1
|
+
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
2
|
+
set(CMAKE_CXX_COMPILER_ARG1 "")
|
3
|
+
set(CMAKE_CXX_COMPILER_ID "AppleClang")
|
4
|
+
set(CMAKE_CXX_COMPILER_VERSION "7.0.0.7000176")
|
5
|
+
set(CMAKE_CXX_COMPILE_FEATURES "cxx_template_template_parameters;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
6
|
+
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_template_template_parameters")
|
7
|
+
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
8
|
+
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
9
|
+
|
10
|
+
set(CMAKE_CXX_PLATFORM_ID "Darwin")
|
11
|
+
set(CMAKE_CXX_SIMULATE_ID "")
|
12
|
+
set(CMAKE_CXX_SIMULATE_VERSION "")
|
13
|
+
|
14
|
+
set(CMAKE_AR "/usr/bin/ar")
|
15
|
+
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
16
|
+
set(CMAKE_LINKER "/usr/bin/ld")
|
17
|
+
set(CMAKE_COMPILER_IS_GNUCXX )
|
18
|
+
set(CMAKE_CXX_COMPILER_LOADED 1)
|
19
|
+
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
20
|
+
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
21
|
+
set(CMAKE_COMPILER_IS_MINGW )
|
22
|
+
set(CMAKE_COMPILER_IS_CYGWIN )
|
23
|
+
if(CMAKE_COMPILER_IS_CYGWIN)
|
24
|
+
set(CYGWIN 1)
|
25
|
+
set(UNIX 1)
|
26
|
+
endif()
|
27
|
+
|
28
|
+
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
29
|
+
|
30
|
+
if(CMAKE_COMPILER_IS_MINGW)
|
31
|
+
set(MINGW 1)
|
32
|
+
endif()
|
33
|
+
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
34
|
+
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
35
|
+
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
|
36
|
+
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
37
|
+
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
38
|
+
|
39
|
+
# Save compiler ABI information.
|
40
|
+
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
41
|
+
set(CMAKE_CXX_COMPILER_ABI "")
|
42
|
+
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
43
|
+
|
44
|
+
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
45
|
+
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
46
|
+
endif()
|
47
|
+
|
48
|
+
if(CMAKE_CXX_COMPILER_ABI)
|
49
|
+
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
50
|
+
endif()
|
51
|
+
|
52
|
+
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
53
|
+
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
54
|
+
endif()
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.0/lib/darwin/libclang_rt.osx.a")
|
60
|
+
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib;/usr/local/lib")
|
61
|
+
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
|
62
|
+
|
63
|
+
|
64
|
+
|
Binary file
|
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
set(CMAKE_HOST_SYSTEM "Darwin-15.0.0")
|
2
|
+
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
|
3
|
+
set(CMAKE_HOST_SYSTEM_VERSION "15.0.0")
|
4
|
+
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
set(CMAKE_SYSTEM "Darwin-15.0.0")
|
9
|
+
set(CMAKE_SYSTEM_NAME "Darwin")
|
10
|
+
set(CMAKE_SYSTEM_VERSION "15.0.0")
|
11
|
+
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
12
|
+
|
13
|
+
set(CMAKE_CROSSCOMPILING "FALSE")
|
14
|
+
|
15
|
+
set(CMAKE_SYSTEM_LOADED 1)
|
@@ -0,0 +1,508 @@
|
|
1
|
+
#ifdef __cplusplus
|
2
|
+
# error "A C++ compiler has been selected for C."
|
3
|
+
#endif
|
4
|
+
|
5
|
+
#if defined(__18CXX)
|
6
|
+
# define ID_VOID_MAIN
|
7
|
+
#endif
|
8
|
+
|
9
|
+
|
10
|
+
/* Version number components: V=Version, R=Revision, P=Patch
|
11
|
+
Version date components: YYYY=Year, MM=Month, DD=Day */
|
12
|
+
|
13
|
+
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
14
|
+
# define COMPILER_ID "Intel"
|
15
|
+
# if defined(_MSC_VER)
|
16
|
+
# define SIMULATE_ID "MSVC"
|
17
|
+
# endif
|
18
|
+
/* __INTEL_COMPILER = VRP */
|
19
|
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
20
|
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
21
|
+
# if defined(__INTEL_COMPILER_UPDATE)
|
22
|
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
23
|
+
# else
|
24
|
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
25
|
+
# endif
|
26
|
+
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
27
|
+
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
28
|
+
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
29
|
+
# endif
|
30
|
+
# if defined(_MSC_VER)
|
31
|
+
/* _MSC_VER = VVRR */
|
32
|
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
33
|
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
34
|
+
# endif
|
35
|
+
|
36
|
+
#elif defined(__PATHCC__)
|
37
|
+
# define COMPILER_ID "PathScale"
|
38
|
+
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
39
|
+
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
40
|
+
# if defined(__PATHCC_PATCHLEVEL__)
|
41
|
+
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
42
|
+
# endif
|
43
|
+
|
44
|
+
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
45
|
+
# define COMPILER_ID "Embarcadero"
|
46
|
+
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
47
|
+
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
48
|
+
# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
|
49
|
+
|
50
|
+
#elif defined(__BORLANDC__)
|
51
|
+
# define COMPILER_ID "Borland"
|
52
|
+
/* __BORLANDC__ = 0xVRR */
|
53
|
+
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
54
|
+
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
55
|
+
|
56
|
+
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
57
|
+
# define COMPILER_ID "Watcom"
|
58
|
+
/* __WATCOMC__ = VVRR */
|
59
|
+
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
60
|
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
61
|
+
# if (__WATCOMC__ % 10) > 0
|
62
|
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
63
|
+
# endif
|
64
|
+
|
65
|
+
#elif defined(__WATCOMC__)
|
66
|
+
# define COMPILER_ID "OpenWatcom"
|
67
|
+
/* __WATCOMC__ = VVRP + 1100 */
|
68
|
+
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
69
|
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
70
|
+
# if (__WATCOMC__ % 10) > 0
|
71
|
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
72
|
+
# endif
|
73
|
+
|
74
|
+
#elif defined(__SUNPRO_C)
|
75
|
+
# define COMPILER_ID "SunPro"
|
76
|
+
# if __SUNPRO_C >= 0x5100
|
77
|
+
/* __SUNPRO_C = 0xVRRP */
|
78
|
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
79
|
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
80
|
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
81
|
+
# else
|
82
|
+
/* __SUNPRO_CC = 0xVRP */
|
83
|
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
84
|
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
85
|
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
86
|
+
# endif
|
87
|
+
|
88
|
+
#elif defined(__HP_cc)
|
89
|
+
# define COMPILER_ID "HP"
|
90
|
+
/* __HP_cc = VVRRPP */
|
91
|
+
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
92
|
+
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
93
|
+
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
94
|
+
|
95
|
+
#elif defined(__DECC)
|
96
|
+
# define COMPILER_ID "Compaq"
|
97
|
+
/* __DECC_VER = VVRRTPPPP */
|
98
|
+
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
99
|
+
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
100
|
+
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
101
|
+
|
102
|
+
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
103
|
+
# define COMPILER_ID "zOS"
|
104
|
+
/* __IBMC__ = VRP */
|
105
|
+
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
106
|
+
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
107
|
+
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
108
|
+
|
109
|
+
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
110
|
+
# define COMPILER_ID "XL"
|
111
|
+
/* __IBMC__ = VRP */
|
112
|
+
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
113
|
+
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
114
|
+
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
115
|
+
|
116
|
+
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
117
|
+
# define COMPILER_ID "VisualAge"
|
118
|
+
/* __IBMC__ = VRP */
|
119
|
+
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
120
|
+
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
121
|
+
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
122
|
+
|
123
|
+
#elif defined(__PGI)
|
124
|
+
# define COMPILER_ID "PGI"
|
125
|
+
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
126
|
+
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
127
|
+
# if defined(__PGIC_PATCHLEVEL__)
|
128
|
+
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
129
|
+
# endif
|
130
|
+
|
131
|
+
#elif defined(_CRAYC)
|
132
|
+
# define COMPILER_ID "Cray"
|
133
|
+
# define COMPILER_VERSION_MAJOR DEC(_RELEASE)
|
134
|
+
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
135
|
+
|
136
|
+
#elif defined(__TI_COMPILER_VERSION__)
|
137
|
+
# define COMPILER_ID "TI"
|
138
|
+
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
139
|
+
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
140
|
+
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
141
|
+
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
142
|
+
|
143
|
+
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
144
|
+
# define COMPILER_ID "Fujitsu"
|
145
|
+
|
146
|
+
#elif defined(__TINYC__)
|
147
|
+
# define COMPILER_ID "TinyCC"
|
148
|
+
|
149
|
+
#elif defined(__SCO_VERSION__)
|
150
|
+
# define COMPILER_ID "SCO"
|
151
|
+
|
152
|
+
#elif defined(__clang__) && defined(__apple_build_version__)
|
153
|
+
# define COMPILER_ID "AppleClang"
|
154
|
+
# if defined(_MSC_VER)
|
155
|
+
# define SIMULATE_ID "MSVC"
|
156
|
+
# endif
|
157
|
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
158
|
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
159
|
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
160
|
+
# if defined(_MSC_VER)
|
161
|
+
/* _MSC_VER = VVRR */
|
162
|
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
163
|
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
164
|
+
# endif
|
165
|
+
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
166
|
+
|
167
|
+
#elif defined(__clang__)
|
168
|
+
# define COMPILER_ID "Clang"
|
169
|
+
# if defined(_MSC_VER)
|
170
|
+
# define SIMULATE_ID "MSVC"
|
171
|
+
# endif
|
172
|
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
173
|
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
174
|
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
175
|
+
# if defined(_MSC_VER)
|
176
|
+
/* _MSC_VER = VVRR */
|
177
|
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
178
|
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
179
|
+
# endif
|
180
|
+
|
181
|
+
#elif defined(__GNUC__)
|
182
|
+
# define COMPILER_ID "GNU"
|
183
|
+
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
184
|
+
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
185
|
+
# if defined(__GNUC_PATCHLEVEL__)
|
186
|
+
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
187
|
+
# endif
|
188
|
+
|
189
|
+
#elif defined(_MSC_VER)
|
190
|
+
# define COMPILER_ID "MSVC"
|
191
|
+
/* _MSC_VER = VVRR */
|
192
|
+
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
193
|
+
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
194
|
+
# if defined(_MSC_FULL_VER)
|
195
|
+
# if _MSC_VER >= 1400
|
196
|
+
/* _MSC_FULL_VER = VVRRPPPPP */
|
197
|
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
198
|
+
# else
|
199
|
+
/* _MSC_FULL_VER = VVRRPPPP */
|
200
|
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
201
|
+
# endif
|
202
|
+
# endif
|
203
|
+
# if defined(_MSC_BUILD)
|
204
|
+
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
205
|
+
# endif
|
206
|
+
|
207
|
+
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
208
|
+
# define COMPILER_ID "ADSP"
|
209
|
+
#if defined(__VISUALDSPVERSION__)
|
210
|
+
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
211
|
+
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
212
|
+
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
213
|
+
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
214
|
+
#endif
|
215
|
+
|
216
|
+
#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
|
217
|
+
# define COMPILER_ID "IAR"
|
218
|
+
|
219
|
+
#elif defined(SDCC)
|
220
|
+
# define COMPILER_ID "SDCC"
|
221
|
+
/* SDCC = VRP */
|
222
|
+
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
223
|
+
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
224
|
+
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
225
|
+
|
226
|
+
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
227
|
+
# define COMPILER_ID "MIPSpro"
|
228
|
+
# if defined(_SGI_COMPILER_VERSION)
|
229
|
+
/* _SGI_COMPILER_VERSION = VRP */
|
230
|
+
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
231
|
+
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
232
|
+
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
233
|
+
# else
|
234
|
+
/* _COMPILER_VERSION = VRP */
|
235
|
+
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
236
|
+
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
237
|
+
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
238
|
+
# endif
|
239
|
+
|
240
|
+
|
241
|
+
/* These compilers are either not known or too old to define an
|
242
|
+
identification macro. Try to identify the platform and guess that
|
243
|
+
it is the native compiler. */
|
244
|
+
#elif defined(__sgi)
|
245
|
+
# define COMPILER_ID "MIPSpro"
|
246
|
+
|
247
|
+
#elif defined(__hpux) || defined(__hpua)
|
248
|
+
# define COMPILER_ID "HP"
|
249
|
+
|
250
|
+
#else /* unknown compiler */
|
251
|
+
# define COMPILER_ID ""
|
252
|
+
#endif
|
253
|
+
|
254
|
+
/* Construct the string literal in pieces to prevent the source from
|
255
|
+
getting matched. Store it in a pointer rather than an array
|
256
|
+
because some compilers will just produce instructions to fill the
|
257
|
+
array rather than assigning a pointer to a static array. */
|
258
|
+
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
259
|
+
#ifdef SIMULATE_ID
|
260
|
+
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
261
|
+
#endif
|
262
|
+
|
263
|
+
#ifdef __QNXNTO__
|
264
|
+
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
265
|
+
#endif
|
266
|
+
|
267
|
+
#define STRINGIFY_HELPER(X) #X
|
268
|
+
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
269
|
+
|
270
|
+
/* Identify known platforms by name. */
|
271
|
+
#if defined(__linux) || defined(__linux__) || defined(linux)
|
272
|
+
# define PLATFORM_ID "Linux"
|
273
|
+
|
274
|
+
#elif defined(__CYGWIN__)
|
275
|
+
# define PLATFORM_ID "Cygwin"
|
276
|
+
|
277
|
+
#elif defined(__MINGW32__)
|
278
|
+
# define PLATFORM_ID "MinGW"
|
279
|
+
|
280
|
+
#elif defined(__APPLE__)
|
281
|
+
# define PLATFORM_ID "Darwin"
|
282
|
+
|
283
|
+
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
284
|
+
# define PLATFORM_ID "Windows"
|
285
|
+
|
286
|
+
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
287
|
+
# define PLATFORM_ID "FreeBSD"
|
288
|
+
|
289
|
+
#elif defined(__NetBSD__) || defined(__NetBSD)
|
290
|
+
# define PLATFORM_ID "NetBSD"
|
291
|
+
|
292
|
+
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
293
|
+
# define PLATFORM_ID "OpenBSD"
|
294
|
+
|
295
|
+
#elif defined(__sun) || defined(sun)
|
296
|
+
# define PLATFORM_ID "SunOS"
|
297
|
+
|
298
|
+
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
299
|
+
# define PLATFORM_ID "AIX"
|
300
|
+
|
301
|
+
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
302
|
+
# define PLATFORM_ID "IRIX"
|
303
|
+
|
304
|
+
#elif defined(__hpux) || defined(__hpux__)
|
305
|
+
# define PLATFORM_ID "HP-UX"
|
306
|
+
|
307
|
+
#elif defined(__HAIKU__)
|
308
|
+
# define PLATFORM_ID "Haiku"
|
309
|
+
|
310
|
+
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
311
|
+
# define PLATFORM_ID "BeOS"
|
312
|
+
|
313
|
+
#elif defined(__QNX__) || defined(__QNXNTO__)
|
314
|
+
# define PLATFORM_ID "QNX"
|
315
|
+
|
316
|
+
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
317
|
+
# define PLATFORM_ID "Tru64"
|
318
|
+
|
319
|
+
#elif defined(__riscos) || defined(__riscos__)
|
320
|
+
# define PLATFORM_ID "RISCos"
|
321
|
+
|
322
|
+
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
323
|
+
# define PLATFORM_ID "SINIX"
|
324
|
+
|
325
|
+
#elif defined(__UNIX_SV__)
|
326
|
+
# define PLATFORM_ID "UNIX_SV"
|
327
|
+
|
328
|
+
#elif defined(__bsdos__)
|
329
|
+
# define PLATFORM_ID "BSDOS"
|
330
|
+
|
331
|
+
#elif defined(_MPRAS) || defined(MPRAS)
|
332
|
+
# define PLATFORM_ID "MP-RAS"
|
333
|
+
|
334
|
+
#elif defined(__osf) || defined(__osf__)
|
335
|
+
# define PLATFORM_ID "OSF1"
|
336
|
+
|
337
|
+
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
338
|
+
# define PLATFORM_ID "SCO_SV"
|
339
|
+
|
340
|
+
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
341
|
+
# define PLATFORM_ID "ULTRIX"
|
342
|
+
|
343
|
+
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
344
|
+
# define PLATFORM_ID "Xenix"
|
345
|
+
|
346
|
+
#elif defined(__WATCOMC__)
|
347
|
+
# if defined(__LINUX__)
|
348
|
+
# define PLATFORM_ID "Linux"
|
349
|
+
|
350
|
+
# elif defined(__DOS__)
|
351
|
+
# define PLATFORM_ID "DOS"
|
352
|
+
|
353
|
+
# elif defined(__OS2__)
|
354
|
+
# define PLATFORM_ID "OS2"
|
355
|
+
|
356
|
+
# elif defined(__WINDOWS__)
|
357
|
+
# define PLATFORM_ID "Windows3x"
|
358
|
+
|
359
|
+
# else /* unknown platform */
|
360
|
+
# define PLATFORM_ID ""
|
361
|
+
# endif
|
362
|
+
|
363
|
+
#else /* unknown platform */
|
364
|
+
# define PLATFORM_ID ""
|
365
|
+
|
366
|
+
#endif
|
367
|
+
|
368
|
+
/* For windows compilers MSVC and Intel we can determine
|
369
|
+
the architecture of the compiler being used. This is because
|
370
|
+
the compilers do not have flags that can change the architecture,
|
371
|
+
but rather depend on which compiler is being used
|
372
|
+
*/
|
373
|
+
#if defined(_WIN32) && defined(_MSC_VER)
|
374
|
+
# if defined(_M_IA64)
|
375
|
+
# define ARCHITECTURE_ID "IA64"
|
376
|
+
|
377
|
+
# elif defined(_M_X64) || defined(_M_AMD64)
|
378
|
+
# define ARCHITECTURE_ID "x64"
|
379
|
+
|
380
|
+
# elif defined(_M_IX86)
|
381
|
+
# define ARCHITECTURE_ID "X86"
|
382
|
+
|
383
|
+
# elif defined(_M_ARM)
|
384
|
+
# if _M_ARM == 4
|
385
|
+
# define ARCHITECTURE_ID "ARMV4I"
|
386
|
+
# elif _M_ARM == 5
|
387
|
+
# define ARCHITECTURE_ID "ARMV5I"
|
388
|
+
# else
|
389
|
+
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
390
|
+
# endif
|
391
|
+
|
392
|
+
# elif defined(_M_MIPS)
|
393
|
+
# define ARCHITECTURE_ID "MIPS"
|
394
|
+
|
395
|
+
# elif defined(_M_SH)
|
396
|
+
# define ARCHITECTURE_ID "SHx"
|
397
|
+
|
398
|
+
# else /* unknown architecture */
|
399
|
+
# define ARCHITECTURE_ID ""
|
400
|
+
# endif
|
401
|
+
|
402
|
+
#elif defined(__WATCOMC__)
|
403
|
+
# if defined(_M_I86)
|
404
|
+
# define ARCHITECTURE_ID "I86"
|
405
|
+
|
406
|
+
# elif defined(_M_IX86)
|
407
|
+
# define ARCHITECTURE_ID "X86"
|
408
|
+
|
409
|
+
# else /* unknown architecture */
|
410
|
+
# define ARCHITECTURE_ID ""
|
411
|
+
# endif
|
412
|
+
|
413
|
+
#else
|
414
|
+
# define ARCHITECTURE_ID ""
|
415
|
+
#endif
|
416
|
+
|
417
|
+
/* Convert integer to decimal digit literals. */
|
418
|
+
#define DEC(n) \
|
419
|
+
('0' + (((n) / 10000000)%10)), \
|
420
|
+
('0' + (((n) / 1000000)%10)), \
|
421
|
+
('0' + (((n) / 100000)%10)), \
|
422
|
+
('0' + (((n) / 10000)%10)), \
|
423
|
+
('0' + (((n) / 1000)%10)), \
|
424
|
+
('0' + (((n) / 100)%10)), \
|
425
|
+
('0' + (((n) / 10)%10)), \
|
426
|
+
('0' + ((n) % 10))
|
427
|
+
|
428
|
+
/* Convert integer to hex digit literals. */
|
429
|
+
#define HEX(n) \
|
430
|
+
('0' + ((n)>>28 & 0xF)), \
|
431
|
+
('0' + ((n)>>24 & 0xF)), \
|
432
|
+
('0' + ((n)>>20 & 0xF)), \
|
433
|
+
('0' + ((n)>>16 & 0xF)), \
|
434
|
+
('0' + ((n)>>12 & 0xF)), \
|
435
|
+
('0' + ((n)>>8 & 0xF)), \
|
436
|
+
('0' + ((n)>>4 & 0xF)), \
|
437
|
+
('0' + ((n) & 0xF))
|
438
|
+
|
439
|
+
/* Construct a string literal encoding the version number components. */
|
440
|
+
#ifdef COMPILER_VERSION_MAJOR
|
441
|
+
char const info_version[] = {
|
442
|
+
'I', 'N', 'F', 'O', ':',
|
443
|
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
444
|
+
COMPILER_VERSION_MAJOR,
|
445
|
+
# ifdef COMPILER_VERSION_MINOR
|
446
|
+
'.', COMPILER_VERSION_MINOR,
|
447
|
+
# ifdef COMPILER_VERSION_PATCH
|
448
|
+
'.', COMPILER_VERSION_PATCH,
|
449
|
+
# ifdef COMPILER_VERSION_TWEAK
|
450
|
+
'.', COMPILER_VERSION_TWEAK,
|
451
|
+
# endif
|
452
|
+
# endif
|
453
|
+
# endif
|
454
|
+
']','\0'};
|
455
|
+
#endif
|
456
|
+
|
457
|
+
/* Construct a string literal encoding the version number components. */
|
458
|
+
#ifdef SIMULATE_VERSION_MAJOR
|
459
|
+
char const info_simulate_version[] = {
|
460
|
+
'I', 'N', 'F', 'O', ':',
|
461
|
+
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
462
|
+
SIMULATE_VERSION_MAJOR,
|
463
|
+
# ifdef SIMULATE_VERSION_MINOR
|
464
|
+
'.', SIMULATE_VERSION_MINOR,
|
465
|
+
# ifdef SIMULATE_VERSION_PATCH
|
466
|
+
'.', SIMULATE_VERSION_PATCH,
|
467
|
+
# ifdef SIMULATE_VERSION_TWEAK
|
468
|
+
'.', SIMULATE_VERSION_TWEAK,
|
469
|
+
# endif
|
470
|
+
# endif
|
471
|
+
# endif
|
472
|
+
']','\0'};
|
473
|
+
#endif
|
474
|
+
|
475
|
+
/* Construct the string literal in pieces to prevent the source from
|
476
|
+
getting matched. Store it in a pointer rather than an array
|
477
|
+
because some compilers will just produce instructions to fill the
|
478
|
+
array rather than assigning a pointer to a static array. */
|
479
|
+
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
480
|
+
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
/*--------------------------------------------------------------------------*/
|
486
|
+
|
487
|
+
#ifdef ID_VOID_MAIN
|
488
|
+
void main() {}
|
489
|
+
#else
|
490
|
+
int main(int argc, char* argv[])
|
491
|
+
{
|
492
|
+
int require = 0;
|
493
|
+
require += info_compiler[argc];
|
494
|
+
require += info_platform[argc];
|
495
|
+
require += info_arch[argc];
|
496
|
+
#ifdef COMPILER_VERSION_MAJOR
|
497
|
+
require += info_version[argc];
|
498
|
+
#endif
|
499
|
+
#ifdef SIMULATE_ID
|
500
|
+
require += info_simulate[argc];
|
501
|
+
#endif
|
502
|
+
#ifdef SIMULATE_VERSION_MAJOR
|
503
|
+
require += info_simulate_version[argc];
|
504
|
+
#endif
|
505
|
+
(void)argv;
|
506
|
+
return require;
|
507
|
+
}
|
508
|
+
#endif
|