mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 16:57:16 +01:00
28 lines
908 B
CMake
28 lines
908 B
CMake
|
SET(PVIO_DIR ${CC_SOURCE_DIR}/plugins/pvio)
|
||
|
|
||
|
INCLUDE_DIRECTORIES(${PVIO_DIR})
|
||
|
INCLUDE_DIRECTORIES(${CC_SOURCE_DIR}/include)
|
||
|
|
||
|
#native password
|
||
|
REGISTER_PLUGIN(TARGET pvio_socket
|
||
|
TYPE MARIADB_CLIENT_PLUGIN_PVIO
|
||
|
CONFIGURATIONS STATIC DYNAMIC DEFAULT
|
||
|
DEFAULT STATIC
|
||
|
SOURCES ${CC_SOURCE_DIR}/plugins/pvio/pvio_socket.c)
|
||
|
|
||
|
IF(WIN32)
|
||
|
# named pipe
|
||
|
REGISTER_PLUGIN(TARGET pvio_npipe
|
||
|
TYPE MARIADB_CLIENT_PLUGIN_PVIO
|
||
|
CONFIGURATIONS STATIC DYNAMIC DEFAULT
|
||
|
DEFAULT DYNAMIC
|
||
|
SOURCES ${CC_SOURCE_DIR}/plugins/pvio/pvio_npipe.c)
|
||
|
|
||
|
# shared memory
|
||
|
REGISTER_PLUGIN(TARGET pvio_shmem
|
||
|
TYPE MARIADB_CLIENT_PLUGIN_PVIO
|
||
|
CONFIGURATIONS STATIC DYNAMIC DEFAULT
|
||
|
DEFAULT DYNAMIC
|
||
|
SOURCES ${CC_SOURCE_DIR}/plugins/pvio/pvio_shmem.c)
|
||
|
ENDIF()
|