Tact Yoshida c4f691
cmake_minimum_required(VERSION 2.8.12)
Tact Yoshida c4f691
Tact Yoshida c4f691
project(mypaint LANGUAGES C)
Tact Yoshida c4f691
Tact Yoshida c4f691
find_package(json-c CONFIG REQUIRED)
Tact Yoshida c4f691
Tact Yoshida c4f691
include_directories(${JSON-C_INCLUDE_DIR})
Tact Yoshida c4f691
Tact Yoshida c4f691
set(sources
Tact Yoshida c4f691
  brushmodes.c
Tact Yoshida c4f691
  fifo.c
Tact Yoshida c4f691
  helpers.c
Tact Yoshida c4f691
  mypaint-brush-settings.c
Tact Yoshida c4f691
  mypaint-brush.c
Tact Yoshida c4f691
  mypaint-fixed-tiled-surface.c
Tact Yoshida c4f691
  mypaint-mapping.c
Tact Yoshida c4f691
  mypaint-matrix.c
Tact Yoshida c4f691
  mypaint-rectangle.c
Tact Yoshida c4f691
  mypaint-surface.c
Tact Yoshida c4f691
  mypaint-symmetry.c
Tact Yoshida c4f691
  mypaint-tiled-surface.c
Tact Yoshida c4f691
  mypaint.c
Tact Yoshida c4f691
  operationqueue.c
Tact Yoshida c4f691
  rng-double.c
Tact Yoshida c4f691
  tilemap.c
Tact Yoshida c4f691
  utils.c
Tact Yoshida c4f691
)
Tact Yoshida c4f691
set(headers
Tact Yoshida c4f691
  mypaint-config.h
Tact Yoshida c4f691
  mypaint-glib-compat.h
Tact Yoshida c4f691
  mypaint-mapping.h
Tact Yoshida c4f691
  mypaint-matrix.h
Tact Yoshida c4f691
  mypaint-symmetry.h
Tact Yoshida c4f691
  config.h
Tact Yoshida c4f691
  mypaint.h
Tact Yoshida c4f691
)
Tact Yoshida c4f691
Tact Yoshida c4f691
add_library(libmypaint STATIC ${sources} ${headers})