Add tinyxml2 to the toolchain for ease of use
This commit is contained in:
parent
6499662581
commit
a08df6f0ca
2 changed files with 15 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.project
|
14
Dockerfile
14
Dockerfile
|
@ -24,3 +24,17 @@ RUN git config --global user.name "Team Pandory"
|
||||||
|
|
||||||
COPY armv7-teampandory_pandoradx_gcc7-linux-gnueabihf.cmake /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/
|
COPY armv7-teampandory_pandoradx_gcc7-linux-gnueabihf.cmake /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/
|
||||||
COPY armv7-teampandory_pandoradx_gcc7-linux-gnueabihf.meson /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/
|
COPY armv7-teampandory_pandoradx_gcc7-linux-gnueabihf.meson /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/
|
||||||
|
|
||||||
|
RUN cd /tmp; \
|
||||||
|
git clone https://github.com/leethomason/tinyxml2.git; \
|
||||||
|
cd tinyxml2/; \
|
||||||
|
export PATH="/opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/:$PATH"; \
|
||||||
|
export TOOLCHAIN_FILE="/opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/armv7-teampandory_pandoradx_gcc7-linux-gnueabihf.cmake"; \
|
||||||
|
mkdir build && cd build; \
|
||||||
|
cmake .. \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE="$TOOLCHAIN_FILE" \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/opt/sysroot-glibc-linaro-2.23-2017.05-arm-linux-gnueabihf \
|
||||||
|
-DBUILD_SHARED_LIBS:BOOL=ON; \
|
||||||
|
make; \
|
||||||
|
make install;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue