File: CMakeLists.txt

package info (click to toggle)
fontforge 1%3A20201107~dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 67,192 kB
  • sloc: ansic: 587,351; python: 4,932; perl: 315; sh: 266; cpp: 219; makefile: 55; xml: 11
file content (29 lines) | stat: -rw-r--r-- 985 bytes parent folder | download
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
27
28
29
# Distributed under the original FontForge BSD 3-clause license

# Use these at your own risk, these are mostly unmaintained.

add_executable(acorn2sfd acorn2sfd.c)
add_executable(dewoff dewoff.c)
add_executable(findtable findtable.c)
add_executable(pcl2ttf pcl2ttf.c)
add_executable(pfadecrypt pfadecrypt.c)
add_executable(rmligamarks rmligamarks.c)
add_executable(showttf showttf.c)
add_executable(stripttc stripttc.c)
add_executable(ttf2eps ttf2eps.c)
add_executable(woff woff.c)

target_link_libraries(acorn2sfd PRIVATE fontforge)
target_link_libraries(dewoff PRIVATE ZLIB::ZLIB)
target_link_libraries(pcl2ttf PRIVATE MathLib::MathLib)
target_link_libraries(ttf2eps PRIVATE fontforge)
target_link_libraries(woff PRIVATE ZLIB::ZLIB)

install(TARGETS
  acorn2sfd dewoff findtable pcl2ttf pfadecrypt
  rmligamarks showttf stripttc ttf2eps woff
  RUNTIME
  DESTINATION ${CMAKE_INSTALL_BINDIR})

install(FILES acorn2sfd.1 showttf.1 ttf2eps.1
  DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)