You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
817 B
34 lines
817 B
#################################################
|
|
#
|
|
# (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} ) |