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.
70 lines
1.1 KiB
70 lines
1.1 KiB
10 years ago
|
#################################################
|
||
|
#
|
||
|
# (C) 2014 Slávek Banko
|
||
|
# slavek (DOT) banko (AT) axis.cz
|
||
|
#
|
||
|
# Improvements and feedback are welcome
|
||
|
#
|
||
|
# This file is released under GPL >= 2
|
||
|
#
|
||
|
#################################################
|
||
|
|
||
|
|
||
|
include_directories(
|
||
|
${CMAKE_INSTALL_INCLUDEDIR}/libr
|
||
|
${BACKEND_INCLUDE_DIRS}
|
||
|
${LIBGLADE_INCLUDE_DIRS}
|
||
|
)
|
||
|
|
||
|
add_definitions(
|
||
|
-D__LIBR_BACKEND_${BACKEND_NAME}__
|
||
|
-D__LIBR_BUILD__
|
||
|
)
|
||
|
|
||
|
set( target r )
|
||
|
|
||
|
|
||
|
##### library ###################################
|
||
|
|
||
|
set( ${target}_SRCS
|
||
|
libr-${LIBR_BACKEND}.c
|
||
|
tempfiles.c
|
||
|
onecanvas.c
|
||
|
libr-icons.c
|
||
|
libr-i18n.c
|
||
|
libr-gtk.c
|
||
|
libr.c
|
||
|
)
|
||
|
|
||
|
tde_add_library(
|
||
|
${target} SHARED
|
||
|
VERSION 0.0.0
|
||
|
SOURCES ${${target}_SRCS}
|
||
|
LINK ${BACKEND_LIBS}
|
||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
tde_add_library(
|
||
|
${target} STATIC
|
||
|
VERSION 0.0.0
|
||
|
SOURCES ${${target}_SRCS}
|
||
|
LINK ${BACKEND_LIBS}
|
||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
|
##### headers ###################################
|
||
|
|
||
|
set( ${target}_INCLUDES
|
||
|
gettext.h
|
||
|
libr-icons.h
|
||
|
libr-i18n.h
|
||
|
libr-gtk.h
|
||
|
libr.h
|
||
|
)
|
||
|
|
||
|
install(
|
||
|
FILES ${${target}_INCLUDES}
|
||
|
DESTINATION ${INCLUDE_INSTALL_DIR}/libr
|
||
|
)
|