Closed adbancroft closed 3 years ago
The appveyor build adds compiler flags to the cmake build. Can these go into the cmake file, so the local & CI builds produce the same result?
Ubuntu (clang):
clang
CFLAGS: "-Wall -Wextra -pedantic -Werror -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer" CXXFLAGS: "-Wall -Wextra -pedantic -Werror -O1 -g -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer"
VS 2017 & 2019:
CFLAGS: "/W3 /WX /DLIBDIVIDE_ASSERTIONS_ON" CXXFLAGS: "/W3 /WX /DLIBDIVIDE_ASSERTIONS_ON"
The appveyor build adds compiler flags to the cmake build. Can these go into the cmake file, so the local & CI builds produce the same result?
Ubuntu (
clang
):VS 2017 & 2019: