Add compiler flags '-Wall -Wextra -Wpedantic'

Fix warnings as a result.

Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
This commit is contained in:
Jacob Perron 2019-08-30 00:53:13 -07:00 committed by Jacob Perron
parent c1c0ce6ea9
commit dce7336bbe
7 changed files with 25 additions and 30 deletions

View file

@ -8,6 +8,8 @@
cmake_minimum_required(VERSION 2.8.12)
project(libcreate)
add_compile_options(-Wall -Wextra -Wpedantic)
set(PACKAGE_VERSION 1.6.1)
option(LIBCREATE_BUILD_TESTS "Enable the build of tests." ON)