summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: 4e7f0b23d466d585d57ef6107b737890ad527aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
add_definitions(${GEE_CFLAGS} ${GEE_CFLAGS_OTHER} ${GIO_CFLAGS} ${GIO_CFLAGS_OTHER} ${ERL_CFLAGS} ${ERL_CFLAGS_OTHER})
link_libraries(${GEE_LIBRARIES} ${GIO_LIBRARIES} ${ERL_LIBRARIES})
link_directories(${GEE_LIBRARY_DIRS} ${GIO_LIBRARY_DIRS} ${ERL_LIBRARY_DIRS})

vala_precompile(EVA_C
  PacketHandler.vala
  Term.vala
  Util.vala
PACKAGES
  gee-1.0
  gio-2.0
  erl_interface
GENERATE_VAPI
  eva
)

add_library(eva SHARED ${EVA_C})