Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/windows/precompiled_dependencies/mingw64/build_xerces.sh @ 128

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

fixed some target paths for cp -aT
fixed cleaning boost
+ some details

  • Property svn:eol-style set to native
File size: 703 bytes
Line 
1#!/bin/sh
2
3NAME="[xerces]"
4WORKING_DIR="xerces/xerces-c-3.1.2"
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
18        check_result $? "configure"
19
20        # compile
21        make -j8
22        check_result $? "make"
23       
24        # add to ceguideps
25        mkdir -p "${TEMP_DIR}/ceguideps/lib"
26        check_result $? "create lib dir"
27        mkdir -p "${TEMP_DIR}/ceguideps/include"
28        check_result $? "create include dir"
29       
30        cp -a "src/.libs/libxerces-c.a" "${TEMP_DIR}/ceguideps/lib"
31        check_result $? "copy lib"
32        cp -aT "src/xercesc" "${TEMP_DIR}/ceguideps/include/xercesc"
33        check_result $? "copy includes"
34
35        echo "${NAME} Finished building ${NAME}"
36fi
Note: See TracBrowser for help on using the repository browser.