Sha256: 189b2966c6d7b8d758bfcc15454d19fc93f0aff8e22408ca3a89fca84d2d0be5

Contents?: true

Size: 1.09 KB

Versions: 30

Compression:

Stored size: 1.09 KB

Contents

INSTALL(
    FILES
    plugin-libuv.c
    plugin-internal.h
    libuv_compat.h
    DESTINATION
    include/libcouchbase/plugins/io/libuv)

INSTALL(
    FILES
    libuv_io_opts.h
    DESTINATION
    include/libcouchbase)

IF(NOT HAVE_LIBUV OR LCB_NO_PLUGINS OR NOT LCB_BUILD_LIBUV)
    RETURN()
ENDIF()

ADD_LIBRARY(couchbase_libuv SHARED plugin-libuv.c)

# The macros abstracting UV versions dynamically inject special signatures. We
# can't have the compiler whine about that.

# Unfortunately, Older GCC (EL5) barfs at this option.
#IF(CMAKE_COMPILER_IS_GNUCC)
#    SET(_lcbuv_cflags "-Wno-unused-parameters")
#ELSE()
#    SET(_lcbuv_cflags "")
#ENDIF()
SET_TARGET_PROPERTIES(couchbase_libuv
    PROPERTIES
    PREFIX "lib"
    IMPORT_PREFIX "lib"
    COMPILE_FLAGS "${CMAKE_C_FLAGS} ${LCB_CORE_FLAGS} ${_lcbuv_cflags}")

TARGET_LINK_LIBRARIES(couchbase_libuv ${LIBUV_LIBRARIES} couchbase)
INCLUDE_DIRECTORIES(AFTER ${LIBUV_INCLUDE_DIR})
ADD_DEFINITIONS(-DLIBCOUCHBASE_INTERNAL=1)
INSTALL(TARGETS
    couchbase_libuv
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
libcouchbase-1.3.0 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.2.8 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.2.7 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.2.6 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.2.5 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.2.4 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.2.3 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.2.2 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.2.1 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.2.0 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.1.1 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.1.0 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.0.4 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.0.3 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.0.2 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.0.1 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-1.0.0 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-0.3.3 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-0.3.1 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt
libcouchbase-0.2.0 ext/libcouchbase/plugins/io/libuv/CMakeLists.txt