| 127 |
your system has static and shared libraries, you may have to do this once |
your system has static and shared libraries, you may have to do this once |
| 128 |
for each type. |
for each type. |
| 129 |
|
|
| 130 |
(8) Similarly, compile pcreposix.c (remembering -DHAVE_CONFIG_H if necessary) |
(8) Similarly, if you want to build the POSIX wrapper functions, ensure that |
| 131 |
and link the result (on its own) as the pcreposix library. |
you have the pcreposix.h file and then compile pcreposix.c (remembering |
| 132 |
|
-DHAVE_CONFIG_H if necessary). Link the result (on its own) as the |
| 133 |
|
pcreposix library. |
| 134 |
|
|
| 135 |
(9) Compile the test program pcretest.c (again, don't forget -DHAVE_CONFIG_H). |
(9) Compile the test program pcretest.c (again, don't forget -DHAVE_CONFIG_H). |
| 136 |
This needs the functions in the pcre and pcreposix libraries when linking. |
This needs the functions in the PCRE library when linking. It also needs |
| 137 |
It also needs the pcre_printint.src source file, which it #includes. |
the pcreposix wrapper functions unless you compile it with -DNOPOSIX. The |
| 138 |
|
pcretest.c program also needs the pcre_printint.src source file, which it |
| 139 |
|
#includes. |
| 140 |
|
|
| 141 |
(10) Run pcretest on the testinput files in the testdata directory, and check |
(10) Run pcretest on the testinput files in the testdata directory, and check |
| 142 |
that the output matches the corresponding testoutput files. Note that the |
that the output matches the corresponding testoutput files. Note that the |
| 277 |
|
|
| 278 |
The test files that are supplied with PCRE are in Unix format, with LF |
The test files that are supplied with PCRE are in Unix format, with LF |
| 279 |
characters as line terminators. It may be necessary to change the line |
characters as line terminators. It may be necessary to change the line |
| 280 |
terminators in order to get some of the tests to work. We hope to improve |
terminators in order to get some of the tests to work. |
|
things in this area in future. |
|
| 281 |
|
|
| 282 |
|
|
| 283 |
BUILDING PCRE ON WINDOWS WITH CMAKE |
BUILDING PCRE ON WINDOWS WITH CMAKE |
| 497 |
|
|
| 498 |
|
|
| 499 |
========================= |
========================= |
| 500 |
Last Updated: 05 October 2009 |
Last Updated: 19 January 2010 |
| 501 |
**** |
**** |