libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

CMakeLists.txt (382B)


      1 cmake_minimum_required(VERSION 2.8.12)
      2 
      3 project(example C)
      4 
      5 # Ansilove library
      6 find_path(ANSILOVE_INCLUDE_DIRS ansilove.h)
      7 find_library(ANSILOVE_LIBRARIES NAMES ansilove REQUIRED)
      8 include_directories(${ANSILOVE_INCLUDE_DIRS})
      9 
     10 set(SRC example.c)
     11 
     12 add_definitions(-Wall -Wextra -std=c99 -pedantic)
     13 add_executable(example ${SRC})
     14 
     15 target_link_libraries(example ${ANSILOVE_LIBRARIES})