summaryrefslogtreecommitdiff
path: root/NON-UNIX-USE
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2008-01-20 20:17:10 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2008-01-20 20:17:10 +0000
commitc400f1c8bf37d753674497bbd450cd184dbdcc4a (patch)
tree0f0cbfb436bfbc5d1a21da32c4800bce4d418518 /NON-UNIX-USE
parent5aa6d365b898fd6cd54795482dfd4a22e76c2da9 (diff)
downloadpcre-c400f1c8bf37d753674497bbd450cd184dbdcc4a.tar.gz
Added user-suggested comments about CMake relative paths to NON-UNIX-USE.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@306 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'NON-UNIX-USE')
-rw-r--r--NON-UNIX-USE37
1 files changed, 34 insertions, 3 deletions
diff --git a/NON-UNIX-USE b/NON-UNIX-USE
index 9239838..e566e23 100644
--- a/NON-UNIX-USE
+++ b/NON-UNIX-USE
@@ -10,6 +10,8 @@ This document contains the following sections:
Stack size in Windows environments
Comments about Win32 builds
Building PCRE with CMake
+ Use of relative paths with CMake on Windows
+ Testing with runtest.bat
Building under Windows with BCC5.5
Building PCRE on OpenVMS
@@ -289,7 +291,36 @@ were contributed by a PCRE user.
11. The build directory should now contain a usable build system, be it a
solution file for Visual Studio, makefiles for MinGW, etc.
-Testing with RunTest.bat
+
+USE OF RELATIVE PATHS WITH CMAKE ON WINDOWS
+
+A PCRE user comments as follows:
+
+I thought that others may want to know the current state of
+CMAKE_USE_RELATIVE_PATHS support on Windows.
+
+Here it is:
+-- AdditionalIncludeDirectories is only partially modified (only the
+first path - see below)
+-- Only some of the contained file paths are modified - shown below for
+pcre.vcproj
+-- It properly modifies
+
+I am sure CMake people can fix that if they want to. Until then one will
+need to replace existing absolute paths in project files with relative
+paths manually (e.g. from VS) - relative to project file location. I did
+just that before being told to try CMAKE_USE_RELATIVE_PATHS. Not a big
+deal.
+
+AdditionalIncludeDirectories="E:\builds\pcre\build;E:\builds\pcre\pcre-7.5;"
+AdditionalIncludeDirectories=".;E:\builds\pcre\pcre-7.5;"
+
+RelativePath="pcre.h">
+RelativePath="pcre_chartables.c">
+RelativePath="pcre_chartables.c.rule">
+
+
+TESTING WITH RUNTEST.BAT
1. Copy RunTest.bat into the directory where pcretest.exe has been created.
@@ -304,7 +335,7 @@ Testing with RunTest.bat
4. To test pcrecpp, run pcrecpp_unittest.exe, pcre_stringpiece_unittest.exe and
pcre_scanner_unittest.exe.
-
+
BUILDING UNDER WINDOWS WITH BCC5.5
@@ -384,5 +415,5 @@ $! Locale could not be set to fr
$!
=========================
-Last Updated: 21 September 2007
+Last Updated: 20 January 2008
****