10 |
Stack size in Windows environments |
Stack size in Windows environments |
11 |
Comments about Win32 builds |
Comments about Win32 builds |
12 |
Building PCRE with CMake |
Building PCRE with CMake |
13 |
|
Use of relative paths with CMake on Windows |
14 |
|
Testing with runtest.bat |
15 |
Building under Windows with BCC5.5 |
Building under Windows with BCC5.5 |
16 |
Building PCRE on OpenVMS |
Building PCRE on OpenVMS |
17 |
|
|
291 |
11. The build directory should now contain a usable build system, be it a |
11. The build directory should now contain a usable build system, be it a |
292 |
solution file for Visual Studio, makefiles for MinGW, etc. |
solution file for Visual Studio, makefiles for MinGW, etc. |
293 |
|
|
294 |
Testing with RunTest.bat |
|
295 |
|
USE OF RELATIVE PATHS WITH CMAKE ON WINDOWS |
296 |
|
|
297 |
|
A PCRE user comments as follows: |
298 |
|
|
299 |
|
I thought that others may want to know the current state of |
300 |
|
CMAKE_USE_RELATIVE_PATHS support on Windows. |
301 |
|
|
302 |
|
Here it is: |
303 |
|
-- AdditionalIncludeDirectories is only partially modified (only the |
304 |
|
first path - see below) |
305 |
|
-- Only some of the contained file paths are modified - shown below for |
306 |
|
pcre.vcproj |
307 |
|
-- It properly modifies |
308 |
|
|
309 |
|
I am sure CMake people can fix that if they want to. Until then one will |
310 |
|
need to replace existing absolute paths in project files with relative |
311 |
|
paths manually (e.g. from VS) - relative to project file location. I did |
312 |
|
just that before being told to try CMAKE_USE_RELATIVE_PATHS. Not a big |
313 |
|
deal. |
314 |
|
|
315 |
|
AdditionalIncludeDirectories="E:\builds\pcre\build;E:\builds\pcre\pcre-7.5;" |
316 |
|
AdditionalIncludeDirectories=".;E:\builds\pcre\pcre-7.5;" |
317 |
|
|
318 |
|
RelativePath="pcre.h"> |
319 |
|
RelativePath="pcre_chartables.c"> |
320 |
|
RelativePath="pcre_chartables.c.rule"> |
321 |
|
|
322 |
|
|
323 |
|
TESTING WITH RUNTEST.BAT |
324 |
|
|
325 |
1. Copy RunTest.bat into the directory where pcretest.exe has been created. |
1. Copy RunTest.bat into the directory where pcretest.exe has been created. |
326 |
|
|
335 |
|
|
336 |
4. To test pcrecpp, run pcrecpp_unittest.exe, pcre_stringpiece_unittest.exe and |
4. To test pcrecpp, run pcrecpp_unittest.exe, pcre_stringpiece_unittest.exe and |
337 |
pcre_scanner_unittest.exe. |
pcre_scanner_unittest.exe. |
338 |
|
|
339 |
|
|
340 |
BUILDING UNDER WINDOWS WITH BCC5.5 |
BUILDING UNDER WINDOWS WITH BCC5.5 |
341 |
|
|
415 |
$! |
$! |
416 |
========================= |
========================= |
417 |
|
|
418 |
Last Updated: 21 September 2007 |
Last Updated: 20 January 2008 |
419 |
**** |
**** |