This commit is contained in:
parent
894564c70d
commit
a8e9aa99f1
10
Dockerfile
10
Dockerfile
@ -1,13 +1,10 @@
|
||||
FROM ubuntu:bionic
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
apt-get install --no-install-recommends -y \
|
||||
curl \
|
||||
openjdk-11-jdk-headless \
|
||||
make \
|
||||
gcc-multilib-i686-linux-gnu \
|
||||
gcc-multilib-arm-linux-gnueabihf \
|
||||
gcc-aarch64-linux-gnu \
|
||||
clang \
|
||||
lld \
|
||||
mingw-w64 \
|
||||
@ -19,6 +16,11 @@ RUN apt-get update && \
|
||||
gnupg \
|
||||
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 - && \
|
||||
apt-get install --no-install-recommends -y nodejs
|
||||
|
||||
|
@ -2,7 +2,23 @@ cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
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(
|
||||
scriptcraft
|
||||
|
Reference in New Issue
Block a user