Add pcre lib for Windows x64 builds (#1307)
This commit is contained in:
parent
2653a450fc
commit
2d2ba818e7
@ -17,7 +17,10 @@ for arch in SM.archs:
|
|||||||
elif arch == 'x64':
|
elif arch == 'x64':
|
||||||
path = os.path.join(builder.sourcePath, 'extensions', 'regex', 'lib_linux64', 'libpcre.a')
|
path = os.path.join(builder.sourcePath, 'extensions', 'regex', 'lib_linux64', 'libpcre.a')
|
||||||
elif builder.target.platform == 'windows':
|
elif builder.target.platform == 'windows':
|
||||||
path = os.path.join(builder.sourcePath, 'extensions', 'regex', 'lib_win', 'pcre.lib')
|
if arch == 'x86':
|
||||||
|
path = os.path.join(builder.sourcePath, 'extensions', 'regex', 'lib_win', 'pcre.lib')
|
||||||
|
elif arch == 'x64':
|
||||||
|
path = os.path.join(builder.sourcePath, 'extensions', 'regex', 'lib_win64', 'pcre.lib')
|
||||||
elif builder.target.platform == 'mac':
|
elif builder.target.platform == 'mac':
|
||||||
if arch == 'x86':
|
if arch == 'x86':
|
||||||
path = os.path.join(builder.sourcePath, 'extensions', 'regex', 'lib_darwin', 'libpcre.a')
|
path = os.path.join(builder.sourcePath, 'extensions', 'regex', 'lib_darwin', 'libpcre.a')
|
||||||
|
8
extensions/regex/README.md
Normal file
8
extensions/regex/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# PCRE Build Instructions
|
||||||
|
As of writing, we're using pcre v8.32
|
||||||
|
|
||||||
|
## Windows
|
||||||
|
We build with the MinSizeForRelease VS configuration using the target architecture you want. This is how both win libs are built. The following settings were selected in the CMAKE configuration
|
||||||
|

|
||||||
|
|
||||||
|
In the PCRE project, go to C/C++ configuration properties and select the Runtime Library to be Multi-threaded (`/MT`) instead of Multi-threaded DLL (`/MD`)
|
BIN
extensions/regex/lib_win64/pcre.lib
Normal file
BIN
extensions/regex/lib_win64/pcre.lib
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user