This commit is contained in:
parent
894564c70d
commit
a8e9aa99f1
10
Dockerfile
10
Dockerfile
@ -1,13 +1,10 @@
|
|||||||
FROM ubuntu:bionic
|
FROM ubuntu:bionic
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install --no-install-recommends -y \
|
||||||
curl \
|
curl \
|
||||||
openjdk-11-jdk-headless \
|
openjdk-11-jdk-headless \
|
||||||
make \
|
make \
|
||||||
gcc-multilib-i686-linux-gnu \
|
|
||||||
gcc-multilib-arm-linux-gnueabihf \
|
|
||||||
gcc-aarch64-linux-gnu \
|
|
||||||
clang \
|
clang \
|
||||||
lld \
|
lld \
|
||||||
mingw-w64 \
|
mingw-w64 \
|
||||||
@ -19,6 +16,11 @@ RUN apt-get update && \
|
|||||||
gnupg \
|
gnupg \
|
||||||
software-properties-common
|
software-properties-common
|
||||||
|
|
||||||
|
RUN apt-get install -y \
|
||||||
|
gcc-multilib-i686-linux-gnu \
|
||||||
|
gcc-multilib-arm-linux-gnueabihf \
|
||||||
|
gcc-aarch64-linux-gnu
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
||||||
apt-get install --no-install-recommends -y nodejs
|
apt-get install --no-install-recommends -y nodejs
|
||||||
|
|
||||||
|
@ -2,7 +2,23 @@ cmake_minimum_required(VERSION 3.13)
|
|||||||
|
|
||||||
project(scriptcraft C)
|
project(scriptcraft C)
|
||||||
|
|
||||||
add_compile_options(-Wall -Werror -Wno-implicit-int-float-conversion -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-sign-compare -Wno-missing-field-initializers -Wundef -Wuninitialized -Wunused -Wno-unused-parameter -Wwrite-strings -Wchar-subscripts -funsigned-char)
|
add_compile_options(
|
||||||
|
-Wall
|
||||||
|
-Werror
|
||||||
|
-Wno-implicit-int-float-conversion
|
||||||
|
-Wno-int-to-pointer-cast
|
||||||
|
-Wno-pointer-to-int-cast
|
||||||
|
-Wno-sign-compare
|
||||||
|
-Wno-missing-field-initializers
|
||||||
|
-Wundef
|
||||||
|
-Wuninitialized
|
||||||
|
-Wunused
|
||||||
|
-Wno-unused-parameter
|
||||||
|
-Wwrite-strings
|
||||||
|
-Wchar-subscripts
|
||||||
|
-funsigned-char
|
||||||
|
-Wno-unknown-warning-option
|
||||||
|
)
|
||||||
|
|
||||||
add_library(
|
add_library(
|
||||||
scriptcraft
|
scriptcraft
|
||||||
|
Reference in New Issue
Block a user