ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 251c4b79deb07c45ff1d9eff225bb137dfcc3f0c
parent 65834eb89a4742c9e89f3f0f801702bded1a0529
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 18 Jan 2016 00:15:27 +0100

Some CMakeLists.txt tweaks to separate loaders from the other source files

Diffstat:
MCMakeLists.txt | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -17,14 +17,16 @@ find_path(GD_INCLUDE_DIRS gd.h) find_library(GD_LIBRARIES NAMES gd REQUIRED) include_directories(${GD_INCLUDE_DIRS}) -set(SRC src/main.c src/albinfonts.c src/ansilove.c src/ansi.c src/artworx.c src/binary.c src/icedraw.c src/pcboard.c src/tundra.c src/xbin.c src/explode.c src/filesize.c src/strtolower.c src/substr.c src/sauce.c) +set(SRC src/main.c src/albinfonts.c src/ansilove.c src/explode.c src/filesize.c src/strtolower.c src/substr.c src/sauce.c) + +set(FORMATS src/ansi.c src/artworx.c src/binary.c src/icedraw.c src/pcboard.c src/tundra.c src/xbin.c) if(NOT HAVE_STRTONUM) set (SRC ${SRC} compat/strtonum.c) endif() add_definitions(-Wall -Wextra -Werror -std=gnu99 -pedantic) -add_executable(ansilove ${SRC}) +add_executable(ansilove ${SRC} ${FORMATS}) target_link_libraries(ansilove ${GD_LIBRARIES} m)