summaryrefslogtreecommitdiffstats
path: root/gmcop/CMakeLists.txt
blob: f49c194c86709e7aba8a2da9acc80afbf4906307 (plain)
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
30
31
32
33
34
#################################################
#
#  (C) 2010 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

set( gmcop_INCS
  giomanager.h
)

set( gmcop_SRCS
  giomanager.cc
)

include_directories(
  ${CMAKE_BINARY_DIR}/mcop # for arts_export.h
  ${CMAKE_SOURCE_DIR}/mcop # for iomanager.h, etc.
  ${GLIB2_INCLUDE_DIRS}
)

add_library( gmcop SHARED ${gmcop_SRCS} )
set_target_properties( gmcop PROPERTIES VERSION 1.0 SOVERSION 1 )
target_link_libraries( gmcop mcop ${GLIB2_LIBRARIES} )


##### install ###################################

install( FILES ${gmcop_INCS} DESTINATION ${INCLUDE_INSTALL_DIR} )
install(TARGETS gmcop LIBRARY DESTINATION ${LIB_INSTALL_DIR} )