CMakeLists.txt 333 Bytes
Newer Older
1
set(CORE_SOURCES
2
  array.c
3
  read.c
Chris Müller's avatar
Chris Müller committed
4
  eval.c
5
  value.c
Chris Müller's avatar
Chris Müller committed
6
  unicode.c
7
  tables.c
8
  exception.c
9
  primitives/core.c
10
  primitives/io.c
11
  primitives/system.c)
12
13
14
15
16
17
18

set(INTERPRETER_SOURCES
  cherry.c)

add_library(cherry-core ${CORE_SOURCES})
add_executable(cherry ${INTERPRETER_SOURCES})

19
target_link_libraries(cherry readline cherry-core gc)