Re: [pcre-dev] [Bug 867] "\w" no longer functions

Página superior
Eliminar este mensaje
Autor: Sheri
Fecha:  
A: pcre-dev
Asunto: Re: [pcre-dev] [Bug 867] "\w" no longer functions
Philip Hazel wrote:
> On Wed, 29 Jul 2009, Sheri wrote:
>
>
>> You can configure using cmake-gui instead of cmake-setup (Philip,
>> cmake-gui needs to be added to Non-Unix-Use).
>>
>
> OK, presumably you just mean I should mention it alongside cmake-setup?
>
> Philip
>
>

Hi Philip,

No, I meant instead. Also, you should consider adding NON-UNIX-USE to
the html pages where it would be more likely to be seen by Windows
users. As is, NON-UNIX-USE has no file extension (e.g., ".txt") and is
probably overlooked by the majority of Windows newcomers. Possibly it
would have a better chance of being seen if it had "Readme" in its name.
However, as text, it would need CRLF line endings to be easily read on
Windows.

Below is a proposed update to the Cmake portion.

Regards,
Sheri

CMake is an alternative configuration facility that can be used instead
of the
traditional Unix "configure". CMake creates project files (make files,
solution files, etc.) tailored to numerous development environments such
as Visual Studio, Borland, Msys, MinGW, NMake, Unix, etc.

1.  Install the latest CMake version available from 
http://www.cmake.org/, and
    ensure that cmake\bin is on your path.


2.  Unzip (retaining folder structure) the PCRE source tree into a source
    directory such as C:\pcre.


3. Create a new, empty build directory, e.g.: C:\pcre\build\

4.  Run cmake-gui from the Shell envirornment of your build tool, e.g., Msys
    for Msys/MinGW or Visual Studio Command Prompt for VC/VC++


5.  Enter C:\pcre\pcre-xx and C:\pcre\build for the source and build
    directories, respectively.


6. Hit the "Configure" button.

7.  Select the particular IDE / build tool that you are using (Visual 
Studio,
    MSYS makefiles, MinGW makefiles, etc.)


8.  The GUI will then list several configuration options. This is where 
you can
    enable UTF-8 support, etc.


9. Hit "Configure" again. The adjacent "Generate" button should now be
active.

10. Hit "Generate".

11. The build directory should now contain a usable build system, be it a
    solution file for Visual Studio, makefiles for MinGW, etc. Exit from 
cmake-gui
    and use the generated build system with your compiler or IDE.