File: CMakeLists.txt

package info (click to toggle)
hershey-fonts 0.1-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 440 kB
  • sloc: ansic: 397; python: 40; sh: 31; makefile: 6
file content (26 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# hershey-fonts - Copyright (C) 2013 Kamal Mostafa <kamal@whence.com>
#
# License: GPL-2+
#

project(hershey-fonts)
set(hershey-fonts_VERSION_MAJOR 0)
set(hershey-fonts_VERSION_MINOR 1)

cmake_minimum_required(VERSION 2.6)
enable_testing()

file(GLOB jhf_files "hershey-fonts/*.jhf")
install(FILES ${jhf_files}	DESTINATION share/hershey-fonts)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")

add_subdirectory(libhersheyfont)
add_subdirectory(tools)

## tests
foreach(jhf ${jhf_files})
    add_test("${jhf}" ${CMAKE_BINARY_DIR}/tools/hershey-font-check "${jhf}")
endforeach(jhf)