commit c5ccdbae6b3269949d5975e399049936647a127f
parent be23d8a2fc438733dbc8c4cbd4fe068f8de3a145
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Thu, 11 Jun 2015 19:34:18 +0200
Adding compiler flags (-Wall, -pedantic) and enforcing C99 mode
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -3,6 +3,8 @@ project (ansilove C)
find_library(LIB_GD NAMES gd REQUIRED)
+add_definitions(-Wall -std=c99 -pedantic)
+
add_executable(ansilove src/main.c src/albinfonts.c src/ansilove.c src/explode.c src/filesize.c src/strtolower.c src/substr.c)
target_link_libraries(ansilove ${LIB_GD})