QRegularExpression: infrastructure for importing PCRE in 3rdparty/
authorGiuseppe D'Angelo <dangelog@gmail.com>
Mon, 23 Jan 2012 23:04:02 +0000 (23:04 +0000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 27 Jan 2012 10:35:07 +0000 (11:35 +0100)
commite7d0d54084aa04387ebfb8cee292248df5355021
tree57c09930a89935924b9d3c406a16c053f769a705
parent7f9b624e12731afc21f332c081b9c9a9e2a8c55e
QRegularExpression: infrastructure for importing PCRE in 3rdparty/

Added the necessary files for importing and compiling PCRE under
3rdparty/, including a small shell script to ease the import
and the update of PCRE from its dist tarball.

PCRE's config.h is used, but it is assumed that a global
  s/HAVE_CONFIG_H/PCRE_HAVE_CONFIG_H/g
was run on PCRE source files to avoid polluting QtCore
compilation with -DHAVE_CONFIG_H (the aforementioned shell script
performs this substitution; therefore, -DPCRE_HAVE_CONFIG_H
is added instead to the compiler's command line).

Change-Id: Ic0f23526ebf5f770aefdffc8f688e5816c28fd8c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
src/3rdparty/pcre.pri [new file with mode: 0644]
src/3rdparty/pcre/config.h [new file with mode: 0644]
src/3rdparty/pcre/import_from_pcre_tarball.sh [new file with mode: 0755]