Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/windows/precompiled_dependencies/mingw64/build_pcre.sh @ 127

Last change on this file since 127 was 126, checked in by landauf, 9 years ago

eol-style native

  • Property svn:eol-style set to native
File size: 835 bytes
Line 
1#!/bin/sh
2
3NAME="[pcre]"
4WORKING_DIR="pcre/pcre-8.38"
5
6source ./build_common.sh
7
8if [ $DO_CLEAN -eq 1 ]
9then
10        make clean
11        check_result $? "cleaning build"
12fi
13
14if [ $DO_BUILD -eq 1 ]
15then
16        # configure
17        ./configure --enable-utf8
18        check_result $? "configure"
19
20        # compile
21        make -j8
22        check_result $? "make"
23        make -j8 install
24        check_result $? "make install"
25       
26        # copy lib
27        cp -a ".libs/libpcre-1.dll" ${TARGET_BIN_DIR}
28        check_result $? "copying library"
29
30        # add to ceguideps
31        mkdir -p "${TEMP_DIR}/ceguideps/lib"
32        check_result $? "create lib dir"
33        mkdir -p "${TEMP_DIR}/ceguideps/include"
34        check_result $? "create include dir"
35       
36        cp -a ".libs/libpcre.dll.a" "${TEMP_DIR}/ceguideps/lib"
37        check_result $? "copy lib"
38        cp -a "pcre.h" "${TEMP_DIR}/ceguideps/include"
39        check_result $? "copy includes"
40
41        echo "${NAME} Finished building ${NAME}"
42fi
Note: See TracBrowser for help on using the repository browser.