Improve CMakeLists.txt
All checks were successful
ScriptCraft/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2020-04-25 17:03:26 -04:00
parent 894564c70d
commit a8e9aa99f1
2 changed files with 23 additions and 5 deletions

View File

@ -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

View File

@ -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