mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-12 14:09:25 +02:00
base: Add cmake wrapper scripts for CMAKE_TOOLCHAIN_FILE
All images should define this variables. Disable build tests on the base image because it is not configured for cross compiling.
This commit is contained in:
@ -58,6 +58,7 @@ RUN git clone git://cmake.org/cmake.git CMake && \
|
||||
make install && \
|
||||
cd .. && \
|
||||
rm -rf CMake*
|
||||
# Wrappers that point to CMAKE_TOOLCHAIN_FILE
|
||||
|
||||
# Build and install Ninja from source
|
||||
RUN git clone https://github.com/martine/ninja.git && \
|
||||
@ -67,6 +68,8 @@ RUN git clone https://github.com/martine/ninja.git && \
|
||||
./ninja && \
|
||||
cp ./ninja /usr/bin/ && \
|
||||
cd .. && rm -rf ninja
|
||||
COPY imagefiles/cmake.sh /usr/local/bin/cmake
|
||||
COPY imagefiles/ccmake.sh /usr/local/bin/ccmake
|
||||
|
||||
RUN echo "root:root" | chpasswd
|
||||
WORKDIR /work
|
||||
|
Reference in New Issue
Block a user