Added replicaton listener library from https://github.com/SponsorPay/mysql-replication-listener and first prototype implementation for table replication consistency module
This commit is contained in:
53
replication_listener/CMakeFiles/CMakeCCompiler.cmake
Normal file
53
replication_listener/CMakeFiles/CMakeCCompiler.cmake
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
SET(CMAKE_C_COMPILER "/usr/bin/gcc")
|
||||||
|
SET(CMAKE_C_COMPILER_ARG1 "")
|
||||||
|
SET(CMAKE_C_COMPILER_ID "GNU")
|
||||||
|
SET(CMAKE_C_COMPILER_VERSION "4.7.2")
|
||||||
|
SET(CMAKE_C_PLATFORM_ID "Linux")
|
||||||
|
|
||||||
|
SET(CMAKE_AR "/usr/bin/ar")
|
||||||
|
SET(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
SET(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
SET(CMAKE_COMPILER_IS_GNUCC 1)
|
||||||
|
SET(CMAKE_C_COMPILER_LOADED 1)
|
||||||
|
SET(CMAKE_COMPILER_IS_MINGW )
|
||||||
|
SET(CMAKE_COMPILER_IS_CYGWIN )
|
||||||
|
IF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
SET(CYGWIN 1)
|
||||||
|
SET(UNIX 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
|
||||||
|
SET(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||||
|
|
||||||
|
IF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(MINGW 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(CMAKE_C_COMPILER_ID_RUN 1)
|
||||||
|
SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
|
||||||
|
SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
SET(CMAKE_C_LINKER_PREFERENCE 10)
|
||||||
|
|
||||||
|
# Save compiler ABI information.
|
||||||
|
SET(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||||
|
SET(CMAKE_C_COMPILER_ABI "ELF")
|
||||||
|
SET(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
|
||||||
|
IF(CMAKE_C_SIZEOF_DATA_PTR)
|
||||||
|
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||||
|
ENDIF(CMAKE_C_SIZEOF_DATA_PTR)
|
||||||
|
|
||||||
|
IF(CMAKE_C_COMPILER_ABI)
|
||||||
|
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||||
|
ENDIF(CMAKE_C_COMPILER_ABI)
|
||||||
|
|
||||||
|
IF(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||||
|
SET(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
SET(CMAKE_C_HAS_ISYSROOT "")
|
||||||
|
|
||||||
|
|
||||||
|
SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
|
||||||
|
SET(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
54
replication_listener/CMakeFiles/CMakeCXXCompiler.cmake
Normal file
54
replication_listener/CMakeFiles/CMakeCXXCompiler.cmake
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
SET(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
||||||
|
SET(CMAKE_CXX_COMPILER_ARG1 "")
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID "GNU")
|
||||||
|
SET(CMAKE_CXX_COMPILER_VERSION "4.7.2")
|
||||||
|
SET(CMAKE_CXX_PLATFORM_ID "Linux")
|
||||||
|
|
||||||
|
SET(CMAKE_AR "/usr/bin/ar")
|
||||||
|
SET(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
SET(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
SET(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||||
|
SET(CMAKE_CXX_COMPILER_LOADED 1)
|
||||||
|
SET(CMAKE_COMPILER_IS_MINGW )
|
||||||
|
SET(CMAKE_COMPILER_IS_CYGWIN )
|
||||||
|
IF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
SET(CYGWIN 1)
|
||||||
|
SET(UNIX 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||||
|
|
||||||
|
IF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(MINGW 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||||
|
SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
|
||||||
|
SET(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||||
|
SET(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||||
|
|
||||||
|
# Save compiler ABI information.
|
||||||
|
SET(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||||
|
SET(CMAKE_CXX_COMPILER_ABI "ELF")
|
||||||
|
SET(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
|
||||||
|
IF(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||||
|
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||||
|
ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||||
|
|
||||||
|
IF(CMAKE_CXX_COMPILER_ABI)
|
||||||
|
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||||
|
ENDIF(CMAKE_CXX_COMPILER_ABI)
|
||||||
|
|
||||||
|
IF(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||||
|
SET(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_HAS_ISYSROOT "")
|
||||||
|
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")
|
||||||
|
SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BIN
replication_listener/CMakeFiles/CMakeDetermineCompilerABI_C.bin
Executable file
BIN
replication_listener/CMakeFiles/CMakeDetermineCompilerABI_C.bin
Executable file
Binary file not shown.
BIN
replication_listener/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
Executable file
BIN
replication_listener/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
Executable file
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Relative path conversion top directories.
|
||||||
|
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jan/skysql/skygateway/replication_listener")
|
||||||
|
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jan/skysql/skygateway/replication_listener")
|
||||||
|
|
||||||
|
# Force unix paths in dependencies.
|
||||||
|
SET(CMAKE_FORCE_UNIX_PATHS 1)
|
||||||
|
|
||||||
|
|
||||||
|
# The C and CXX include file regular expressions for this directory.
|
||||||
|
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||||
|
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||||
|
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||||
|
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
||||||
1315
replication_listener/CMakeFiles/CMakeOutput.log
Normal file
1315
replication_listener/CMakeFiles/CMakeOutput.log
Normal file
File diff suppressed because it is too large
Load Diff
15
replication_listener/CMakeFiles/CMakeSystem.cmake
Normal file
15
replication_listener/CMakeFiles/CMakeSystem.cmake
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
|
||||||
|
SET(CMAKE_SYSTEM "Linux-3.5.0-28-generic")
|
||||||
|
SET(CMAKE_SYSTEM_NAME "Linux")
|
||||||
|
SET(CMAKE_SYSTEM_VERSION "3.5.0-28-generic")
|
||||||
|
SET(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
SET(CMAKE_HOST_SYSTEM "Linux-3.5.0-28-generic")
|
||||||
|
SET(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||||
|
SET(CMAKE_HOST_SYSTEM_VERSION "3.5.0-28-generic")
|
||||||
|
SET(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
SET(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
|
||||||
|
SET(CMAKE_SYSTEM_LOADED 1)
|
||||||
361
replication_listener/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
Normal file
361
replication_listener/CMakeFiles/CompilerIdC/CMakeCCompilerId.c
Normal file
@ -0,0 +1,361 @@
|
|||||||
|
#ifdef __cplusplus
|
||||||
|
# error "A C++ compiler has been selected for C."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||||
|
|
||||||
|
#if defined(__18CXX)
|
||||||
|
# define ID_VOID_MAIN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
/* __INTEL_COMPILER = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||||
|
# define COMPILER_ID "Embarcadero"
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define COMPILER_ID "Borland"
|
||||||
|
/* __BORLANDC__ = 0xVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
|
||||||
|
|
||||||
|
#elif defined(__SUNPRO_C)
|
||||||
|
# define COMPILER_ID "SunPro"
|
||||||
|
# if __SUNPRO_C >= 0x5100
|
||||||
|
/* __SUNPRO_C = 0xVRRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# else
|
||||||
|
/* __SUNPRO_C = 0xVRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__HP_cc)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
/* __HP_cc = VVRRPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||||
|
|
||||||
|
#elif defined(__DECC)
|
||||||
|
# define COMPILER_ID "Compaq"
|
||||||
|
|
||||||
|
#elif defined(__IBMC__)
|
||||||
|
# if defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
# else
|
||||||
|
# if __IBMC__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
# else
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
# endif
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PGI)
|
||||||
|
# define COMPILER_ID "PGI"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||||
|
# if defined(__PGIC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PATHSCALE__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI_DSP"
|
||||||
|
|
||||||
|
#elif defined(__TINYC__)
|
||||||
|
# define COMPILER_ID "TinyCC"
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define COMPILER_ID "MSVC"
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# if defined(_MSC_FULL_VER)
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||||
|
# else
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_BUILD)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||||
|
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
|
||||||
|
SHARC (21000) DSPs */
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
|
||||||
|
/* IAR Systems compiler for embedded systems.
|
||||||
|
http://www.iar.com
|
||||||
|
Not supported yet by CMake
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__)
|
||||||
|
# define COMPILER_ID "IAR" */
|
||||||
|
|
||||||
|
/* sdcc, the small devices C compiler for embedded systems,
|
||||||
|
http://sdcc.sourceforge.net */
|
||||||
|
#elif defined(SDCC)
|
||||||
|
# define COMPILER_ID "SDCC"
|
||||||
|
|
||||||
|
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
# if defined(_SGI_COMPILER_VERSION)
|
||||||
|
/* _SGI_COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||||
|
# else
|
||||||
|
/* _COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* This compiler is either not known or is too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__sgi)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpua)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
|
||||||
|
#else /* unknown compiler */
|
||||||
|
# define COMPILER_ID ""
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||||
|
|
||||||
|
/* Identify known platforms by name. */
|
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define PLATFORM_ID "Cygwin"
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define PLATFORM_ID "MinGW"
|
||||||
|
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define PLATFORM_ID "Darwin"
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||||
|
# define PLATFORM_ID "Windows"
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||||
|
# define PLATFORM_ID "FreeBSD"
|
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||||
|
# define PLATFORM_ID "NetBSD"
|
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||||
|
# define PLATFORM_ID "OpenBSD"
|
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun)
|
||||||
|
# define PLATFORM_ID "SunOS"
|
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||||
|
# define PLATFORM_ID "AIX"
|
||||||
|
|
||||||
|
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||||
|
# define PLATFORM_ID "IRIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
/* Haiku also defines __BEOS__ so we must
|
||||||
|
put it prior to the check for __BEOS__
|
||||||
|
*/
|
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||||
|
# define PLATFORM_ID "BeOS"
|
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||||
|
# define PLATFORM_ID "QNX"
|
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||||
|
# define PLATFORM_ID "Tru64"
|
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__)
|
||||||
|
# define PLATFORM_ID "RISCos"
|
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||||
|
# define PLATFORM_ID "SINIX"
|
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__)
|
||||||
|
# define PLATFORM_ID "UNIX_SV"
|
||||||
|
|
||||||
|
#elif defined(__bsdos__)
|
||||||
|
# define PLATFORM_ID "BSDOS"
|
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS)
|
||||||
|
# define PLATFORM_ID "MP-RAS"
|
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__)
|
||||||
|
# define PLATFORM_ID "OSF1"
|
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||||
|
# define PLATFORM_ID "SCO_SV"
|
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||||
|
# define PLATFORM_ID "ULTRIX"
|
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||||
|
# define PLATFORM_ID "Xenix"
|
||||||
|
|
||||||
|
#else /* unknown platform */
|
||||||
|
# define PLATFORM_ID ""
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because
|
||||||
|
the compilers do not have flags that can change the architecture,
|
||||||
|
but rather depend on which compiler is being used
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# if defined(_M_IA64)
|
||||||
|
# define ARCHITECTURE_ID "IA64"
|
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */
|
||||||
|
#define DEC(n) \
|
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10))
|
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */
|
||||||
|
#define HEX(n) \
|
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF))
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
char const info_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||||
|
COMPILER_VERSION_MAJOR,
|
||||||
|
# ifdef COMPILER_VERSION_MINOR
|
||||||
|
'.', COMPILER_VERSION_MINOR,
|
||||||
|
# ifdef COMPILER_VERSION_PATCH
|
||||||
|
'.', COMPILER_VERSION_PATCH,
|
||||||
|
# ifdef COMPILER_VERSION_TWEAK
|
||||||
|
'.', COMPILER_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifdef ID_VOID_MAIN
|
||||||
|
void main() {}
|
||||||
|
#else
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
require += info_arch[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
BIN
replication_listener/CMakeFiles/CompilerIdC/a.out
Executable file
BIN
replication_listener/CMakeFiles/CompilerIdC/a.out
Executable file
Binary file not shown.
@ -0,0 +1,344 @@
|
|||||||
|
/* This source file must have a .cpp extension so that all C++ compilers
|
||||||
|
recognize the extension without flags. Borland does not know .cxx for
|
||||||
|
example. */
|
||||||
|
#ifndef __cplusplus
|
||||||
|
# error "A C compiler has been selected for C++."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||||
|
|
||||||
|
#if defined(__COMO__)
|
||||||
|
# define COMPILER_ID "Comeau"
|
||||||
|
|
||||||
|
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
/* __INTEL_COMPILER = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||||
|
# define COMPILER_ID "Embarcadero"
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define COMPILER_ID "Borland"
|
||||||
|
/* __BORLANDC__ = 0xVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
|
||||||
|
|
||||||
|
#elif defined(__SUNPRO_CC)
|
||||||
|
# define COMPILER_ID "SunPro"
|
||||||
|
# if __SUNPRO_CC >= 0x5100
|
||||||
|
/* __SUNPRO_CC = 0xVRRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||||
|
# else
|
||||||
|
/* __SUNPRO_CC = 0xVRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__HP_aCC)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
/* __HP_aCC = VVRRPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
||||||
|
|
||||||
|
#elif defined(__DECCXX)
|
||||||
|
# define COMPILER_ID "Compaq"
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__)
|
||||||
|
# if defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
# else
|
||||||
|
# if __IBMCPP__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
# else
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
# endif
|
||||||
|
/* __IBMCPP__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PGI)
|
||||||
|
# define COMPILER_ID "PGI"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||||
|
# if defined(__PGIC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PATHSCALE__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI_DSP"
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define COMPILER_ID "MSVC"
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# if defined(_MSC_FULL_VER)
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||||
|
# else
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_BUILD)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||||
|
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
|
||||||
|
SHARC (21000) DSPs */
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
|
||||||
|
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
# if defined(_SGI_COMPILER_VERSION)
|
||||||
|
/* _SGI_COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||||
|
# else
|
||||||
|
/* _COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* This compiler is either not known or is too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__sgi)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpua)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
|
||||||
|
#else /* unknown compiler */
|
||||||
|
# define COMPILER_ID ""
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||||
|
|
||||||
|
/* Identify known platforms by name. */
|
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define PLATFORM_ID "Cygwin"
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define PLATFORM_ID "MinGW"
|
||||||
|
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define PLATFORM_ID "Darwin"
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||||
|
# define PLATFORM_ID "Windows"
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||||
|
# define PLATFORM_ID "FreeBSD"
|
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||||
|
# define PLATFORM_ID "NetBSD"
|
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||||
|
# define PLATFORM_ID "OpenBSD"
|
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun)
|
||||||
|
# define PLATFORM_ID "SunOS"
|
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||||
|
# define PLATFORM_ID "AIX"
|
||||||
|
|
||||||
|
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||||
|
# define PLATFORM_ID "IRIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
/* Haiku also defines __BEOS__ so we must
|
||||||
|
put it prior to the check for __BEOS__
|
||||||
|
*/
|
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||||
|
# define PLATFORM_ID "BeOS"
|
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||||
|
# define PLATFORM_ID "QNX"
|
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||||
|
# define PLATFORM_ID "Tru64"
|
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__)
|
||||||
|
# define PLATFORM_ID "RISCos"
|
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||||
|
# define PLATFORM_ID "SINIX"
|
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__)
|
||||||
|
# define PLATFORM_ID "UNIX_SV"
|
||||||
|
|
||||||
|
#elif defined(__bsdos__)
|
||||||
|
# define PLATFORM_ID "BSDOS"
|
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS)
|
||||||
|
# define PLATFORM_ID "MP-RAS"
|
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__)
|
||||||
|
# define PLATFORM_ID "OSF1"
|
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||||
|
# define PLATFORM_ID "SCO_SV"
|
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||||
|
# define PLATFORM_ID "ULTRIX"
|
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||||
|
# define PLATFORM_ID "Xenix"
|
||||||
|
|
||||||
|
#else /* unknown platform */
|
||||||
|
# define PLATFORM_ID ""
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because
|
||||||
|
the compilers do not have flags that can change the architecture,
|
||||||
|
but rather depend on which compiler is being used
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# if defined(_M_IA64)
|
||||||
|
# define ARCHITECTURE_ID "IA64"
|
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */
|
||||||
|
#define DEC(n) \
|
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10))
|
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */
|
||||||
|
#define HEX(n) \
|
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF))
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
char const info_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||||
|
COMPILER_VERSION_MAJOR,
|
||||||
|
# ifdef COMPILER_VERSION_MINOR
|
||||||
|
'.', COMPILER_VERSION_MINOR,
|
||||||
|
# ifdef COMPILER_VERSION_PATCH
|
||||||
|
'.', COMPILER_VERSION_PATCH,
|
||||||
|
# ifdef COMPILER_VERSION_TWEAK
|
||||||
|
'.', COMPILER_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
BIN
replication_listener/CMakeFiles/CompilerIdCXX/a.out
Executable file
BIN
replication_listener/CMakeFiles/CompilerIdCXX/a.out
Executable file
Binary file not shown.
63
replication_listener/CMakeFiles/Makefile.cmake
Normal file
63
replication_listener/CMakeFiles/Makefile.cmake
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# The generator used is:
|
||||||
|
SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||||
|
|
||||||
|
# The top level Makefile was generated from the following files:
|
||||||
|
SET(CMAKE_MAKEFILE_DEPENDS
|
||||||
|
"CMakeCache.txt"
|
||||||
|
"CMakeFiles/CMakeCCompiler.cmake"
|
||||||
|
"CMakeFiles/CMakeCXXCompiler.cmake"
|
||||||
|
"CMakeFiles/CMakeSystem.cmake"
|
||||||
|
"CMakeLists.txt"
|
||||||
|
"examples/CMakeLists.txt"
|
||||||
|
"examples/mysql2lucene/CMakeLists.txt"
|
||||||
|
"src/CMakeLists.txt"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCInformation.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCXXInformation.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeGenericSystem.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CPack.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CPackComponent.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Compiler/GNU-C.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Compiler/GNU.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/FindBoost.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/FindGTest.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/FindPackageMessage.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-C.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/UnixPaths.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Templates/CPackConfig.cmake.in"
|
||||||
|
)
|
||||||
|
|
||||||
|
# The corresponding makefile is:
|
||||||
|
SET(CMAKE_MAKEFILE_OUTPUTS
|
||||||
|
"Makefile"
|
||||||
|
"CMakeFiles/cmake.check_cache"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Byproducts of CMake generate step:
|
||||||
|
SET(CMAKE_MAKEFILE_PRODUCTS
|
||||||
|
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||||
|
"src/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||||
|
"examples/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||||
|
"examples/mysql2lucene/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Dependency information for all targets:
|
||||||
|
SET(CMAKE_DEPEND_INFO_FILES
|
||||||
|
"src/CMakeFiles/replication_shared.dir/DependInfo.cmake"
|
||||||
|
"src/CMakeFiles/replication_static.dir/DependInfo.cmake"
|
||||||
|
"examples/CMakeFiles/basic-1.dir/DependInfo.cmake"
|
||||||
|
"examples/CMakeFiles/basic-2.dir/DependInfo.cmake"
|
||||||
|
"examples/CMakeFiles/jan_test.dir/DependInfo.cmake"
|
||||||
|
"examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/DependInfo.cmake"
|
||||||
|
)
|
||||||
311
replication_listener/CMakeFiles/Makefile2
Normal file
311
replication_listener/CMakeFiles/Makefile2
Normal file
@ -0,0 +1,311 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
# The main recursive all target
|
||||||
|
all:
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main recursive preinstall target
|
||||||
|
preinstall:
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Directory level rules for directory src
|
||||||
|
|
||||||
|
# Convenience name for "all" pass in the directory.
|
||||||
|
src/all: src/CMakeFiles/replication_shared.dir/all
|
||||||
|
src/all: src/CMakeFiles/replication_static.dir/all
|
||||||
|
.PHONY : src/all
|
||||||
|
|
||||||
|
# Convenience name for "clean" pass in the directory.
|
||||||
|
src/clean: src/CMakeFiles/replication_shared.dir/clean
|
||||||
|
src/clean: src/CMakeFiles/replication_static.dir/clean
|
||||||
|
.PHONY : src/clean
|
||||||
|
|
||||||
|
# Convenience name for "preinstall" pass in the directory.
|
||||||
|
src/preinstall:
|
||||||
|
.PHONY : src/preinstall
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target src/CMakeFiles/replication_shared.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
src/CMakeFiles/replication_shared.dir/all:
|
||||||
|
$(MAKE) -f src/CMakeFiles/replication_shared.dir/build.make src/CMakeFiles/replication_shared.dir/depend
|
||||||
|
$(MAKE) -f src/CMakeFiles/replication_shared.dir/build.make src/CMakeFiles/replication_shared.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
||||||
|
@echo "Built target replication_shared"
|
||||||
|
.PHONY : src/CMakeFiles/replication_shared.dir/all
|
||||||
|
|
||||||
|
# Include target in all.
|
||||||
|
all: src/CMakeFiles/replication_shared.dir/all
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
src/CMakeFiles/replication_shared.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 15
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/replication_shared.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
|
||||||
|
.PHONY : src/CMakeFiles/replication_shared.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
replication_shared: src/CMakeFiles/replication_shared.dir/rule
|
||||||
|
.PHONY : replication_shared
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
src/CMakeFiles/replication_shared.dir/clean:
|
||||||
|
$(MAKE) -f src/CMakeFiles/replication_shared.dir/build.make src/CMakeFiles/replication_shared.dir/clean
|
||||||
|
.PHONY : src/CMakeFiles/replication_shared.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: src/CMakeFiles/replication_shared.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target src/CMakeFiles/replication_static.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
src/CMakeFiles/replication_static.dir/all:
|
||||||
|
$(MAKE) -f src/CMakeFiles/replication_static.dir/build.make src/CMakeFiles/replication_static.dir/depend
|
||||||
|
$(MAKE) -f src/CMakeFiles/replication_static.dir/build.make src/CMakeFiles/replication_static.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
||||||
|
@echo "Built target replication_static"
|
||||||
|
.PHONY : src/CMakeFiles/replication_static.dir/all
|
||||||
|
|
||||||
|
# Include target in all.
|
||||||
|
all: src/CMakeFiles/replication_static.dir/all
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
src/CMakeFiles/replication_static.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 15
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/replication_static.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
|
||||||
|
.PHONY : src/CMakeFiles/replication_static.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
replication_static: src/CMakeFiles/replication_static.dir/rule
|
||||||
|
.PHONY : replication_static
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
src/CMakeFiles/replication_static.dir/clean:
|
||||||
|
$(MAKE) -f src/CMakeFiles/replication_static.dir/build.make src/CMakeFiles/replication_static.dir/clean
|
||||||
|
.PHONY : src/CMakeFiles/replication_static.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: src/CMakeFiles/replication_static.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Directory level rules for directory examples
|
||||||
|
|
||||||
|
# Convenience name for "all" pass in the directory.
|
||||||
|
examples/all: examples/CMakeFiles/basic-1.dir/all
|
||||||
|
examples/all: examples/CMakeFiles/basic-2.dir/all
|
||||||
|
examples/all: examples/CMakeFiles/jan_test.dir/all
|
||||||
|
examples/all: examples/mysql2lucene/all
|
||||||
|
.PHONY : examples/all
|
||||||
|
|
||||||
|
# Convenience name for "clean" pass in the directory.
|
||||||
|
examples/clean: examples/CMakeFiles/basic-1.dir/clean
|
||||||
|
examples/clean: examples/CMakeFiles/basic-2.dir/clean
|
||||||
|
examples/clean: examples/CMakeFiles/jan_test.dir/clean
|
||||||
|
examples/clean: examples/mysql2lucene/clean
|
||||||
|
.PHONY : examples/clean
|
||||||
|
|
||||||
|
# Convenience name for "preinstall" pass in the directory.
|
||||||
|
examples/preinstall: examples/mysql2lucene/preinstall
|
||||||
|
.PHONY : examples/preinstall
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target examples/CMakeFiles/basic-1.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
examples/CMakeFiles/basic-1.dir/all:
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/depend
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles 1
|
||||||
|
@echo "Built target basic-1"
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
examples/CMakeFiles/basic-1.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 1
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/basic-1.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
basic-1: examples/CMakeFiles/basic-1.dir/rule
|
||||||
|
.PHONY : basic-1
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
examples/CMakeFiles/basic-1.dir/clean:
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/clean
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: examples/CMakeFiles/basic-1.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target examples/CMakeFiles/basic-2.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
examples/CMakeFiles/basic-2.dir/all:
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/depend
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles 2
|
||||||
|
@echo "Built target basic-2"
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
examples/CMakeFiles/basic-2.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 1
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/basic-2.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
basic-2: examples/CMakeFiles/basic-2.dir/rule
|
||||||
|
.PHONY : basic-2
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
examples/CMakeFiles/basic-2.dir/clean:
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/clean
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: examples/CMakeFiles/basic-2.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target examples/CMakeFiles/jan_test.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
examples/CMakeFiles/jan_test.dir/all:
|
||||||
|
$(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/depend
|
||||||
|
$(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles 3
|
||||||
|
@echo "Built target jan_test"
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
examples/CMakeFiles/jan_test.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 1
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/jan_test.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
jan_test: examples/CMakeFiles/jan_test.dir/rule
|
||||||
|
.PHONY : jan_test
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
examples/CMakeFiles/jan_test.dir/clean:
|
||||||
|
$(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/clean
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: examples/CMakeFiles/jan_test.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Directory level rules for directory examples/mysql2lucene
|
||||||
|
|
||||||
|
# Convenience name for "all" pass in the directory.
|
||||||
|
examples/mysql2lucene/all: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/all
|
||||||
|
.PHONY : examples/mysql2lucene/all
|
||||||
|
|
||||||
|
# Convenience name for "clean" pass in the directory.
|
||||||
|
examples/mysql2lucene/clean: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
|
||||||
|
.PHONY : examples/mysql2lucene/clean
|
||||||
|
|
||||||
|
# Convenience name for "preinstall" pass in the directory.
|
||||||
|
examples/mysql2lucene/preinstall:
|
||||||
|
.PHONY : examples/mysql2lucene/preinstall
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target examples/mysql2lucene/CMakeFiles/mysql2lucene.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/all: src/CMakeFiles/replication_static.dir/all
|
||||||
|
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/depend
|
||||||
|
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles 4 5 6 7 8
|
||||||
|
@echo "Built target mysql2lucene"
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 20
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
|
||||||
|
.PHONY : mysql2lucene
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/clean:
|
||||||
|
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets to cleanup operation of make.
|
||||||
|
|
||||||
|
# Special rule to run CMake to check the build system integrity.
|
||||||
|
# No rule that depends on this can have commands that come from listfiles
|
||||||
|
# because they might be regenerated.
|
||||||
|
cmake_check_build_system:
|
||||||
|
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
||||||
6
replication_listener/CMakeFiles/TargetDirectories.txt
Normal file
6
replication_listener/CMakeFiles/TargetDirectories.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-1.dir
|
||||||
|
/home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-2.dir
|
||||||
|
/home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/jan_test.dir
|
||||||
|
/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir
|
||||||
|
/home/jan/skysql/skygateway/replication_listener/src/CMakeFiles/replication_shared.dir
|
||||||
|
/home/jan/skysql/skygateway/replication_listener/src/CMakeFiles/replication_static.dir
|
||||||
1
replication_listener/CMakeFiles/cmake.check_cache
Normal file
1
replication_listener/CMakeFiles/cmake.check_cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||||
1
replication_listener/CMakeFiles/progress.marks
Normal file
1
replication_listener/CMakeFiles/progress.marks
Normal file
@ -0,0 +1 @@
|
|||||||
|
30
|
||||||
159
replication_listener/CMakeLists.txt
Normal file
159
replication_listener/CMakeLists.txt
Normal file
@ -0,0 +1,159 @@
|
|||||||
|
project (mysql-5.6-labs-binary-log-api)
|
||||||
|
cmake_minimum_required (VERSION 2.6)
|
||||||
|
|
||||||
|
set(MySQL_BINLOG_VERSION_MAJOR "0")
|
||||||
|
set(MySQL_BINLOG_VERSION_MINOR "0.1")
|
||||||
|
set(MRL_VERSION "${MySQL_BINLOG_VERSION_MAJOR}.${MySQL_BINLOG_VERSION_MINOR}")
|
||||||
|
|
||||||
|
set(CMAKE_VERSION_STRING "${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}")
|
||||||
|
|
||||||
|
# Options for building
|
||||||
|
option(WITH_SERVER_TESTS
|
||||||
|
"Build the unit test suite with tests requiring a server"
|
||||||
|
OFF)
|
||||||
|
|
||||||
|
# GTest download variables
|
||||||
|
set(GTEST_VERSION "1.5.0")
|
||||||
|
set(GTEST_PACKAGE_NAME "gtest-${GTEST_VERSION}")
|
||||||
|
set(GTEST_TARBALL "${GTEST_PACKAGE_NAME}.tar.gz")
|
||||||
|
set(GTEST_DOWNLOAD_URL "http://googletest.googlecode.com/files/${GTEST_TARBALL}")
|
||||||
|
if(NOT DOWNLOAD_ROOT)
|
||||||
|
set(DOWNLOAD_ROOT ${CMAKE_SOURCE_DIR}/source_downloads)
|
||||||
|
endif()
|
||||||
|
set(GTEST_SOURCE_DIR ${DOWNLOAD_ROOT}/${GTEST_PACKAGE_NAME})
|
||||||
|
|
||||||
|
# General settings
|
||||||
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
|
||||||
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
|
||||||
|
include_directories(include)
|
||||||
|
link_directories(${PROJECT_BINARY_DIR}/lib)
|
||||||
|
|
||||||
|
# ---------- Find Boost Headers/Libraries -----------------------
|
||||||
|
SET(Boost_DEBUG FALSE)
|
||||||
|
SET(Boost_FIND_REQUIRED TRUE)
|
||||||
|
SET(Boost_FIND_QUIETLY TRUE)
|
||||||
|
SET(Boost_USE_STATIC_LIBS FALSE)
|
||||||
|
SET(Boost_ADDITIONAL_VERSIONS "1.41" "1.41.0")
|
||||||
|
FIND_PACKAGE(Boost REQUIRED system thread)
|
||||||
|
|
||||||
|
# --------- Find crypt
|
||||||
|
FIND_LIBRARY(LIB_CRYPTO crypto /opt/local/lib /opt/lib /usr/lib /usr/local/lib)
|
||||||
|
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
|
||||||
|
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
|
||||||
|
|
||||||
|
# Locate Google Test package and enable tests if it is found
|
||||||
|
find_package(GTest ${GTEST_VERSION} QUIET)
|
||||||
|
|
||||||
|
if (NOT GTEST_FOUND)
|
||||||
|
if (NOT ENABLE_DOWNLOADS)
|
||||||
|
# Give one-time warning
|
||||||
|
if (NOT ONETIME_GTEST_WARNING)
|
||||||
|
message(STATUS
|
||||||
|
"Googletest was not found. gtest-based unit tests will be disabled. "
|
||||||
|
"You can run cmake . -DENABLE_DOWNLOADS=1 to automatically download and "
|
||||||
|
"build required components from source.")
|
||||||
|
SET(ONETIME_GTEST_WARNING 1 CACHE INTERNAL "")
|
||||||
|
endif (NOT ONETIME_GTEST_WARNING)
|
||||||
|
else (NOT ENABLE_DOWNLOADS)
|
||||||
|
# Download gtest source
|
||||||
|
if (NOT EXISTS ${GTEST_SOURCE_DIR} AND
|
||||||
|
NOT EXISTS ${DOWNLOAD_ROOT}/${GTEST_TARBALL})
|
||||||
|
if (${CMAKE_VERSION_STRING} LESS "2.8")
|
||||||
|
# In versions earlier than 2.8, try wget for downloading
|
||||||
|
find_program(WGET_EXECUTABLE wget)
|
||||||
|
mark_as_advanced(WGET_EXECUTABLE)
|
||||||
|
if (WGET_EXECUTABLE)
|
||||||
|
if (NOT EXISTS ${DOWNLOAD_ROOT})
|
||||||
|
make_directory(${DOWNLOAD_ROOT})
|
||||||
|
endif (NOT EXISTS ${DOWNLOAD_ROOT})
|
||||||
|
execute_process(COMMAND ${WGET_EXECUTABLE} -T 30 ${GTEST_DOWNLOAD_URL}
|
||||||
|
WORKING_DIRECTORY ${DOWNLOAD_ROOT} RESULT_VARIABLE ERR)
|
||||||
|
if (ERR EQUAL 0)
|
||||||
|
SET(DOWNLOAD_SUCCEEDED 1)
|
||||||
|
endif (ERR EQUAL 0)
|
||||||
|
endif (WGET_EXECUTABLE)
|
||||||
|
else (${CMAKE_VERSION_STRING} LESS "2.8")
|
||||||
|
# Use CMake builtin download capabilities
|
||||||
|
file(DOWNLOAD ${GTEST_DOWNLOAD_URL} ${DOWNLOAD_ROOT}/${GTEST_TARBALL}
|
||||||
|
TIMEOUT 30
|
||||||
|
STATUS ERR)
|
||||||
|
if (ERR EQUAL 0)
|
||||||
|
SET(DOWNLOAD_SUCCEEDED 1)
|
||||||
|
endif (ERR EQUAL 0)
|
||||||
|
endif(${CMAKE_VERSION_STRING} LESS "2.8")
|
||||||
|
|
||||||
|
if (NOT DOWNLOAD_SUCCEEDED)
|
||||||
|
message(STATUS
|
||||||
|
"To enable google test, please download ${GTEST_DOWNLOAD_URL} "
|
||||||
|
"to the directory ${DOWNLOAD_ROOT}")
|
||||||
|
else (NOT DOWNLOAD_SUCCEEDED)
|
||||||
|
message(STATUS
|
||||||
|
"Successfully downloaded ${GTEST_DOWNLOAD_URL} to ${DOWNLOAD_ROOT}")
|
||||||
|
# Unpack tarball
|
||||||
|
execute_process (
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E tar xfz "${DOWNLOAD_ROOT}/${GTEST_TARBALL}"
|
||||||
|
WORKING_DIRECTORY "${DOWNLOAD_ROOT}"
|
||||||
|
OUTPUT_QUIET
|
||||||
|
ERROR_QUIET
|
||||||
|
)
|
||||||
|
set(GTEST_DOWNLOADED 1 CACHE INTERNAL "")
|
||||||
|
set(GTEST_FOUND 1 CACHE INTERNAL "")
|
||||||
|
endif (NOT DOWNLOAD_SUCCEEDED)
|
||||||
|
else(NOT EXISTS ${GTEST_SOURCE_DIR} AND NOT EXISTS ${DOWNLOAD_ROOT}/${GTEST_TARBALL})
|
||||||
|
set(GTEST_DOWNLOADED 1 CACHE INTERNAL "")
|
||||||
|
set(GTEST_FOUND 1 CACHE INTERNAL "")
|
||||||
|
endif(NOT EXISTS ${GTEST_SOURCE_DIR} AND NOT EXISTS ${DOWNLOAD_ROOT}/${GTEST_TARBALL})
|
||||||
|
endif (NOT ENABLE_DOWNLOADS)
|
||||||
|
endif (NOT GTEST_FOUND)
|
||||||
|
|
||||||
|
if (GTEST_DOWNLOADED)
|
||||||
|
# Build gtest library
|
||||||
|
include_directories(
|
||||||
|
${GTEST_SOURCE_DIR}
|
||||||
|
${GTEST_SOURCE_DIR}/include
|
||||||
|
)
|
||||||
|
add_library(gtest STATIC ${GTEST_SOURCE_DIR}/src/gtest-all.cc)
|
||||||
|
|
||||||
|
# Set CMake variables to make FindPackage(GTest) happy next time.
|
||||||
|
SET(GTEST_FOUND 1 CACHE INTERNAL "")
|
||||||
|
SET(GTEST_LIBRARY gtest CACHE INTERNAL "")
|
||||||
|
SET(GTEST_LIBRARIES gtest CACHE INTERNAL "")
|
||||||
|
SET(GTEST_MAIN_LIBRARY no_gtest_main_library CACHE INTERNAL "")
|
||||||
|
SET(GTEST_INCLUDE_DIRS ${GTEST_SOURCE_DIR}/include CACHE INTERNAL "")
|
||||||
|
SET(GTEST_INCLUDE_DIR "${GTEST_SOURCE_DIR}/include" CACHE INTERNAL "")
|
||||||
|
endif (GTEST_DOWNLOADED)
|
||||||
|
|
||||||
|
if(GTEST_FOUND)
|
||||||
|
message(STATUS "Tests from subdirectory 'tests' added")
|
||||||
|
enable_testing(true)
|
||||||
|
include_directories(${GTEST_INCLUDE_DIRS})
|
||||||
|
add_subdirectory(tests)
|
||||||
|
endif(GTEST_FOUND)
|
||||||
|
|
||||||
|
add_subdirectory(src)
|
||||||
|
|
||||||
|
# -- Build the examples
|
||||||
|
add_subdirectory(examples EXCLUDE_FROM_ALL)
|
||||||
|
|
||||||
|
# Configure installation
|
||||||
|
install(DIRECTORY include DESTINATION . FILES_MATCHING PATTERN "*.h")
|
||||||
|
|
||||||
|
include(InstallRequiredSystemLibraries)
|
||||||
|
|
||||||
|
# Configure packaging
|
||||||
|
SET(CPACK_PACKAGE_NAME "mysql-5.6-labs-binary-log-api")
|
||||||
|
SET(CPACK_PACKAGE_VERSION_MAJOR "${MySQL_BINLOG_VERSION_MAJOR}")
|
||||||
|
SET(CPACK_PACKAGE_VERSION_MINOR "${MySQL_BINLOG_VERSION_MINOR}")
|
||||||
|
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY
|
||||||
|
"mysql-5.6-labs-binary-log-api: a MySQL client library for interfacing with the binary log mechanism.")
|
||||||
|
|
||||||
|
SET(CPACK_GENERATOR "STGZ;TGZ;TZ;DEB;RPM")
|
||||||
|
|
||||||
|
# Get package name correctly formatted with name, version, and platform
|
||||||
|
execute_process(COMMAND uname -m OUTPUT_VARIABLE SYSTEM_ARCH OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
SET(CPACK_PACKAGE_FILE_NAME
|
||||||
|
"${CPACK_PACKAGE_NAME}.${MRL_VERSION}.${CMAKE_SYSTEM_NAME}.${SYSTEM_ARCH}")
|
||||||
|
|
||||||
|
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Oracle Corporation")
|
||||||
|
|
||||||
|
include(CPack)
|
||||||
280
replication_listener/COPYING
Normal file
280
replication_listener/COPYING
Normal file
@ -0,0 +1,280 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
License is intended to guarantee your freedom to share and change free
|
||||||
|
software--to make sure the software is free for all its users. This
|
||||||
|
General Public License applies to most of the Free Software
|
||||||
|
Foundation's software and to any other program whose authors commit to
|
||||||
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
|
the GNU Lesser General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
|
These restrictions translate to certain responsibilities for you if you
|
||||||
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
|
you have. You must make sure that they, too, receive or can get the
|
||||||
|
source code. And you must show them these terms so they know their
|
||||||
|
rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
software. If the software is modified by someone else and passed on, we
|
||||||
|
want its recipients to know that what they have is not the original, so
|
||||||
|
that any problems introduced by others will not reflect on the original
|
||||||
|
authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
|
program will individually obtain patent licenses, in effect making the
|
||||||
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains
|
||||||
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
|
under the terms of this General Public License. The "Program", below,
|
||||||
|
refers to any such program or work, and a "work based on the Program"
|
||||||
|
means either the Program or any derivative work under copyright law:
|
||||||
|
that is to say, a work containing the Program or a portion of it,
|
||||||
|
either verbatim or with modifications and/or translated into another
|
||||||
|
language. (Hereinafter, translation is included without limitation in
|
||||||
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running the Program is not restricted, and the output from the Program
|
||||||
|
is covered only if its contents constitute a work based on the
|
||||||
|
Program (independent of having been made by running the Program).
|
||||||
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
|
source code as you receive it, in any medium, provided that you
|
||||||
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
|
notices that refer to this License and to the absence of any warranty;
|
||||||
|
and give any other recipients of the Program a copy of this License
|
||||||
|
along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
|
of it, thus forming a work based on the Program, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
b) You must cause any work that you distribute or publish, that in
|
||||||
|
whole or in part contains or is derived from the Program or any
|
||||||
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
|
parties under the terms of this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively
|
||||||
|
when run, you must cause it, when started running for such
|
||||||
|
interactive use in the most ordinary way, to print or display an
|
||||||
|
announcement including an appropriate copyright notice and a
|
||||||
|
notice that there is no warranty (or else, saying that you provide
|
||||||
|
a warranty) and that users may redistribute the program under
|
||||||
|
these conditions, and telling the user how to view a copy of this
|
||||||
|
License. (Exception: if the Program itself is interactive but
|
||||||
|
does not normally print such an announcement, your work based on
|
||||||
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Program,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program
|
||||||
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
|
under Section 2) in object code or executable form under the terms of
|
||||||
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
|
source code, which must be distributed under the terms of Sections
|
||||||
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
|
b) Accompany it with a written offer, valid for at least three
|
||||||
|
years, to give any third party, for a charge no more than your
|
||||||
|
cost of physically performing source distribution, a complete
|
||||||
|
machine-readable copy of the corresponding source code, to be
|
||||||
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer
|
||||||
|
to distribute corresponding source code. (This alternative is
|
||||||
|
allowed only for noncommercial distribution and only if you
|
||||||
|
received the program in object code or executable form with such
|
||||||
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For an executable work, complete source
|
||||||
|
code means all the source code for all modules it contains, plus any
|
||||||
|
associated interface definition files, plus the scripts used to
|
||||||
|
control compilation and installation of the executable. However, as a
|
||||||
|
special exception, the source code distributed need not include
|
||||||
|
anything that is normally distributed (in either source or binary
|
||||||
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering
|
||||||
|
access to copy from a designated place, then offering equivalent
|
||||||
|
access to copy the source code from the same place counts as
|
||||||
|
distribution of the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
|
except as expressly provided under this License. Any attempt
|
||||||
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
|
void, and will automatically terminate your rights under this License.
|
||||||
|
However, parties who have received copies, or rights, from you under
|
||||||
|
this License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Program or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Program (or any work based on the
|
||||||
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
|
Program), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
|
these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties to
|
||||||
|
this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Program at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Program by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system, which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Program under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding
|
||||||
|
those countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any
|
||||||
|
later version", you have the option of following the terms and conditions
|
||||||
|
either of that version or of any later version published by the Free
|
||||||
|
Software Foundation. If the Program does not specify a version number of
|
||||||
|
this License, you may choose any version ever published by the Free Software
|
||||||
|
Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
|
programs whose distribution conditions are different, write to the author
|
||||||
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
|
of preserving the free status of all derivatives of our free software and
|
||||||
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
65
replication_listener/CPackConfig.cmake
Normal file
65
replication_listener/CPackConfig.cmake
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
# This file will be configured to contain variables for CPack. These variables
|
||||||
|
# should be set in the CMake list file of the project before CPack module is
|
||||||
|
# included. The list of available CPACK_xxx variables and their associated
|
||||||
|
# documentation may be obtained using
|
||||||
|
# cpack --help-variable-list
|
||||||
|
#
|
||||||
|
# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME)
|
||||||
|
# and some are specific to a generator
|
||||||
|
# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables
|
||||||
|
# usually begin with CPACK_<GENNAME>_xxxx.
|
||||||
|
|
||||||
|
|
||||||
|
SET(CPACK_BINARY_BUNDLE "")
|
||||||
|
SET(CPACK_BINARY_CYGWIN "")
|
||||||
|
SET(CPACK_BINARY_DEB "")
|
||||||
|
SET(CPACK_BINARY_DRAGNDROP "")
|
||||||
|
SET(CPACK_BINARY_NSIS "")
|
||||||
|
SET(CPACK_BINARY_OSXX11 "")
|
||||||
|
SET(CPACK_BINARY_PACKAGEMAKER "")
|
||||||
|
SET(CPACK_BINARY_RPM "")
|
||||||
|
SET(CPACK_BINARY_STGZ "")
|
||||||
|
SET(CPACK_BINARY_TBZ2 "")
|
||||||
|
SET(CPACK_BINARY_TGZ "")
|
||||||
|
SET(CPACK_BINARY_TZ "")
|
||||||
|
SET(CPACK_BINARY_ZIP "")
|
||||||
|
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
|
||||||
|
SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
|
||||||
|
SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
|
||||||
|
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Oracle Corporation")
|
||||||
|
SET(CPACK_GENERATOR "STGZ;TGZ;TZ;DEB;RPM")
|
||||||
|
SET(CPACK_INSTALL_CMAKE_PROJECTS "/home/jan/skysql/skygateway/replication_listener;mysql-5.6-labs-binary-log-api;ALL;/")
|
||||||
|
SET(CPACK_INSTALL_PREFIX "/usr/local")
|
||||||
|
SET(CPACK_MODULE_PATH "")
|
||||||
|
SET(CPACK_NSIS_DISPLAY_NAME "mysql-5.6-labs-binary-log-api 0.0.1.1")
|
||||||
|
SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
|
||||||
|
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
|
||||||
|
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
|
||||||
|
SET(CPACK_NSIS_PACKAGE_NAME "mysql-5.6-labs-binary-log-api 0.0.1.1")
|
||||||
|
SET(CPACK_OUTPUT_CONFIG_FILE "/home/jan/skysql/skygateway/replication_listener/CPackConfig.cmake")
|
||||||
|
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
|
||||||
|
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake-2.8/Templates/CPack.GenericDescription.txt")
|
||||||
|
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "mysql-5.6-labs-binary-log-api: a MySQL client library for interfacing with the binary log mechanism.")
|
||||||
|
SET(CPACK_PACKAGE_FILE_NAME "mysql-5.6-labs-binary-log-api.0.0.1.Linux.x86_64")
|
||||||
|
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "mysql-5.6-labs-binary-log-api 0.0.1.1")
|
||||||
|
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "mysql-5.6-labs-binary-log-api 0.0.1.1")
|
||||||
|
SET(CPACK_PACKAGE_NAME "mysql-5.6-labs-binary-log-api")
|
||||||
|
SET(CPACK_PACKAGE_RELOCATABLE "true")
|
||||||
|
SET(CPACK_PACKAGE_VENDOR "Humanity")
|
||||||
|
SET(CPACK_PACKAGE_VERSION "0.0.1.1")
|
||||||
|
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
|
||||||
|
SET(CPACK_PACKAGE_VERSION_MINOR "0.1")
|
||||||
|
SET(CPACK_PACKAGE_VERSION_PATCH "1")
|
||||||
|
SET(CPACK_RESOURCE_FILE_LICENSE "/usr/share/cmake-2.8/Templates/CPack.GenericLicense.txt")
|
||||||
|
SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-2.8/Templates/CPack.GenericDescription.txt")
|
||||||
|
SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-2.8/Templates/CPack.GenericWelcome.txt")
|
||||||
|
SET(CPACK_SET_DESTDIR "OFF")
|
||||||
|
SET(CPACK_SOURCE_CYGWIN "")
|
||||||
|
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2;TZ")
|
||||||
|
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/jan/skysql/skygateway/replication_listener/CPackSourceConfig.cmake")
|
||||||
|
SET(CPACK_SOURCE_TBZ2 "ON")
|
||||||
|
SET(CPACK_SOURCE_TGZ "ON")
|
||||||
|
SET(CPACK_SOURCE_TZ "ON")
|
||||||
|
SET(CPACK_SOURCE_ZIP "OFF")
|
||||||
|
SET(CPACK_SYSTEM_NAME "Linux")
|
||||||
|
SET(CPACK_TOPLEVEL_TAG "Linux")
|
||||||
72
replication_listener/CPackSourceConfig.cmake
Normal file
72
replication_listener/CPackSourceConfig.cmake
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
# This file will be configured to contain variables for CPack. These variables
|
||||||
|
# should be set in the CMake list file of the project before CPack module is
|
||||||
|
# included. The list of available CPACK_xxx variables and their associated
|
||||||
|
# documentation may be obtained using
|
||||||
|
# cpack --help-variable-list
|
||||||
|
#
|
||||||
|
# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME)
|
||||||
|
# and some are specific to a generator
|
||||||
|
# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables
|
||||||
|
# usually begin with CPACK_<GENNAME>_xxxx.
|
||||||
|
|
||||||
|
|
||||||
|
SET(CPACK_BINARY_BUNDLE "")
|
||||||
|
SET(CPACK_BINARY_CYGWIN "")
|
||||||
|
SET(CPACK_BINARY_DEB "")
|
||||||
|
SET(CPACK_BINARY_DRAGNDROP "")
|
||||||
|
SET(CPACK_BINARY_NSIS "")
|
||||||
|
SET(CPACK_BINARY_OSXX11 "")
|
||||||
|
SET(CPACK_BINARY_PACKAGEMAKER "")
|
||||||
|
SET(CPACK_BINARY_RPM "")
|
||||||
|
SET(CPACK_BINARY_STGZ "")
|
||||||
|
SET(CPACK_BINARY_TBZ2 "")
|
||||||
|
SET(CPACK_BINARY_TGZ "")
|
||||||
|
SET(CPACK_BINARY_TZ "")
|
||||||
|
SET(CPACK_BINARY_ZIP "")
|
||||||
|
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
|
||||||
|
SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
|
||||||
|
SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
|
||||||
|
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Oracle Corporation")
|
||||||
|
SET(CPACK_GENERATOR "TGZ;TBZ2;TZ")
|
||||||
|
SET(CPACK_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp$;\\.#;/#")
|
||||||
|
SET(CPACK_INSTALLED_DIRECTORIES "/home/jan/skysql/skygateway/replication_listener;/")
|
||||||
|
SET(CPACK_INSTALL_CMAKE_PROJECTS "")
|
||||||
|
SET(CPACK_INSTALL_PREFIX "/usr/local")
|
||||||
|
SET(CPACK_MODULE_PATH "")
|
||||||
|
SET(CPACK_NSIS_DISPLAY_NAME "mysql-5.6-labs-binary-log-api 0.0.1.1")
|
||||||
|
SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
|
||||||
|
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
|
||||||
|
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
|
||||||
|
SET(CPACK_NSIS_PACKAGE_NAME "mysql-5.6-labs-binary-log-api 0.0.1.1")
|
||||||
|
SET(CPACK_OUTPUT_CONFIG_FILE "/home/jan/skysql/skygateway/replication_listener/CPackConfig.cmake")
|
||||||
|
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
|
||||||
|
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake-2.8/Templates/CPack.GenericDescription.txt")
|
||||||
|
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "mysql-5.6-labs-binary-log-api: a MySQL client library for interfacing with the binary log mechanism.")
|
||||||
|
SET(CPACK_PACKAGE_FILE_NAME "mysql-5.6-labs-binary-log-api-0.0.1.1-Source")
|
||||||
|
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "mysql-5.6-labs-binary-log-api 0.0.1.1")
|
||||||
|
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "mysql-5.6-labs-binary-log-api 0.0.1.1")
|
||||||
|
SET(CPACK_PACKAGE_NAME "mysql-5.6-labs-binary-log-api")
|
||||||
|
SET(CPACK_PACKAGE_RELOCATABLE "true")
|
||||||
|
SET(CPACK_PACKAGE_VENDOR "Humanity")
|
||||||
|
SET(CPACK_PACKAGE_VERSION "0.0.1.1")
|
||||||
|
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
|
||||||
|
SET(CPACK_PACKAGE_VERSION_MINOR "0.1")
|
||||||
|
SET(CPACK_PACKAGE_VERSION_PATCH "1")
|
||||||
|
SET(CPACK_RESOURCE_FILE_LICENSE "/usr/share/cmake-2.8/Templates/CPack.GenericLicense.txt")
|
||||||
|
SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-2.8/Templates/CPack.GenericDescription.txt")
|
||||||
|
SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-2.8/Templates/CPack.GenericWelcome.txt")
|
||||||
|
SET(CPACK_SET_DESTDIR "OFF")
|
||||||
|
SET(CPACK_SOURCE_CYGWIN "")
|
||||||
|
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2;TZ")
|
||||||
|
SET(CPACK_SOURCE_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp$;\\.#;/#")
|
||||||
|
SET(CPACK_SOURCE_INSTALLED_DIRECTORIES "/home/jan/skysql/skygateway/replication_listener;/")
|
||||||
|
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/jan/skysql/skygateway/replication_listener/CPackSourceConfig.cmake")
|
||||||
|
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "mysql-5.6-labs-binary-log-api-0.0.1.1-Source")
|
||||||
|
SET(CPACK_SOURCE_TBZ2 "ON")
|
||||||
|
SET(CPACK_SOURCE_TGZ "ON")
|
||||||
|
SET(CPACK_SOURCE_TOPLEVEL_TAG "Linux-Source")
|
||||||
|
SET(CPACK_SOURCE_TZ "ON")
|
||||||
|
SET(CPACK_SOURCE_ZIP "OFF")
|
||||||
|
SET(CPACK_STRIP_FILES "")
|
||||||
|
SET(CPACK_SYSTEM_NAME "Linux")
|
||||||
|
SET(CPACK_TOPLEVEL_TAG "Linux-Source")
|
||||||
1551
replication_listener/Doxyfile
Normal file
1551
replication_listener/Doxyfile
Normal file
File diff suppressed because it is too large
Load Diff
273
replication_listener/Makefile
Normal file
273
replication_listener/Makefile
Normal file
@ -0,0 +1,273 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Targets provided globally by CMake.
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
|
||||||
|
/usr/bin/cmake -i .
|
||||||
|
.PHONY : edit_cache
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache/fast: edit_cache
|
||||||
|
.PHONY : edit_cache/fast
|
||||||
|
|
||||||
|
# Special rule for the target install
|
||||||
|
install: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||||
|
/usr/bin/cmake -P cmake_install.cmake
|
||||||
|
.PHONY : install
|
||||||
|
|
||||||
|
# Special rule for the target install
|
||||||
|
install/fast: preinstall/fast
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||||
|
/usr/bin/cmake -P cmake_install.cmake
|
||||||
|
.PHONY : install/fast
|
||||||
|
|
||||||
|
# Special rule for the target install/local
|
||||||
|
install/local: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||||
|
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||||
|
.PHONY : install/local
|
||||||
|
|
||||||
|
# Special rule for the target install/local
|
||||||
|
install/local/fast: install/local
|
||||||
|
.PHONY : install/local/fast
|
||||||
|
|
||||||
|
# Special rule for the target install/strip
|
||||||
|
install/strip: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||||
|
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||||
|
.PHONY : install/strip
|
||||||
|
|
||||||
|
# Special rule for the target install/strip
|
||||||
|
install/strip/fast: install/strip
|
||||||
|
.PHONY : install/strip/fast
|
||||||
|
|
||||||
|
# Special rule for the target list_install_components
|
||||||
|
list_install_components:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||||
|
.PHONY : list_install_components
|
||||||
|
|
||||||
|
# Special rule for the target list_install_components
|
||||||
|
list_install_components/fast: list_install_components
|
||||||
|
.PHONY : list_install_components/fast
|
||||||
|
|
||||||
|
# Special rule for the target package
|
||||||
|
package: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
|
||||||
|
/usr/bin/cpack --config ./CPackConfig.cmake
|
||||||
|
.PHONY : package
|
||||||
|
|
||||||
|
# Special rule for the target package
|
||||||
|
package/fast: package
|
||||||
|
.PHONY : package/fast
|
||||||
|
|
||||||
|
# Special rule for the target package_source
|
||||||
|
package_source:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
|
||||||
|
/usr/bin/cpack --config ./CPackSourceConfig.cmake /home/jan/skysql/skygateway/replication_listener/CPackSourceConfig.cmake
|
||||||
|
.PHONY : package_source
|
||||||
|
|
||||||
|
# Special rule for the target package_source
|
||||||
|
package_source/fast: package_source
|
||||||
|
.PHONY : package_source/fast
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||||
|
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||||
|
.PHONY : rebuild_cache
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache/fast: rebuild_cache
|
||||||
|
.PHONY : rebuild_cache/fast
|
||||||
|
|
||||||
|
# The main all target
|
||||||
|
all: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles /home/jan/skysql/skygateway/replication_listener/CMakeFiles/progress.marks
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean:
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean/fast: clean
|
||||||
|
.PHONY : clean/fast
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall: all
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall/fast:
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||||
|
.PHONY : preinstall/fast
|
||||||
|
|
||||||
|
# clear depends
|
||||||
|
depend:
|
||||||
|
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||||
|
.PHONY : depend
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for targets named replication_shared
|
||||||
|
|
||||||
|
# Build rule for target.
|
||||||
|
replication_shared: cmake_check_build_system
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 replication_shared
|
||||||
|
.PHONY : replication_shared
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
replication_shared/fast:
|
||||||
|
$(MAKE) -f src/CMakeFiles/replication_shared.dir/build.make src/CMakeFiles/replication_shared.dir/build
|
||||||
|
.PHONY : replication_shared/fast
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for targets named replication_static
|
||||||
|
|
||||||
|
# Build rule for target.
|
||||||
|
replication_static: cmake_check_build_system
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 replication_static
|
||||||
|
.PHONY : replication_static
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
replication_static/fast:
|
||||||
|
$(MAKE) -f src/CMakeFiles/replication_static.dir/build.make src/CMakeFiles/replication_static.dir/build
|
||||||
|
.PHONY : replication_static/fast
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for targets named basic-1
|
||||||
|
|
||||||
|
# Build rule for target.
|
||||||
|
basic-1: cmake_check_build_system
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 basic-1
|
||||||
|
.PHONY : basic-1
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
basic-1/fast:
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/build
|
||||||
|
.PHONY : basic-1/fast
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for targets named basic-2
|
||||||
|
|
||||||
|
# Build rule for target.
|
||||||
|
basic-2: cmake_check_build_system
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 basic-2
|
||||||
|
.PHONY : basic-2
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
basic-2/fast:
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/build
|
||||||
|
.PHONY : basic-2/fast
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for targets named jan_test
|
||||||
|
|
||||||
|
# Build rule for target.
|
||||||
|
jan_test: cmake_check_build_system
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 jan_test
|
||||||
|
.PHONY : jan_test
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
jan_test/fast:
|
||||||
|
$(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/build
|
||||||
|
.PHONY : jan_test/fast
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for targets named mysql2lucene
|
||||||
|
|
||||||
|
# Build rule for target.
|
||||||
|
mysql2lucene: cmake_check_build_system
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 mysql2lucene
|
||||||
|
.PHONY : mysql2lucene
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
mysql2lucene/fast:
|
||||||
|
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build
|
||||||
|
.PHONY : mysql2lucene/fast
|
||||||
|
|
||||||
|
# Help Target
|
||||||
|
help:
|
||||||
|
@echo "The following are some of the valid targets for this Makefile:"
|
||||||
|
@echo "... all (the default if no target is provided)"
|
||||||
|
@echo "... clean"
|
||||||
|
@echo "... depend"
|
||||||
|
@echo "... edit_cache"
|
||||||
|
@echo "... install"
|
||||||
|
@echo "... install/local"
|
||||||
|
@echo "... install/strip"
|
||||||
|
@echo "... list_install_components"
|
||||||
|
@echo "... package"
|
||||||
|
@echo "... package_source"
|
||||||
|
@echo "... rebuild_cache"
|
||||||
|
@echo "... replication_shared"
|
||||||
|
@echo "... replication_static"
|
||||||
|
@echo "... basic-1"
|
||||||
|
@echo "... basic-2"
|
||||||
|
@echo "... jan_test"
|
||||||
|
@echo "... mysql2lucene"
|
||||||
|
.PHONY : help
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets to cleanup operation of make.
|
||||||
|
|
||||||
|
# Special rule to run CMake to check the build system integrity.
|
||||||
|
# No rule that depends on this can have commands that come from listfiles
|
||||||
|
# because they might be regenerated.
|
||||||
|
cmake_check_build_system:
|
||||||
|
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
||||||
68
replication_listener/README
Normal file
68
replication_listener/README
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
This repository was forked from https://launchpad.net/mysql-replication-listener.
|
||||||
|
---
|
||||||
|
|
||||||
|
The MySQL Replicant Library is a C++ library for reading MySQL
|
||||||
|
replication events, either by connecting to a server or by reading
|
||||||
|
from a file. To handle reading from a server, it includes a very
|
||||||
|
simple client.
|
||||||
|
|
||||||
|
|
||||||
|
Dependencies
|
||||||
|
------------
|
||||||
|
|
||||||
|
You need to have CMake version 2.8 or later and Boost version 1.35.0
|
||||||
|
or later since Asio is required.
|
||||||
|
|
||||||
|
To be able to run the unit tests, you have to have Google Test
|
||||||
|
installed. Google Test will be automatically installed if cmake is
|
||||||
|
called as:
|
||||||
|
|
||||||
|
cmake . -DENABLE_DOWNLOADS=1
|
||||||
|
|
||||||
|
|
||||||
|
Directory structure
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
.
|
||||||
|
|-- doc Documentation
|
||||||
|
|-- examples Examples
|
||||||
|
| `-- mysql2lucene Example application replicating rows to SOLR
|
||||||
|
|-- include Include files
|
||||||
|
|-- src Source files for library
|
||||||
|
`-- tests Unit test files and directories
|
||||||
|
|
||||||
|
|
||||||
|
Building
|
||||||
|
--------
|
||||||
|
|
||||||
|
To build the entire package, it is first necessary to run CMake to build all the makefiles.
|
||||||
|
|
||||||
|
cmake .
|
||||||
|
make -j4
|
||||||
|
|
||||||
|
Some of the examples are using third-party software, which can require
|
||||||
|
extra parameters to be given to CMake.
|
||||||
|
|
||||||
|
If you want to perform an out-of-source build, you can just create a
|
||||||
|
build directory and execute CMake there.
|
||||||
|
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake <source directory>
|
||||||
|
make -j4
|
||||||
|
|
||||||
|
|
||||||
|
Building the mysql2lucene Example
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
|
To build the mysql2lucene example, it is necessary to ensure that the
|
||||||
|
'FindCLucene.cmake' is in the CMAKE_MODULE_PATH, which on my machine
|
||||||
|
require me to write:
|
||||||
|
|
||||||
|
cmake . -DCMAKE_MODULE_PATH:String=/usr/share/kde4/apps/cmake/modules
|
||||||
|
|
||||||
|
In addition, there is a bug in the packaging of CLucene on Ubuntu in
|
||||||
|
that the 'clucene-config.h' file is placed in '/usr/lib/CLucene' but
|
||||||
|
not in '/usr/include/CLucene', causing compiler failure when
|
||||||
|
attempting to use CLucene. The 'CMakeLists.txt' file hacks around this
|
||||||
|
by adding the libraries explicitly, but it seems unnecessary.
|
||||||
54
replication_listener/cmake_install.cmake
Normal file
54
replication_listener/cmake_install.cmake
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
# Install script for directory: /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# Set the install prefix
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
SET(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||||
|
|
||||||
|
# Set the install configuration name.
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
IF(BUILD_TYPE)
|
||||||
|
STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||||
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||||
|
ELSE(BUILD_TYPE)
|
||||||
|
SET(CMAKE_INSTALL_CONFIG_NAME "")
|
||||||
|
ENDIF(BUILD_TYPE)
|
||||||
|
MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
|
||||||
|
# Set the component getting installed.
|
||||||
|
IF(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
IF(COMPONENT)
|
||||||
|
MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
|
||||||
|
SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||||
|
ELSE(COMPONENT)
|
||||||
|
SET(CMAKE_INSTALL_COMPONENT)
|
||||||
|
ENDIF(COMPONENT)
|
||||||
|
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
|
||||||
|
# Install shared libraries without execute permission?
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
SET(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
|
||||||
|
IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
||||||
|
FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/." TYPE DIRECTORY FILES "/home/jan/skysql/skygateway/replication_listener/include" FILES_MATCHING REGEX "/[^/]*\\.h$")
|
||||||
|
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
||||||
|
|
||||||
|
IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||||
|
# Include the install script for each subdirectory.
|
||||||
|
INCLUDE("/home/jan/skysql/skygateway/replication_listener/src/cmake_install.cmake")
|
||||||
|
|
||||||
|
ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||||
|
|
||||||
|
IF(CMAKE_INSTALL_COMPONENT)
|
||||||
|
SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
||||||
|
ELSE(CMAKE_INSTALL_COMPONENT)
|
||||||
|
SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||||
|
ENDIF(CMAKE_INSTALL_COMPONENT)
|
||||||
|
|
||||||
|
FILE(WRITE "/home/jan/skysql/skygateway/replication_listener/${CMAKE_INSTALL_MANIFEST}" "")
|
||||||
|
FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
|
||||||
|
FILE(APPEND "/home/jan/skysql/skygateway/replication_listener/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
|
||||||
|
ENDFOREACH(file)
|
||||||
BIN
replication_listener/doc/libreplication.odp
Normal file
BIN
replication_listener/doc/libreplication.odp
Normal file
Binary file not shown.
@ -0,0 +1,53 @@
|
|||||||
|
SET(CMAKE_C_COMPILER "/usr/bin/gcc")
|
||||||
|
SET(CMAKE_C_COMPILER_ARG1 "")
|
||||||
|
SET(CMAKE_C_COMPILER_ID "GNU")
|
||||||
|
SET(CMAKE_C_COMPILER_VERSION "4.7.2")
|
||||||
|
SET(CMAKE_C_PLATFORM_ID "Linux")
|
||||||
|
|
||||||
|
SET(CMAKE_AR "/usr/bin/ar")
|
||||||
|
SET(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
SET(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
SET(CMAKE_COMPILER_IS_GNUCC 1)
|
||||||
|
SET(CMAKE_C_COMPILER_LOADED 1)
|
||||||
|
SET(CMAKE_COMPILER_IS_MINGW )
|
||||||
|
SET(CMAKE_COMPILER_IS_CYGWIN )
|
||||||
|
IF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
SET(CYGWIN 1)
|
||||||
|
SET(UNIX 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
|
||||||
|
SET(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||||
|
|
||||||
|
IF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(MINGW 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(CMAKE_C_COMPILER_ID_RUN 1)
|
||||||
|
SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
|
||||||
|
SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
SET(CMAKE_C_LINKER_PREFERENCE 10)
|
||||||
|
|
||||||
|
# Save compiler ABI information.
|
||||||
|
SET(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||||
|
SET(CMAKE_C_COMPILER_ABI "ELF")
|
||||||
|
SET(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
|
||||||
|
IF(CMAKE_C_SIZEOF_DATA_PTR)
|
||||||
|
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||||
|
ENDIF(CMAKE_C_SIZEOF_DATA_PTR)
|
||||||
|
|
||||||
|
IF(CMAKE_C_COMPILER_ABI)
|
||||||
|
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||||
|
ENDIF(CMAKE_C_COMPILER_ABI)
|
||||||
|
|
||||||
|
IF(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||||
|
SET(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
SET(CMAKE_C_HAS_ISYSROOT "")
|
||||||
|
|
||||||
|
|
||||||
|
SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
|
||||||
|
SET(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,54 @@
|
|||||||
|
SET(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
||||||
|
SET(CMAKE_CXX_COMPILER_ARG1 "")
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID "GNU")
|
||||||
|
SET(CMAKE_CXX_COMPILER_VERSION "4.7.2")
|
||||||
|
SET(CMAKE_CXX_PLATFORM_ID "Linux")
|
||||||
|
|
||||||
|
SET(CMAKE_AR "/usr/bin/ar")
|
||||||
|
SET(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||||
|
SET(CMAKE_LINKER "/usr/bin/ld")
|
||||||
|
SET(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||||
|
SET(CMAKE_CXX_COMPILER_LOADED 1)
|
||||||
|
SET(CMAKE_COMPILER_IS_MINGW )
|
||||||
|
SET(CMAKE_COMPILER_IS_CYGWIN )
|
||||||
|
IF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
SET(CYGWIN 1)
|
||||||
|
SET(UNIX 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||||
|
|
||||||
|
IF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(MINGW 1)
|
||||||
|
ENDIF(CMAKE_COMPILER_IS_MINGW)
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||||
|
SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||||
|
SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
|
||||||
|
SET(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||||
|
SET(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||||
|
|
||||||
|
# Save compiler ABI information.
|
||||||
|
SET(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||||
|
SET(CMAKE_CXX_COMPILER_ABI "ELF")
|
||||||
|
SET(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
|
||||||
|
IF(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||||
|
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||||
|
ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||||
|
|
||||||
|
IF(CMAKE_CXX_COMPILER_ABI)
|
||||||
|
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||||
|
ENDIF(CMAKE_CXX_COMPILER_ABI)
|
||||||
|
|
||||||
|
IF(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||||
|
SET(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_HAS_ISYSROOT "")
|
||||||
|
|
||||||
|
|
||||||
|
SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")
|
||||||
|
SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BIN
replication_listener/examples/CMakeFiles/CMakeDetermineCompilerABI_C.bin
Executable file
BIN
replication_listener/examples/CMakeFiles/CMakeDetermineCompilerABI_C.bin
Executable file
Binary file not shown.
BIN
replication_listener/examples/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
Executable file
BIN
replication_listener/examples/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
Executable file
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Relative path conversion top directories.
|
||||||
|
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jan/skysql/skygateway/replication_listener")
|
||||||
|
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jan/skysql/skygateway/replication_listener")
|
||||||
|
|
||||||
|
# Force unix paths in dependencies.
|
||||||
|
SET(CMAKE_FORCE_UNIX_PATHS 1)
|
||||||
|
|
||||||
|
|
||||||
|
# The C and CXX include file regular expressions for this directory.
|
||||||
|
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||||
|
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||||
|
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||||
|
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
||||||
526
replication_listener/examples/CMakeFiles/CMakeOutput.log
Normal file
526
replication_listener/examples/CMakeFiles/CMakeOutput.log
Normal file
@ -0,0 +1,526 @@
|
|||||||
|
The system is: Linux - 3.5.0-28-generic - x86_64
|
||||||
|
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||||
|
Compiler: /usr/bin/gcc
|
||||||
|
Build flags:
|
||||||
|
Id flags:
|
||||||
|
|
||||||
|
The output was:
|
||||||
|
0
|
||||||
|
|
||||||
|
|
||||||
|
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
||||||
|
|
||||||
|
The C compiler identification is GNU, found in "/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CompilerIdC/a.out"
|
||||||
|
|
||||||
|
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||||
|
Compiler: /usr/bin/c++
|
||||||
|
Build flags:
|
||||||
|
Id flags:
|
||||||
|
|
||||||
|
The output was:
|
||||||
|
0
|
||||||
|
|
||||||
|
|
||||||
|
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
|
||||||
|
|
||||||
|
The CXX compiler identification is GNU, found in "/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CompilerIdCXX/a.out"
|
||||||
|
|
||||||
|
Determining if the C compiler works passed with the following output:
|
||||||
|
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec2105707460/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec2105707460.dir/build.make CMakeFiles/cmTryCompileExec2105707460.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building C object CMakeFiles/cmTryCompileExec2105707460.dir/testCCompiler.c.o
|
||||||
|
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2105707460.dir/testCCompiler.c.o -c /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||||
|
Linking C executable cmTryCompileExec2105707460
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2105707460.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/gcc CMakeFiles/cmTryCompileExec2105707460.dir/testCCompiler.c.o -o cmTryCompileExec2105707460 -rdynamic
|
||||||
|
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Detecting C compiler ABI info compiled with the following output:
|
||||||
|
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec2521112262/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec2521112262.dir/build.make CMakeFiles/cmTryCompileExec2521112262.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building C object CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o
|
||||||
|
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c
|
||||||
|
Linking C executable cmTryCompileExec2521112262
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2521112262.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/gcc -v CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2521112262 -rdynamic
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/gcc
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
|
||||||
|
Target: x86_64-linux-gnu
|
||||||
|
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||||
|
Thread model: posix
|
||||||
|
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2521112262' '-rdynamic' '-mtune=generic' '-march=x86-64'
|
||||||
|
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2521112262 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
|
||||||
|
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Parsed C implicit link information from above output:
|
||||||
|
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
|
||||||
|
ignore line: [Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec2521112262/fast"]
|
||||||
|
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec2521112262.dir/build.make CMakeFiles/cmTryCompileExec2521112262.dir/build]
|
||||||
|
ignore line: [make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp']
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1]
|
||||||
|
ignore line: [Building C object CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o]
|
||||||
|
ignore line: [/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c]
|
||||||
|
ignore line: [Linking C executable cmTryCompileExec2521112262]
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2521112262.dir/link.txt --verbose=1]
|
||||||
|
ignore line: [/usr/bin/gcc -v CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2521112262 -rdynamic ]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/gcc]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-linux-gnu]
|
||||||
|
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2521112262' '-rdynamic' '-mtune=generic' '-march=x86-64']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2521112262 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
|
||||||
|
arg [--sysroot=/] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--no-add-needed] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-export-dynamic] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-zrelro] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTryCompileExec2521112262] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
|
||||||
|
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
|
||||||
|
arg [CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--no-as-needed] ==> ignore
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--no-as-needed] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||||
|
remove lib [gcc]
|
||||||
|
remove lib [gcc_s]
|
||||||
|
remove lib [gcc]
|
||||||
|
remove lib [gcc_s]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [c]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||||
|
|
||||||
|
|
||||||
|
Determining if the CXX compiler works passed with the following output:
|
||||||
|
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec1202011939/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec1202011939.dir/build.make CMakeFiles/cmTryCompileExec1202011939.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building CXX object CMakeFiles/cmTryCompileExec1202011939.dir/testCXXCompiler.cxx.o
|
||||||
|
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec1202011939.dir/testCXXCompiler.cxx.o -c /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||||
|
Linking CXX executable cmTryCompileExec1202011939
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1202011939.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/c++ CMakeFiles/cmTryCompileExec1202011939.dir/testCXXCompiler.cxx.o -o cmTryCompileExec1202011939 -rdynamic
|
||||||
|
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Detecting CXX compiler ABI info compiled with the following output:
|
||||||
|
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec2613189232/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec2613189232.dir/build.make CMakeFiles/cmTryCompileExec2613189232.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building CXX object CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o
|
||||||
|
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp
|
||||||
|
Linking CXX executable cmTryCompileExec2613189232
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2613189232.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/c++ -v CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec2613189232 -rdynamic
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/c++
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
|
||||||
|
Target: x86_64-linux-gnu
|
||||||
|
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||||
|
Thread model: posix
|
||||||
|
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2613189232' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||||
|
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2613189232 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
|
||||||
|
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Parsed CXX implicit link information from above output:
|
||||||
|
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
|
||||||
|
ignore line: [Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec2613189232/fast"]
|
||||||
|
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec2613189232.dir/build.make CMakeFiles/cmTryCompileExec2613189232.dir/build]
|
||||||
|
ignore line: [make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp']
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1]
|
||||||
|
ignore line: [Building CXX object CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o]
|
||||||
|
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp]
|
||||||
|
ignore line: [Linking CXX executable cmTryCompileExec2613189232]
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2613189232.dir/link.txt --verbose=1]
|
||||||
|
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec2613189232 -rdynamic ]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-linux-gnu]
|
||||||
|
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2613189232' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2613189232 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
|
||||||
|
arg [--sysroot=/] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--no-add-needed] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-export-dynamic] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-zrelro] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTryCompileExec2613189232] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
|
||||||
|
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
|
||||||
|
arg [CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||||
|
arg [-lstdc++] ==> lib [stdc++]
|
||||||
|
arg [-lm] ==> lib [m]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||||
|
remove lib [gcc_s]
|
||||||
|
remove lib [gcc]
|
||||||
|
remove lib [gcc_s]
|
||||||
|
remove lib [gcc]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [stdc++;m;c]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||||
|
|
||||||
|
|
||||||
|
The system is: Linux - 3.5.0-28-generic - x86_64
|
||||||
|
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||||
|
Compiler: /usr/bin/gcc
|
||||||
|
Build flags:
|
||||||
|
Id flags:
|
||||||
|
|
||||||
|
The output was:
|
||||||
|
0
|
||||||
|
|
||||||
|
|
||||||
|
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
||||||
|
|
||||||
|
The C compiler identification is GNU, found in "/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CompilerIdC/a.out"
|
||||||
|
|
||||||
|
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||||
|
Compiler: /usr/bin/c++
|
||||||
|
Build flags:
|
||||||
|
Id flags:
|
||||||
|
|
||||||
|
The output was:
|
||||||
|
0
|
||||||
|
|
||||||
|
|
||||||
|
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
|
||||||
|
|
||||||
|
The CXX compiler identification is GNU, found in "/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CompilerIdCXX/a.out"
|
||||||
|
|
||||||
|
Determining if the C compiler works passed with the following output:
|
||||||
|
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec783074562/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec783074562.dir/build.make CMakeFiles/cmTryCompileExec783074562.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building C object CMakeFiles/cmTryCompileExec783074562.dir/testCCompiler.c.o
|
||||||
|
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec783074562.dir/testCCompiler.c.o -c /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||||
|
Linking C executable cmTryCompileExec783074562
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec783074562.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/gcc CMakeFiles/cmTryCompileExec783074562.dir/testCCompiler.c.o -o cmTryCompileExec783074562 -rdynamic
|
||||||
|
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Detecting C compiler ABI info compiled with the following output:
|
||||||
|
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec2061131830/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec2061131830.dir/build.make CMakeFiles/cmTryCompileExec2061131830.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building C object CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o
|
||||||
|
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c
|
||||||
|
Linking C executable cmTryCompileExec2061131830
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2061131830.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/gcc -v CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2061131830 -rdynamic
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/gcc
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
|
||||||
|
Target: x86_64-linux-gnu
|
||||||
|
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||||
|
Thread model: posix
|
||||||
|
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2061131830' '-rdynamic' '-mtune=generic' '-march=x86-64'
|
||||||
|
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2061131830 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
|
||||||
|
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Parsed C implicit link information from above output:
|
||||||
|
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
|
||||||
|
ignore line: [Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec2061131830/fast"]
|
||||||
|
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec2061131830.dir/build.make CMakeFiles/cmTryCompileExec2061131830.dir/build]
|
||||||
|
ignore line: [make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp']
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1]
|
||||||
|
ignore line: [Building C object CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o]
|
||||||
|
ignore line: [/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c]
|
||||||
|
ignore line: [Linking C executable cmTryCompileExec2061131830]
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2061131830.dir/link.txt --verbose=1]
|
||||||
|
ignore line: [/usr/bin/gcc -v CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2061131830 -rdynamic ]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/gcc]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-linux-gnu]
|
||||||
|
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2061131830' '-rdynamic' '-mtune=generic' '-march=x86-64']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2061131830 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
|
||||||
|
arg [--sysroot=/] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--no-add-needed] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-export-dynamic] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-zrelro] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTryCompileExec2061131830] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
|
||||||
|
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
|
||||||
|
arg [CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--no-as-needed] ==> ignore
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [--no-as-needed] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||||
|
remove lib [gcc]
|
||||||
|
remove lib [gcc_s]
|
||||||
|
remove lib [gcc]
|
||||||
|
remove lib [gcc_s]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [c]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||||
|
|
||||||
|
|
||||||
|
Determining if the CXX compiler works passed with the following output:
|
||||||
|
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec2243505706/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec2243505706.dir/build.make CMakeFiles/cmTryCompileExec2243505706.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building CXX object CMakeFiles/cmTryCompileExec2243505706.dir/testCXXCompiler.cxx.o
|
||||||
|
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec2243505706.dir/testCXXCompiler.cxx.o -c /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||||
|
Linking CXX executable cmTryCompileExec2243505706
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2243505706.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/c++ CMakeFiles/cmTryCompileExec2243505706.dir/testCXXCompiler.cxx.o -o cmTryCompileExec2243505706 -rdynamic
|
||||||
|
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Detecting CXX compiler ABI info compiled with the following output:
|
||||||
|
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
|
||||||
|
|
||||||
|
Run Build Command:/usr/bin/make "cmTryCompileExec1843686029/fast"
|
||||||
|
/usr/bin/make -f CMakeFiles/cmTryCompileExec1843686029.dir/build.make CMakeFiles/cmTryCompileExec1843686029.dir/build
|
||||||
|
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
|
||||||
|
Building CXX object CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o
|
||||||
|
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp
|
||||||
|
Linking CXX executable cmTryCompileExec1843686029
|
||||||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1843686029.dir/link.txt --verbose=1
|
||||||
|
/usr/bin/c++ -v CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec1843686029 -rdynamic
|
||||||
|
Using built-in specs.
|
||||||
|
COLLECT_GCC=/usr/bin/c++
|
||||||
|
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
|
||||||
|
Target: x86_64-linux-gnu
|
||||||
|
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||||
|
Thread model: posix
|
||||||
|
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
|
||||||
|
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||||
|
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
|
||||||
|
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1843686029' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||||
|
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec1843686029 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
|
||||||
|
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
|
||||||
|
|
||||||
|
|
||||||
|
Parsed CXX implicit link information from above output:
|
||||||
|
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
|
||||||
|
ignore line: [Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp]
|
||||||
|
ignore line: []
|
||||||
|
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec1843686029/fast"]
|
||||||
|
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec1843686029.dir/build.make CMakeFiles/cmTryCompileExec1843686029.dir/build]
|
||||||
|
ignore line: [make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp']
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1]
|
||||||
|
ignore line: [Building CXX object CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o]
|
||||||
|
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp]
|
||||||
|
ignore line: [Linking CXX executable cmTryCompileExec1843686029]
|
||||||
|
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1843686029.dir/link.txt --verbose=1]
|
||||||
|
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec1843686029 -rdynamic ]
|
||||||
|
ignore line: [Using built-in specs.]
|
||||||
|
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||||
|
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
|
||||||
|
ignore line: [Target: x86_64-linux-gnu]
|
||||||
|
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||||
|
ignore line: [Thread model: posix]
|
||||||
|
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
|
||||||
|
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||||
|
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
|
||||||
|
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1843686029' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||||
|
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec1843686029 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
|
||||||
|
arg [--sysroot=/] ==> ignore
|
||||||
|
arg [--build-id] ==> ignore
|
||||||
|
arg [--no-add-needed] ==> ignore
|
||||||
|
arg [--as-needed] ==> ignore
|
||||||
|
arg [--eh-frame-hdr] ==> ignore
|
||||||
|
arg [-m] ==> ignore
|
||||||
|
arg [elf_x86_64] ==> ignore
|
||||||
|
arg [--hash-style=gnu] ==> ignore
|
||||||
|
arg [-export-dynamic] ==> ignore
|
||||||
|
arg [-dynamic-linker] ==> ignore
|
||||||
|
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||||
|
arg [-zrelro] ==> ignore
|
||||||
|
arg [-o] ==> ignore
|
||||||
|
arg [cmTryCompileExec1843686029] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
|
||||||
|
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||||
|
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||||
|
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||||
|
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
|
||||||
|
arg [CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||||
|
arg [-lstdc++] ==> lib [stdc++]
|
||||||
|
arg [-lm] ==> lib [m]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [-lc] ==> lib [c]
|
||||||
|
arg [-lgcc_s] ==> lib [gcc_s]
|
||||||
|
arg [-lgcc] ==> lib [gcc]
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
|
||||||
|
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||||
|
remove lib [gcc_s]
|
||||||
|
remove lib [gcc]
|
||||||
|
remove lib [gcc_s]
|
||||||
|
remove lib [gcc]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/lib/../lib] ==> [/lib]
|
||||||
|
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||||
|
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||||
|
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
|
||||||
|
implicit libs: [stdc++;m;c]
|
||||||
|
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||||
|
|
||||||
|
|
||||||
15
replication_listener/examples/CMakeFiles/CMakeSystem.cmake
Normal file
15
replication_listener/examples/CMakeFiles/CMakeSystem.cmake
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
|
||||||
|
SET(CMAKE_SYSTEM "Linux-3.5.0-28-generic")
|
||||||
|
SET(CMAKE_SYSTEM_NAME "Linux")
|
||||||
|
SET(CMAKE_SYSTEM_VERSION "3.5.0-28-generic")
|
||||||
|
SET(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
SET(CMAKE_HOST_SYSTEM "Linux-3.5.0-28-generic")
|
||||||
|
SET(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||||
|
SET(CMAKE_HOST_SYSTEM_VERSION "3.5.0-28-generic")
|
||||||
|
SET(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
SET(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
|
||||||
|
SET(CMAKE_SYSTEM_LOADED 1)
|
||||||
@ -0,0 +1,361 @@
|
|||||||
|
#ifdef __cplusplus
|
||||||
|
# error "A C++ compiler has been selected for C."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||||
|
|
||||||
|
#if defined(__18CXX)
|
||||||
|
# define ID_VOID_MAIN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
/* __INTEL_COMPILER = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||||
|
# define COMPILER_ID "Embarcadero"
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define COMPILER_ID "Borland"
|
||||||
|
/* __BORLANDC__ = 0xVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
|
||||||
|
|
||||||
|
#elif defined(__SUNPRO_C)
|
||||||
|
# define COMPILER_ID "SunPro"
|
||||||
|
# if __SUNPRO_C >= 0x5100
|
||||||
|
/* __SUNPRO_C = 0xVRRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# else
|
||||||
|
/* __SUNPRO_C = 0xVRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__HP_cc)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
/* __HP_cc = VVRRPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||||
|
|
||||||
|
#elif defined(__DECC)
|
||||||
|
# define COMPILER_ID "Compaq"
|
||||||
|
|
||||||
|
#elif defined(__IBMC__)
|
||||||
|
# if defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
# else
|
||||||
|
# if __IBMC__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
# else
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
# endif
|
||||||
|
/* __IBMC__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PGI)
|
||||||
|
# define COMPILER_ID "PGI"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||||
|
# if defined(__PGIC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PATHSCALE__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI_DSP"
|
||||||
|
|
||||||
|
#elif defined(__TINYC__)
|
||||||
|
# define COMPILER_ID "TinyCC"
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define COMPILER_ID "MSVC"
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# if defined(_MSC_FULL_VER)
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||||
|
# else
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_BUILD)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||||
|
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
|
||||||
|
SHARC (21000) DSPs */
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
|
||||||
|
/* IAR Systems compiler for embedded systems.
|
||||||
|
http://www.iar.com
|
||||||
|
Not supported yet by CMake
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__)
|
||||||
|
# define COMPILER_ID "IAR" */
|
||||||
|
|
||||||
|
/* sdcc, the small devices C compiler for embedded systems,
|
||||||
|
http://sdcc.sourceforge.net */
|
||||||
|
#elif defined(SDCC)
|
||||||
|
# define COMPILER_ID "SDCC"
|
||||||
|
|
||||||
|
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
# if defined(_SGI_COMPILER_VERSION)
|
||||||
|
/* _SGI_COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||||
|
# else
|
||||||
|
/* _COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* This compiler is either not known or is too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__sgi)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpua)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
|
||||||
|
#else /* unknown compiler */
|
||||||
|
# define COMPILER_ID ""
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||||
|
|
||||||
|
/* Identify known platforms by name. */
|
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define PLATFORM_ID "Cygwin"
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define PLATFORM_ID "MinGW"
|
||||||
|
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define PLATFORM_ID "Darwin"
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||||
|
# define PLATFORM_ID "Windows"
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||||
|
# define PLATFORM_ID "FreeBSD"
|
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||||
|
# define PLATFORM_ID "NetBSD"
|
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||||
|
# define PLATFORM_ID "OpenBSD"
|
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun)
|
||||||
|
# define PLATFORM_ID "SunOS"
|
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||||
|
# define PLATFORM_ID "AIX"
|
||||||
|
|
||||||
|
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||||
|
# define PLATFORM_ID "IRIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
/* Haiku also defines __BEOS__ so we must
|
||||||
|
put it prior to the check for __BEOS__
|
||||||
|
*/
|
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||||
|
# define PLATFORM_ID "BeOS"
|
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||||
|
# define PLATFORM_ID "QNX"
|
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||||
|
# define PLATFORM_ID "Tru64"
|
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__)
|
||||||
|
# define PLATFORM_ID "RISCos"
|
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||||
|
# define PLATFORM_ID "SINIX"
|
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__)
|
||||||
|
# define PLATFORM_ID "UNIX_SV"
|
||||||
|
|
||||||
|
#elif defined(__bsdos__)
|
||||||
|
# define PLATFORM_ID "BSDOS"
|
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS)
|
||||||
|
# define PLATFORM_ID "MP-RAS"
|
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__)
|
||||||
|
# define PLATFORM_ID "OSF1"
|
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||||
|
# define PLATFORM_ID "SCO_SV"
|
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||||
|
# define PLATFORM_ID "ULTRIX"
|
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||||
|
# define PLATFORM_ID "Xenix"
|
||||||
|
|
||||||
|
#else /* unknown platform */
|
||||||
|
# define PLATFORM_ID ""
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because
|
||||||
|
the compilers do not have flags that can change the architecture,
|
||||||
|
but rather depend on which compiler is being used
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# if defined(_M_IA64)
|
||||||
|
# define ARCHITECTURE_ID "IA64"
|
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */
|
||||||
|
#define DEC(n) \
|
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10))
|
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */
|
||||||
|
#define HEX(n) \
|
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF))
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
char const info_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||||
|
COMPILER_VERSION_MAJOR,
|
||||||
|
# ifdef COMPILER_VERSION_MINOR
|
||||||
|
'.', COMPILER_VERSION_MINOR,
|
||||||
|
# ifdef COMPILER_VERSION_PATCH
|
||||||
|
'.', COMPILER_VERSION_PATCH,
|
||||||
|
# ifdef COMPILER_VERSION_TWEAK
|
||||||
|
'.', COMPILER_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifdef ID_VOID_MAIN
|
||||||
|
void main() {}
|
||||||
|
#else
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
require += info_arch[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
BIN
replication_listener/examples/CMakeFiles/CompilerIdC/a.out
Executable file
BIN
replication_listener/examples/CMakeFiles/CompilerIdC/a.out
Executable file
Binary file not shown.
@ -0,0 +1,344 @@
|
|||||||
|
/* This source file must have a .cpp extension so that all C++ compilers
|
||||||
|
recognize the extension without flags. Borland does not know .cxx for
|
||||||
|
example. */
|
||||||
|
#ifndef __cplusplus
|
||||||
|
# error "A C compiler has been selected for C++."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||||
|
|
||||||
|
#if defined(__COMO__)
|
||||||
|
# define COMPILER_ID "Comeau"
|
||||||
|
|
||||||
|
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||||
|
# define COMPILER_ID "Intel"
|
||||||
|
/* __INTEL_COMPILER = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__clang__)
|
||||||
|
# define COMPILER_ID "Clang"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||||
|
# define COMPILER_ID "Embarcadero"
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||||
|
|
||||||
|
#elif defined(__BORLANDC__)
|
||||||
|
# define COMPILER_ID "Borland"
|
||||||
|
/* __BORLANDC__ = 0xVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||||
|
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
# define COMPILER_ID "Watcom"
|
||||||
|
/* __WATCOMC__ = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
|
||||||
|
|
||||||
|
#elif defined(__SUNPRO_CC)
|
||||||
|
# define COMPILER_ID "SunPro"
|
||||||
|
# if __SUNPRO_CC >= 0x5100
|
||||||
|
/* __SUNPRO_CC = 0xVRRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||||
|
# else
|
||||||
|
/* __SUNPRO_CC = 0xVRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__HP_aCC)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
/* __HP_aCC = VVRRPP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
||||||
|
|
||||||
|
#elif defined(__DECCXX)
|
||||||
|
# define COMPILER_ID "Compaq"
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__)
|
||||||
|
# if defined(__COMPILER_VER__)
|
||||||
|
# define COMPILER_ID "zOS"
|
||||||
|
# else
|
||||||
|
# if __IBMCPP__ >= 800
|
||||||
|
# define COMPILER_ID "XL"
|
||||||
|
# else
|
||||||
|
# define COMPILER_ID "VisualAge"
|
||||||
|
# endif
|
||||||
|
/* __IBMCPP__ = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PGI)
|
||||||
|
# define COMPILER_ID "PGI"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||||
|
# if defined(__PGIC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__PATHSCALE__)
|
||||||
|
# define COMPILER_ID "PathScale"
|
||||||
|
|
||||||
|
#elif defined(_CRAYC)
|
||||||
|
# define COMPILER_ID "Cray"
|
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__)
|
||||||
|
# define COMPILER_ID "TI_DSP"
|
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__)
|
||||||
|
# define COMPILER_ID "SCO"
|
||||||
|
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
# define COMPILER_ID "GNU"
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||||
|
# if defined(__GNUC_PATCHLEVEL__)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
# define COMPILER_ID "MSVC"
|
||||||
|
/* _MSC_VER = VVRR */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||||
|
# if defined(_MSC_FULL_VER)
|
||||||
|
# if _MSC_VER >= 1400
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||||
|
# else
|
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined(_MSC_BUILD)
|
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||||
|
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
|
||||||
|
SHARC (21000) DSPs */
|
||||||
|
# define COMPILER_ID "ADSP"
|
||||||
|
|
||||||
|
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
# if defined(_SGI_COMPILER_VERSION)
|
||||||
|
/* _SGI_COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||||
|
# else
|
||||||
|
/* _COMPILER_VERSION = VRP */
|
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||||
|
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||||
|
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
/* This compiler is either not known or is too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that
|
||||||
|
it is the native compiler. */
|
||||||
|
#elif defined(__sgi)
|
||||||
|
# define COMPILER_ID "MIPSpro"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpua)
|
||||||
|
# define COMPILER_ID "HP"
|
||||||
|
|
||||||
|
#else /* unknown compiler */
|
||||||
|
# define COMPILER_ID ""
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||||
|
|
||||||
|
/* Identify known platforms by name. */
|
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||||
|
# define PLATFORM_ID "Linux"
|
||||||
|
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define PLATFORM_ID "Cygwin"
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
# define PLATFORM_ID "MinGW"
|
||||||
|
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
# define PLATFORM_ID "Darwin"
|
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||||
|
# define PLATFORM_ID "Windows"
|
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||||
|
# define PLATFORM_ID "FreeBSD"
|
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||||
|
# define PLATFORM_ID "NetBSD"
|
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||||
|
# define PLATFORM_ID "OpenBSD"
|
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun)
|
||||||
|
# define PLATFORM_ID "SunOS"
|
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||||
|
# define PLATFORM_ID "AIX"
|
||||||
|
|
||||||
|
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||||
|
# define PLATFORM_ID "IRIX"
|
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__)
|
||||||
|
# define PLATFORM_ID "HP-UX"
|
||||||
|
|
||||||
|
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
|
||||||
|
# define PLATFORM_ID "Haiku"
|
||||||
|
/* Haiku also defines __BEOS__ so we must
|
||||||
|
put it prior to the check for __BEOS__
|
||||||
|
*/
|
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||||
|
# define PLATFORM_ID "BeOS"
|
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||||
|
# define PLATFORM_ID "QNX"
|
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||||
|
# define PLATFORM_ID "Tru64"
|
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__)
|
||||||
|
# define PLATFORM_ID "RISCos"
|
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||||
|
# define PLATFORM_ID "SINIX"
|
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__)
|
||||||
|
# define PLATFORM_ID "UNIX_SV"
|
||||||
|
|
||||||
|
#elif defined(__bsdos__)
|
||||||
|
# define PLATFORM_ID "BSDOS"
|
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS)
|
||||||
|
# define PLATFORM_ID "MP-RAS"
|
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__)
|
||||||
|
# define PLATFORM_ID "OSF1"
|
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||||
|
# define PLATFORM_ID "SCO_SV"
|
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||||
|
# define PLATFORM_ID "ULTRIX"
|
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||||
|
# define PLATFORM_ID "Xenix"
|
||||||
|
|
||||||
|
#else /* unknown platform */
|
||||||
|
# define PLATFORM_ID ""
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because
|
||||||
|
the compilers do not have flags that can change the architecture,
|
||||||
|
but rather depend on which compiler is being used
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# if defined(_M_IA64)
|
||||||
|
# define ARCHITECTURE_ID "IA64"
|
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||||
|
# define ARCHITECTURE_ID "x64"
|
||||||
|
|
||||||
|
# elif defined(_M_IX86)
|
||||||
|
# define ARCHITECTURE_ID "X86"
|
||||||
|
|
||||||
|
# elif defined(_M_ARM)
|
||||||
|
# define ARCHITECTURE_ID "ARM"
|
||||||
|
|
||||||
|
# else /* unknown architecture */
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
# endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
# define ARCHITECTURE_ID ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */
|
||||||
|
#define DEC(n) \
|
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10))
|
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */
|
||||||
|
#define HEX(n) \
|
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF))
|
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
char const info_version[] = {
|
||||||
|
'I', 'N', 'F', 'O', ':',
|
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||||
|
COMPILER_VERSION_MAJOR,
|
||||||
|
# ifdef COMPILER_VERSION_MINOR
|
||||||
|
'.', COMPILER_VERSION_MINOR,
|
||||||
|
# ifdef COMPILER_VERSION_PATCH
|
||||||
|
'.', COMPILER_VERSION_PATCH,
|
||||||
|
# ifdef COMPILER_VERSION_TWEAK
|
||||||
|
'.', COMPILER_VERSION_TWEAK,
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
']','\0'};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array
|
||||||
|
because some compilers will just produce instructions to fill the
|
||||||
|
array rather than assigning a pointer to a static array. */
|
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
int main(int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int require = 0;
|
||||||
|
require += info_compiler[argc];
|
||||||
|
require += info_platform[argc];
|
||||||
|
#ifdef COMPILER_VERSION_MAJOR
|
||||||
|
require += info_version[argc];
|
||||||
|
#endif
|
||||||
|
(void)argv;
|
||||||
|
return require;
|
||||||
|
}
|
||||||
BIN
replication_listener/examples/CMakeFiles/CompilerIdCXX/a.out
Executable file
BIN
replication_listener/examples/CMakeFiles/CompilerIdCXX/a.out
Executable file
Binary file not shown.
65
replication_listener/examples/CMakeFiles/Makefile.cmake
Normal file
65
replication_listener/examples/CMakeFiles/Makefile.cmake
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# The generator used is:
|
||||||
|
SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||||
|
|
||||||
|
# The top level Makefile was generated from the following files:
|
||||||
|
SET(CMAKE_MAKEFILE_DEPENDS
|
||||||
|
"CMakeCache.txt"
|
||||||
|
"CMakeFiles/CMakeCCompiler.cmake"
|
||||||
|
"CMakeFiles/CMakeCXXCompiler.cmake"
|
||||||
|
"CMakeFiles/CMakeSystem.cmake"
|
||||||
|
"CMakeLists.txt"
|
||||||
|
"mysql2lucene/CMakeLists.txt"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCCompiler.cmake.in"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCInformation.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCXXCompiler.cmake.in"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCXXInformation.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeClDeps.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeFindBinUtils.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeGenericSystem.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeSystem.cmake.in"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeTestCompilerCommon.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/CMakeUnixFindMake.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Compiler/GNU-C.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Compiler/GNU.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-C.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/Linux.cmake"
|
||||||
|
"/usr/share/cmake-2.8/Modules/Platform/UnixPaths.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# The corresponding makefile is:
|
||||||
|
SET(CMAKE_MAKEFILE_OUTPUTS
|
||||||
|
"Makefile"
|
||||||
|
"CMakeFiles/cmake.check_cache"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Byproducts of CMake generate step:
|
||||||
|
SET(CMAKE_MAKEFILE_PRODUCTS
|
||||||
|
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||||
|
"mysql2lucene/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Dependency information for all targets:
|
||||||
|
SET(CMAKE_DEPEND_INFO_FILES
|
||||||
|
"CMakeFiles/basic-1.dir/DependInfo.cmake"
|
||||||
|
"CMakeFiles/basic-2.dir/DependInfo.cmake"
|
||||||
|
"CMakeFiles/jan_test.dir/DependInfo.cmake"
|
||||||
|
"mysql2lucene/CMakeFiles/mysql2lucene.dir/DependInfo.cmake"
|
||||||
|
)
|
||||||
215
replication_listener/examples/CMakeFiles/Makefile2
Normal file
215
replication_listener/examples/CMakeFiles/Makefile2
Normal file
@ -0,0 +1,215 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
# The main recursive all target
|
||||||
|
all:
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main recursive preinstall target
|
||||||
|
preinstall:
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/Downloads/mysql-replication-listener-master/examples
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/Downloads/mysql-replication-listener-master/examples
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target CMakeFiles/basic-1.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
CMakeFiles/basic-1.dir/all:
|
||||||
|
$(MAKE) -f CMakeFiles/basic-1.dir/build.make CMakeFiles/basic-1.dir/depend
|
||||||
|
$(MAKE) -f CMakeFiles/basic-1.dir/build.make CMakeFiles/basic-1.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 1
|
||||||
|
@echo "Built target basic-1"
|
||||||
|
.PHONY : CMakeFiles/basic-1.dir/all
|
||||||
|
|
||||||
|
# Include target in all.
|
||||||
|
all: CMakeFiles/basic-1.dir/all
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
CMakeFiles/basic-1.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 1
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/basic-1.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 0
|
||||||
|
.PHONY : CMakeFiles/basic-1.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
basic-1: CMakeFiles/basic-1.dir/rule
|
||||||
|
.PHONY : basic-1
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
CMakeFiles/basic-1.dir/clean:
|
||||||
|
$(MAKE) -f CMakeFiles/basic-1.dir/build.make CMakeFiles/basic-1.dir/clean
|
||||||
|
.PHONY : CMakeFiles/basic-1.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: CMakeFiles/basic-1.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target CMakeFiles/basic-2.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
CMakeFiles/basic-2.dir/all:
|
||||||
|
$(MAKE) -f CMakeFiles/basic-2.dir/build.make CMakeFiles/basic-2.dir/depend
|
||||||
|
$(MAKE) -f CMakeFiles/basic-2.dir/build.make CMakeFiles/basic-2.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 2
|
||||||
|
@echo "Built target basic-2"
|
||||||
|
.PHONY : CMakeFiles/basic-2.dir/all
|
||||||
|
|
||||||
|
# Include target in all.
|
||||||
|
all: CMakeFiles/basic-2.dir/all
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
CMakeFiles/basic-2.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 1
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/basic-2.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 0
|
||||||
|
.PHONY : CMakeFiles/basic-2.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
basic-2: CMakeFiles/basic-2.dir/rule
|
||||||
|
.PHONY : basic-2
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
CMakeFiles/basic-2.dir/clean:
|
||||||
|
$(MAKE) -f CMakeFiles/basic-2.dir/build.make CMakeFiles/basic-2.dir/clean
|
||||||
|
.PHONY : CMakeFiles/basic-2.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: CMakeFiles/basic-2.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target CMakeFiles/jan_test.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
CMakeFiles/jan_test.dir/all:
|
||||||
|
$(MAKE) -f CMakeFiles/jan_test.dir/build.make CMakeFiles/jan_test.dir/depend
|
||||||
|
$(MAKE) -f CMakeFiles/jan_test.dir/build.make CMakeFiles/jan_test.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 3
|
||||||
|
@echo "Built target jan_test"
|
||||||
|
.PHONY : CMakeFiles/jan_test.dir/all
|
||||||
|
|
||||||
|
# Include target in all.
|
||||||
|
all: CMakeFiles/jan_test.dir/all
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
CMakeFiles/jan_test.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 1
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/jan_test.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 0
|
||||||
|
.PHONY : CMakeFiles/jan_test.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
jan_test: CMakeFiles/jan_test.dir/rule
|
||||||
|
.PHONY : jan_test
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
CMakeFiles/jan_test.dir/clean:
|
||||||
|
$(MAKE) -f CMakeFiles/jan_test.dir/build.make CMakeFiles/jan_test.dir/clean
|
||||||
|
.PHONY : CMakeFiles/jan_test.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: CMakeFiles/jan_test.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Directory level rules for directory mysql2lucene
|
||||||
|
|
||||||
|
# Convenience name for "all" pass in the directory.
|
||||||
|
mysql2lucene/all: mysql2lucene/CMakeFiles/mysql2lucene.dir/all
|
||||||
|
.PHONY : mysql2lucene/all
|
||||||
|
|
||||||
|
# Convenience name for "clean" pass in the directory.
|
||||||
|
mysql2lucene/clean: mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
|
||||||
|
.PHONY : mysql2lucene/clean
|
||||||
|
|
||||||
|
# Convenience name for "preinstall" pass in the directory.
|
||||||
|
mysql2lucene/preinstall:
|
||||||
|
.PHONY : mysql2lucene/preinstall
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Target rules for target mysql2lucene/CMakeFiles/mysql2lucene.dir
|
||||||
|
|
||||||
|
# All Build rule for target.
|
||||||
|
mysql2lucene/CMakeFiles/mysql2lucene.dir/all:
|
||||||
|
$(MAKE) -f mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make mysql2lucene/CMakeFiles/mysql2lucene.dir/depend
|
||||||
|
$(MAKE) -f mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make mysql2lucene/CMakeFiles/mysql2lucene.dir/build
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 4 5 6 7 8
|
||||||
|
@echo "Built target mysql2lucene"
|
||||||
|
.PHONY : mysql2lucene/CMakeFiles/mysql2lucene.dir/all
|
||||||
|
|
||||||
|
# Build rule for subdir invocation for target.
|
||||||
|
mysql2lucene/CMakeFiles/mysql2lucene.dir/rule: cmake_check_build_system
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 5
|
||||||
|
$(MAKE) -f CMakeFiles/Makefile2 mysql2lucene/CMakeFiles/mysql2lucene.dir/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 0
|
||||||
|
.PHONY : mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
mysql2lucene: mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
|
||||||
|
.PHONY : mysql2lucene
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
mysql2lucene/CMakeFiles/mysql2lucene.dir/clean:
|
||||||
|
$(MAKE) -f mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
|
||||||
|
.PHONY : mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
|
||||||
|
|
||||||
|
# clean rule for target.
|
||||||
|
clean: mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets to cleanup operation of make.
|
||||||
|
|
||||||
|
# Special rule to run CMake to check the build system integrity.
|
||||||
|
# No rule that depends on this can have commands that come from listfiles
|
||||||
|
# because they might be regenerated.
|
||||||
|
cmake_check_build_system:
|
||||||
|
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/basic-1.dir
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/basic-2.dir
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/jan_test.dir
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir
|
||||||
@ -0,0 +1,206 @@
|
|||||||
|
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||||
|
|
||||||
|
#IncludeRegexScan: ^.*$
|
||||||
|
|
||||||
|
#IncludeRegexComplain: ^$
|
||||||
|
|
||||||
|
#IncludeRegexTransform:
|
||||||
|
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/basic-1.cpp
|
||||||
|
binlog_api.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/binlog_api.h
|
||||||
|
|
||||||
|
include/access_method_factory.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
|
||||||
|
include/basic_content_handler.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
list
|
||||||
|
-
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
basic_content_handler.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
|
||||||
|
include/binlog_api.h
|
||||||
|
iosfwd
|
||||||
|
-
|
||||||
|
boost/iostreams/categories.hpp
|
||||||
|
-
|
||||||
|
boost/iostreams/positioning.hpp
|
||||||
|
-
|
||||||
|
boost/iostreams/concepts.hpp
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
cassert
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
tcp_driver.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
file_driver.h
|
||||||
|
include/file_driver.h
|
||||||
|
basic_content_handler.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
basic_transaction_parser.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
field_iterator.h
|
||||||
|
include/field_iterator.h
|
||||||
|
rowset.h
|
||||||
|
include/rowset.h
|
||||||
|
access_method_factory.h
|
||||||
|
include/access_method_factory.h
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/binlog_driver.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/binlog_event.h
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
|
||||||
|
include/bounded_buffer.h
|
||||||
|
boost/circular_buffer.hpp
|
||||||
|
-
|
||||||
|
boost/thread/mutex.hpp
|
||||||
|
-
|
||||||
|
boost/thread/condition.hpp
|
||||||
|
-
|
||||||
|
boost/thread/thread.hpp
|
||||||
|
-
|
||||||
|
boost/progress.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/field_iterator.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
row_of_fields.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
|
||||||
|
include/file_driver.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
fstream
|
||||||
|
-
|
||||||
|
sys/types.h
|
||||||
|
-
|
||||||
|
sys/stat.h
|
||||||
|
-
|
||||||
|
unistd.h
|
||||||
|
-
|
||||||
|
binlog_api.h
|
||||||
|
include/binlog_api.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
|
||||||
|
include/gtid.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/protocol.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
|
||||||
|
include/resultset_iterator.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
boost/iterator/iterator_facade.hpp
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
rowset.h
|
||||||
|
include/rowset.h
|
||||||
|
row_of_fields.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
|
||||||
|
include/row_of_fields.h
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
|
||||||
|
include/rowset.h
|
||||||
|
field_iterator.h
|
||||||
|
include/field_iterator.h
|
||||||
|
resultset_iterator.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/iterator.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/tcp_driver.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
bounded_buffer.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/thread.hpp
|
||||||
|
-
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/value.h
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
boost/any.hpp
|
||||||
|
-
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
|
||||||
@ -0,0 +1,22 @@
|
|||||||
|
# The set of languages for which implicit dependencies are needed:
|
||||||
|
SET(CMAKE_DEPENDS_LANGUAGES
|
||||||
|
"CXX"
|
||||||
|
)
|
||||||
|
# The set of files for implicit dependencies of each language:
|
||||||
|
SET(CMAKE_DEPENDS_CHECK_CXX
|
||||||
|
"/home/jan/skysql/skygateway/replication_listener/examples/basic-1.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-1.dir/basic-1.cpp.o"
|
||||||
|
)
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID "GNU")
|
||||||
|
|
||||||
|
# Targets to which this target links.
|
||||||
|
SET(CMAKE_TARGET_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# The include file search paths:
|
||||||
|
SET(CMAKE_C_TARGET_INCLUDE_PATH
|
||||||
|
"include"
|
||||||
|
"/include"
|
||||||
|
)
|
||||||
|
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
102
replication_listener/examples/CMakeFiles/basic-1.dir/build.make
Normal file
102
replication_listener/examples/CMakeFiles/basic-1.dir/build.make
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# Include any dependencies generated for this target.
|
||||||
|
include examples/CMakeFiles/basic-1.dir/depend.make
|
||||||
|
|
||||||
|
# Include the progress variables for this target.
|
||||||
|
include examples/CMakeFiles/basic-1.dir/progress.make
|
||||||
|
|
||||||
|
# Include the compile flags for this target's objects.
|
||||||
|
include examples/CMakeFiles/basic-1.dir/flags.make
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: examples/CMakeFiles/basic-1.dir/flags.make
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: examples/basic-1.cpp
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_1)
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/CMakeFiles/basic-1.dir/basic-1.cpp.o"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/basic-1.dir/basic-1.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/basic-1.cpp
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/basic-1.dir/basic-1.cpp.i"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/basic-1.cpp > CMakeFiles/basic-1.dir/basic-1.cpp.i
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/basic-1.dir/basic-1.cpp.s"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/basic-1.cpp -o CMakeFiles/basic-1.dir/basic-1.cpp.s
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.requires:
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.requires
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.provides: examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.requires
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.provides.build
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.provides
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.provides.build: examples/CMakeFiles/basic-1.dir/basic-1.cpp.o
|
||||||
|
|
||||||
|
# Object files for target basic-1
|
||||||
|
basic__1_OBJECTS = \
|
||||||
|
"CMakeFiles/basic-1.dir/basic-1.cpp.o"
|
||||||
|
|
||||||
|
# External object files for target basic-1
|
||||||
|
basic__1_EXTERNAL_OBJECTS =
|
||||||
|
|
||||||
|
examples/basic-1: examples/CMakeFiles/basic-1.dir/basic-1.cpp.o
|
||||||
|
examples/basic-1: examples/CMakeFiles/basic-1.dir/build.make
|
||||||
|
examples/basic-1: examples/CMakeFiles/basic-1.dir/link.txt
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable basic-1"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/basic-1.dir/link.txt --verbose=$(VERBOSE)
|
||||||
|
|
||||||
|
# Rule to build all files generated by this target.
|
||||||
|
examples/CMakeFiles/basic-1.dir/build: examples/basic-1
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/build
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/requires: examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.requires
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/requires
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/clean:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -P CMakeFiles/basic-1.dir/cmake_clean.cmake
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/clean
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/depend:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-1.dir/DependInfo.cmake --color=$(COLOR)
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/depend
|
||||||
|
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
FILE(REMOVE_RECURSE
|
||||||
|
"CMakeFiles/basic-1.dir/basic-1.cpp.o"
|
||||||
|
"basic-1.pdb"
|
||||||
|
"basic-1"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Per-language clean rules from dependency scanning.
|
||||||
|
FOREACH(lang CXX)
|
||||||
|
INCLUDE(CMakeFiles/basic-1.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||||
|
ENDFOREACH(lang)
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/basic-1.cpp
|
||||||
|
include/access_method_factory.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
include/binlog_api.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
include/binlog_event.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
include/field_iterator.h
|
||||||
|
include/file_driver.h
|
||||||
|
include/gtid.h
|
||||||
|
include/protocol.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
include/rowset.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
include/value.h
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: examples/basic-1.cpp
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/access_method_factory.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/basic_content_handler.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/basic_transaction_parser.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/binlog_api.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/binlog_driver.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/binlog_event.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/bounded_buffer.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/field_iterator.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/file_driver.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/gtid.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/protocol.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/resultset_iterator.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/row_of_fields.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/rowset.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/tcp_driver.h
|
||||||
|
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/value.h
|
||||||
|
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# compile CXX with /usr/bin/c++
|
||||||
|
CXX_FLAGS = -I/home/jan/skysql/skygateway/replication_listener/include -I/include
|
||||||
|
|
||||||
|
CXX_DEFINES =
|
||||||
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
/usr/bin/c++ CMakeFiles/basic-1.dir/basic-1.cpp.o -o basic-1 -rdynamic -L/home/jan/skysql/skygateway/replication_listener/lib -lboost_system -lreplication -Wl,-rpath,/home/jan/skysql/skygateway/replication_listener/lib
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
CMAKE_PROGRESS_1 = 1
|
||||||
|
|
||||||
@ -0,0 +1,212 @@
|
|||||||
|
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||||
|
|
||||||
|
#IncludeRegexScan: ^.*$
|
||||||
|
|
||||||
|
#IncludeRegexComplain: ^$
|
||||||
|
|
||||||
|
#IncludeRegexTransform:
|
||||||
|
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/basic-2.cpp
|
||||||
|
binlog_api.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/binlog_api.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
map
|
||||||
|
-
|
||||||
|
string
|
||||||
|
-
|
||||||
|
|
||||||
|
include/access_method_factory.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
|
||||||
|
include/basic_content_handler.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
list
|
||||||
|
-
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
basic_content_handler.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
|
||||||
|
include/binlog_api.h
|
||||||
|
iosfwd
|
||||||
|
-
|
||||||
|
boost/iostreams/categories.hpp
|
||||||
|
-
|
||||||
|
boost/iostreams/positioning.hpp
|
||||||
|
-
|
||||||
|
boost/iostreams/concepts.hpp
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
cassert
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
tcp_driver.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
file_driver.h
|
||||||
|
include/file_driver.h
|
||||||
|
basic_content_handler.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
basic_transaction_parser.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
field_iterator.h
|
||||||
|
include/field_iterator.h
|
||||||
|
rowset.h
|
||||||
|
include/rowset.h
|
||||||
|
access_method_factory.h
|
||||||
|
include/access_method_factory.h
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/binlog_driver.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/binlog_event.h
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
|
||||||
|
include/bounded_buffer.h
|
||||||
|
boost/circular_buffer.hpp
|
||||||
|
-
|
||||||
|
boost/thread/mutex.hpp
|
||||||
|
-
|
||||||
|
boost/thread/condition.hpp
|
||||||
|
-
|
||||||
|
boost/thread/thread.hpp
|
||||||
|
-
|
||||||
|
boost/progress.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/field_iterator.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
row_of_fields.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
|
||||||
|
include/file_driver.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
fstream
|
||||||
|
-
|
||||||
|
sys/types.h
|
||||||
|
-
|
||||||
|
sys/stat.h
|
||||||
|
-
|
||||||
|
unistd.h
|
||||||
|
-
|
||||||
|
binlog_api.h
|
||||||
|
include/binlog_api.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
|
||||||
|
include/gtid.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/protocol.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
|
||||||
|
include/resultset_iterator.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
boost/iterator/iterator_facade.hpp
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
rowset.h
|
||||||
|
include/rowset.h
|
||||||
|
row_of_fields.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
|
||||||
|
include/row_of_fields.h
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
|
||||||
|
include/rowset.h
|
||||||
|
field_iterator.h
|
||||||
|
include/field_iterator.h
|
||||||
|
resultset_iterator.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/iterator.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/tcp_driver.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
bounded_buffer.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/thread.hpp
|
||||||
|
-
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/value.h
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
boost/any.hpp
|
||||||
|
-
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
|
||||||
@ -0,0 +1,22 @@
|
|||||||
|
# The set of languages for which implicit dependencies are needed:
|
||||||
|
SET(CMAKE_DEPENDS_LANGUAGES
|
||||||
|
"CXX"
|
||||||
|
)
|
||||||
|
# The set of files for implicit dependencies of each language:
|
||||||
|
SET(CMAKE_DEPENDS_CHECK_CXX
|
||||||
|
"/home/jan/skysql/skygateway/replication_listener/examples/basic-2.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-2.dir/basic-2.cpp.o"
|
||||||
|
)
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID "GNU")
|
||||||
|
|
||||||
|
# Targets to which this target links.
|
||||||
|
SET(CMAKE_TARGET_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# The include file search paths:
|
||||||
|
SET(CMAKE_C_TARGET_INCLUDE_PATH
|
||||||
|
"include"
|
||||||
|
"/include"
|
||||||
|
)
|
||||||
|
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
102
replication_listener/examples/CMakeFiles/basic-2.dir/build.make
Normal file
102
replication_listener/examples/CMakeFiles/basic-2.dir/build.make
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# Include any dependencies generated for this target.
|
||||||
|
include examples/CMakeFiles/basic-2.dir/depend.make
|
||||||
|
|
||||||
|
# Include the progress variables for this target.
|
||||||
|
include examples/CMakeFiles/basic-2.dir/progress.make
|
||||||
|
|
||||||
|
# Include the compile flags for this target's objects.
|
||||||
|
include examples/CMakeFiles/basic-2.dir/flags.make
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: examples/CMakeFiles/basic-2.dir/flags.make
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: examples/basic-2.cpp
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_1)
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/CMakeFiles/basic-2.dir/basic-2.cpp.o"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/basic-2.dir/basic-2.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/basic-2.cpp
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/basic-2.dir/basic-2.cpp.i"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/basic-2.cpp > CMakeFiles/basic-2.dir/basic-2.cpp.i
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/basic-2.dir/basic-2.cpp.s"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/basic-2.cpp -o CMakeFiles/basic-2.dir/basic-2.cpp.s
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.requires:
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.requires
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.provides: examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.requires
|
||||||
|
$(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.provides.build
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.provides
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.provides.build: examples/CMakeFiles/basic-2.dir/basic-2.cpp.o
|
||||||
|
|
||||||
|
# Object files for target basic-2
|
||||||
|
basic__2_OBJECTS = \
|
||||||
|
"CMakeFiles/basic-2.dir/basic-2.cpp.o"
|
||||||
|
|
||||||
|
# External object files for target basic-2
|
||||||
|
basic__2_EXTERNAL_OBJECTS =
|
||||||
|
|
||||||
|
examples/basic-2: examples/CMakeFiles/basic-2.dir/basic-2.cpp.o
|
||||||
|
examples/basic-2: examples/CMakeFiles/basic-2.dir/build.make
|
||||||
|
examples/basic-2: examples/CMakeFiles/basic-2.dir/link.txt
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable basic-2"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/basic-2.dir/link.txt --verbose=$(VERBOSE)
|
||||||
|
|
||||||
|
# Rule to build all files generated by this target.
|
||||||
|
examples/CMakeFiles/basic-2.dir/build: examples/basic-2
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/build
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/requires: examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.requires
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/requires
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/clean:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -P CMakeFiles/basic-2.dir/cmake_clean.cmake
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/clean
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/depend:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-2.dir/DependInfo.cmake --color=$(COLOR)
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/depend
|
||||||
|
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
FILE(REMOVE_RECURSE
|
||||||
|
"CMakeFiles/basic-2.dir/basic-2.cpp.o"
|
||||||
|
"basic-2.pdb"
|
||||||
|
"basic-2"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Per-language clean rules from dependency scanning.
|
||||||
|
FOREACH(lang CXX)
|
||||||
|
INCLUDE(CMakeFiles/basic-2.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||||
|
ENDFOREACH(lang)
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/basic-2.cpp
|
||||||
|
include/access_method_factory.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
include/binlog_api.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
include/binlog_event.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
include/field_iterator.h
|
||||||
|
include/file_driver.h
|
||||||
|
include/gtid.h
|
||||||
|
include/protocol.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
include/rowset.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
include/value.h
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: examples/basic-2.cpp
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/access_method_factory.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/basic_content_handler.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/basic_transaction_parser.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/binlog_api.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/binlog_driver.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/binlog_event.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/bounded_buffer.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/field_iterator.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/file_driver.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/gtid.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/protocol.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/resultset_iterator.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/row_of_fields.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/rowset.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/tcp_driver.h
|
||||||
|
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/value.h
|
||||||
|
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# compile CXX with /usr/bin/c++
|
||||||
|
CXX_FLAGS = -I/home/jan/skysql/skygateway/replication_listener/include -I/include
|
||||||
|
|
||||||
|
CXX_DEFINES =
|
||||||
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
/usr/bin/c++ CMakeFiles/basic-2.dir/basic-2.cpp.o -o basic-2 -rdynamic -L/home/jan/skysql/skygateway/replication_listener/lib -lboost_system -lreplication -Wl,-rpath,/home/jan/skysql/skygateway/replication_listener/lib
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
CMAKE_PROGRESS_1 = 2
|
||||||
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||||
@ -0,0 +1,240 @@
|
|||||||
|
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||||
|
|
||||||
|
#IncludeRegexScan: ^.*$
|
||||||
|
|
||||||
|
#IncludeRegexComplain: ^$
|
||||||
|
|
||||||
|
#IncludeRegexTransform:
|
||||||
|
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/jan_test.cpp
|
||||||
|
binlog_api.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/binlog_api.h
|
||||||
|
my_pthread.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/my_pthread.h
|
||||||
|
listener_exception.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/listener_exception.h
|
||||||
|
table_replication_consistency.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/table_replication_consistency.h
|
||||||
|
getopt.h
|
||||||
|
-
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
iomanip
|
||||||
|
-
|
||||||
|
map
|
||||||
|
-
|
||||||
|
sstream
|
||||||
|
-
|
||||||
|
stdlib.h
|
||||||
|
-
|
||||||
|
errno.h
|
||||||
|
-
|
||||||
|
string.h
|
||||||
|
-
|
||||||
|
regex.h
|
||||||
|
-
|
||||||
|
algorithm
|
||||||
|
-
|
||||||
|
|
||||||
|
include/access_method_factory.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
|
||||||
|
include/basic_content_handler.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
list
|
||||||
|
-
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
basic_content_handler.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
|
||||||
|
include/binlog_api.h
|
||||||
|
iosfwd
|
||||||
|
-
|
||||||
|
boost/iostreams/categories.hpp
|
||||||
|
-
|
||||||
|
boost/iostreams/positioning.hpp
|
||||||
|
-
|
||||||
|
boost/iostreams/concepts.hpp
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
cassert
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
tcp_driver.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
file_driver.h
|
||||||
|
include/file_driver.h
|
||||||
|
basic_content_handler.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
basic_transaction_parser.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
field_iterator.h
|
||||||
|
include/field_iterator.h
|
||||||
|
rowset.h
|
||||||
|
include/rowset.h
|
||||||
|
access_method_factory.h
|
||||||
|
include/access_method_factory.h
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/binlog_driver.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/binlog_event.h
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
|
||||||
|
include/bounded_buffer.h
|
||||||
|
boost/circular_buffer.hpp
|
||||||
|
-
|
||||||
|
boost/thread/mutex.hpp
|
||||||
|
-
|
||||||
|
boost/thread/condition.hpp
|
||||||
|
-
|
||||||
|
boost/thread/thread.hpp
|
||||||
|
-
|
||||||
|
boost/progress.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/field_iterator.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
row_of_fields.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
|
||||||
|
include/file_driver.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
fstream
|
||||||
|
-
|
||||||
|
sys/types.h
|
||||||
|
-
|
||||||
|
sys/stat.h
|
||||||
|
-
|
||||||
|
unistd.h
|
||||||
|
-
|
||||||
|
binlog_api.h
|
||||||
|
include/binlog_api.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
|
||||||
|
include/gtid.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/listener_exception.h
|
||||||
|
sstream
|
||||||
|
-
|
||||||
|
boost/system/system_error.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/protocol.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
|
||||||
|
include/resultset_iterator.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
boost/iterator/iterator_facade.hpp
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
rowset.h
|
||||||
|
include/rowset.h
|
||||||
|
row_of_fields.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
|
||||||
|
include/row_of_fields.h
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
|
||||||
|
include/rowset.h
|
||||||
|
field_iterator.h
|
||||||
|
include/field_iterator.h
|
||||||
|
resultset_iterator.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/iterator.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/table_replication_consistency.h
|
||||||
|
|
||||||
|
include/tcp_driver.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
bounded_buffer.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/thread.hpp
|
||||||
|
-
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/value.h
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
boost/any.hpp
|
||||||
|
-
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
|
||||||
@ -0,0 +1,22 @@
|
|||||||
|
# The set of languages for which implicit dependencies are needed:
|
||||||
|
SET(CMAKE_DEPENDS_LANGUAGES
|
||||||
|
"CXX"
|
||||||
|
)
|
||||||
|
# The set of files for implicit dependencies of each language:
|
||||||
|
SET(CMAKE_DEPENDS_CHECK_CXX
|
||||||
|
"/home/jan/skysql/skygateway/replication_listener/examples/jan_test.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/jan_test.dir/jan_test.cpp.o"
|
||||||
|
)
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID "GNU")
|
||||||
|
|
||||||
|
# Targets to which this target links.
|
||||||
|
SET(CMAKE_TARGET_LINKED_INFO_FILES
|
||||||
|
)
|
||||||
|
|
||||||
|
# The include file search paths:
|
||||||
|
SET(CMAKE_C_TARGET_INCLUDE_PATH
|
||||||
|
"include"
|
||||||
|
"/include"
|
||||||
|
)
|
||||||
|
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
102
replication_listener/examples/CMakeFiles/jan_test.dir/build.make
Normal file
102
replication_listener/examples/CMakeFiles/jan_test.dir/build.make
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# Include any dependencies generated for this target.
|
||||||
|
include examples/CMakeFiles/jan_test.dir/depend.make
|
||||||
|
|
||||||
|
# Include the progress variables for this target.
|
||||||
|
include examples/CMakeFiles/jan_test.dir/progress.make
|
||||||
|
|
||||||
|
# Include the compile flags for this target's objects.
|
||||||
|
include examples/CMakeFiles/jan_test.dir/flags.make
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: examples/CMakeFiles/jan_test.dir/flags.make
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: examples/jan_test.cpp
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_1)
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/CMakeFiles/jan_test.dir/jan_test.cpp.o"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/jan_test.dir/jan_test.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/jan_test.cpp
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/jan_test.dir/jan_test.cpp.i"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/jan_test.cpp > CMakeFiles/jan_test.dir/jan_test.cpp.i
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/jan_test.dir/jan_test.cpp.s"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/jan_test.cpp -o CMakeFiles/jan_test.dir/jan_test.cpp.s
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.requires:
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.requires
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.provides: examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.requires
|
||||||
|
$(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.provides.build
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.provides
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.provides.build: examples/CMakeFiles/jan_test.dir/jan_test.cpp.o
|
||||||
|
|
||||||
|
# Object files for target jan_test
|
||||||
|
jan_test_OBJECTS = \
|
||||||
|
"CMakeFiles/jan_test.dir/jan_test.cpp.o"
|
||||||
|
|
||||||
|
# External object files for target jan_test
|
||||||
|
jan_test_EXTERNAL_OBJECTS =
|
||||||
|
|
||||||
|
examples/jan_test: examples/CMakeFiles/jan_test.dir/jan_test.cpp.o
|
||||||
|
examples/jan_test: examples/CMakeFiles/jan_test.dir/build.make
|
||||||
|
examples/jan_test: examples/CMakeFiles/jan_test.dir/link.txt
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable jan_test"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/jan_test.dir/link.txt --verbose=$(VERBOSE)
|
||||||
|
|
||||||
|
# Rule to build all files generated by this target.
|
||||||
|
examples/CMakeFiles/jan_test.dir/build: examples/jan_test
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/build
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/requires: examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.requires
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/requires
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/clean:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -P CMakeFiles/jan_test.dir/cmake_clean.cmake
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/clean
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/depend:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/jan_test.dir/DependInfo.cmake --color=$(COLOR)
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/depend
|
||||||
|
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
FILE(REMOVE_RECURSE
|
||||||
|
"CMakeFiles/jan_test.dir/jan_test.cpp.o"
|
||||||
|
"jan_test.pdb"
|
||||||
|
"jan_test"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Per-language clean rules from dependency scanning.
|
||||||
|
FOREACH(lang CXX)
|
||||||
|
INCLUDE(CMakeFiles/jan_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||||
|
ENDFOREACH(lang)
|
||||||
@ -0,0 +1,23 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/jan_test.cpp
|
||||||
|
include/access_method_factory.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
include/binlog_api.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
include/binlog_event.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
include/field_iterator.h
|
||||||
|
include/file_driver.h
|
||||||
|
include/gtid.h
|
||||||
|
include/listener_exception.h
|
||||||
|
include/protocol.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
include/rowset.h
|
||||||
|
include/table_replication_consistency.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
include/value.h
|
||||||
@ -0,0 +1,23 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: examples/jan_test.cpp
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/access_method_factory.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/basic_content_handler.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/basic_transaction_parser.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/binlog_api.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/binlog_driver.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/binlog_event.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/bounded_buffer.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/field_iterator.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/file_driver.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/gtid.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/listener_exception.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/protocol.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/resultset_iterator.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/row_of_fields.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/rowset.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/table_replication_consistency.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/tcp_driver.h
|
||||||
|
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/value.h
|
||||||
|
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# compile CXX with /usr/bin/c++
|
||||||
|
CXX_FLAGS = -I/home/jan/skysql/skygateway/replication_listener/include -I/include
|
||||||
|
|
||||||
|
CXX_DEFINES =
|
||||||
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
/usr/bin/c++ CMakeFiles/jan_test.dir/jan_test.cpp.o -o jan_test -rdynamic -L/home/jan/skysql/skygateway/replication_listener/lib -lboost_system -lreplication -Wl,-rpath,/home/jan/skysql/skygateway/replication_listener/lib
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
CMAKE_PROGRESS_1 = 3
|
||||||
|
|
||||||
1
replication_listener/examples/CMakeFiles/progress.marks
Normal file
1
replication_listener/examples/CMakeFiles/progress.marks
Normal file
@ -0,0 +1 @@
|
|||||||
|
3
|
||||||
13
replication_listener/examples/CMakeLists.txt
Normal file
13
replication_listener/examples/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
project(examples)
|
||||||
|
|
||||||
|
link_directories(${PROJECT_BUILD_DIR}/lib)
|
||||||
|
include_directories(${PROJECT_BUILD_DIR}/include)
|
||||||
|
|
||||||
|
# Create build rules for all the simple examples that only require a
|
||||||
|
# single file.
|
||||||
|
foreach(prog basic-1 basic-2 jan_test)
|
||||||
|
ADD_EXECUTABLE(${prog} ${prog}.cpp)
|
||||||
|
TARGET_LINK_LIBRARIES(${prog} boost_system replication)
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
add_subdirectory(mysql2lucene EXCLUDE_FROM_ALL)
|
||||||
315
replication_listener/examples/Makefile
Normal file
315
replication_listener/examples/Makefile
Normal file
@ -0,0 +1,315 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Targets provided globally by CMake.
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
|
||||||
|
/usr/bin/cmake -i .
|
||||||
|
.PHONY : edit_cache
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache/fast: edit_cache
|
||||||
|
.PHONY : edit_cache/fast
|
||||||
|
|
||||||
|
# Special rule for the target install
|
||||||
|
install: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||||
|
/usr/bin/cmake -P cmake_install.cmake
|
||||||
|
.PHONY : install
|
||||||
|
|
||||||
|
# Special rule for the target install
|
||||||
|
install/fast: preinstall/fast
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||||
|
/usr/bin/cmake -P cmake_install.cmake
|
||||||
|
.PHONY : install/fast
|
||||||
|
|
||||||
|
# Special rule for the target install/local
|
||||||
|
install/local: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||||
|
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||||
|
.PHONY : install/local
|
||||||
|
|
||||||
|
# Special rule for the target install/local
|
||||||
|
install/local/fast: install/local
|
||||||
|
.PHONY : install/local/fast
|
||||||
|
|
||||||
|
# Special rule for the target install/strip
|
||||||
|
install/strip: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||||
|
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||||
|
.PHONY : install/strip
|
||||||
|
|
||||||
|
# Special rule for the target install/strip
|
||||||
|
install/strip/fast: install/strip
|
||||||
|
.PHONY : install/strip/fast
|
||||||
|
|
||||||
|
# Special rule for the target list_install_components
|
||||||
|
list_install_components:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||||
|
.PHONY : list_install_components
|
||||||
|
|
||||||
|
# Special rule for the target list_install_components
|
||||||
|
list_install_components/fast: list_install_components
|
||||||
|
.PHONY : list_install_components/fast
|
||||||
|
|
||||||
|
# Special rule for the target package
|
||||||
|
package: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && /usr/bin/cpack --config ./CPackConfig.cmake
|
||||||
|
.PHONY : package
|
||||||
|
|
||||||
|
# Special rule for the target package
|
||||||
|
package/fast: package
|
||||||
|
.PHONY : package/fast
|
||||||
|
|
||||||
|
# Special rule for the target package_source
|
||||||
|
package_source:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/jan/skysql/skygateway/replication_listener/CPackSourceConfig.cmake
|
||||||
|
.PHONY : package_source
|
||||||
|
|
||||||
|
# Special rule for the target package_source
|
||||||
|
package_source/fast: package_source
|
||||||
|
.PHONY : package_source/fast
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||||
|
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||||
|
.PHONY : rebuild_cache
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache/fast: rebuild_cache
|
||||||
|
.PHONY : rebuild_cache/fast
|
||||||
|
|
||||||
|
# The main all target
|
||||||
|
all: cmake_check_build_system
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles /home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/progress.marks
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean/fast: clean
|
||||||
|
.PHONY : clean/fast
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall: all
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/preinstall
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall/fast:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/preinstall
|
||||||
|
.PHONY : preinstall/fast
|
||||||
|
|
||||||
|
# clear depends
|
||||||
|
depend:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||||
|
.PHONY : depend
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
examples/CMakeFiles/basic-1.dir/rule:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/basic-1.dir/rule
|
||||||
|
.PHONY : examples/CMakeFiles/basic-1.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
basic-1: examples/CMakeFiles/basic-1.dir/rule
|
||||||
|
.PHONY : basic-1
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
basic-1/fast:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/build
|
||||||
|
.PHONY : basic-1/fast
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
examples/CMakeFiles/basic-2.dir/rule:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/basic-2.dir/rule
|
||||||
|
.PHONY : examples/CMakeFiles/basic-2.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
basic-2: examples/CMakeFiles/basic-2.dir/rule
|
||||||
|
.PHONY : basic-2
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
basic-2/fast:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/build
|
||||||
|
.PHONY : basic-2/fast
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
examples/CMakeFiles/jan_test.dir/rule:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/jan_test.dir/rule
|
||||||
|
.PHONY : examples/CMakeFiles/jan_test.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
jan_test: examples/CMakeFiles/jan_test.dir/rule
|
||||||
|
.PHONY : jan_test
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
jan_test/fast:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/build
|
||||||
|
.PHONY : jan_test/fast
|
||||||
|
|
||||||
|
basic-1.o: basic-1.cpp.o
|
||||||
|
.PHONY : basic-1.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
basic-1.cpp.o:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/basic-1.cpp.o
|
||||||
|
.PHONY : basic-1.cpp.o
|
||||||
|
|
||||||
|
basic-1.i: basic-1.cpp.i
|
||||||
|
.PHONY : basic-1.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
basic-1.cpp.i:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/basic-1.cpp.i
|
||||||
|
.PHONY : basic-1.cpp.i
|
||||||
|
|
||||||
|
basic-1.s: basic-1.cpp.s
|
||||||
|
.PHONY : basic-1.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
basic-1.cpp.s:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/basic-1.cpp.s
|
||||||
|
.PHONY : basic-1.cpp.s
|
||||||
|
|
||||||
|
basic-2.o: basic-2.cpp.o
|
||||||
|
.PHONY : basic-2.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
basic-2.cpp.o:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/basic-2.cpp.o
|
||||||
|
.PHONY : basic-2.cpp.o
|
||||||
|
|
||||||
|
basic-2.i: basic-2.cpp.i
|
||||||
|
.PHONY : basic-2.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
basic-2.cpp.i:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/basic-2.cpp.i
|
||||||
|
.PHONY : basic-2.cpp.i
|
||||||
|
|
||||||
|
basic-2.s: basic-2.cpp.s
|
||||||
|
.PHONY : basic-2.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
basic-2.cpp.s:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/basic-2.cpp.s
|
||||||
|
.PHONY : basic-2.cpp.s
|
||||||
|
|
||||||
|
jan_test.o: jan_test.cpp.o
|
||||||
|
.PHONY : jan_test.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
jan_test.cpp.o:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/jan_test.cpp.o
|
||||||
|
.PHONY : jan_test.cpp.o
|
||||||
|
|
||||||
|
jan_test.i: jan_test.cpp.i
|
||||||
|
.PHONY : jan_test.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
jan_test.cpp.i:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/jan_test.cpp.i
|
||||||
|
.PHONY : jan_test.cpp.i
|
||||||
|
|
||||||
|
jan_test.s: jan_test.cpp.s
|
||||||
|
.PHONY : jan_test.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
jan_test.cpp.s:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/jan_test.cpp.s
|
||||||
|
.PHONY : jan_test.cpp.s
|
||||||
|
|
||||||
|
# Help Target
|
||||||
|
help:
|
||||||
|
@echo "The following are some of the valid targets for this Makefile:"
|
||||||
|
@echo "... all (the default if no target is provided)"
|
||||||
|
@echo "... clean"
|
||||||
|
@echo "... depend"
|
||||||
|
@echo "... basic-1"
|
||||||
|
@echo "... basic-2"
|
||||||
|
@echo "... edit_cache"
|
||||||
|
@echo "... install"
|
||||||
|
@echo "... install/local"
|
||||||
|
@echo "... install/strip"
|
||||||
|
@echo "... jan_test"
|
||||||
|
@echo "... list_install_components"
|
||||||
|
@echo "... package"
|
||||||
|
@echo "... package_source"
|
||||||
|
@echo "... rebuild_cache"
|
||||||
|
@echo "... basic-1.o"
|
||||||
|
@echo "... basic-1.i"
|
||||||
|
@echo "... basic-1.s"
|
||||||
|
@echo "... basic-2.o"
|
||||||
|
@echo "... basic-2.i"
|
||||||
|
@echo "... basic-2.s"
|
||||||
|
@echo "... jan_test.o"
|
||||||
|
@echo "... jan_test.i"
|
||||||
|
@echo "... jan_test.s"
|
||||||
|
.PHONY : help
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets to cleanup operation of make.
|
||||||
|
|
||||||
|
# Special rule to run CMake to check the build system integrity.
|
||||||
|
# No rule that depends on this can have commands that come from listfiles
|
||||||
|
# because they might be regenerated.
|
||||||
|
cmake_check_build_system:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
||||||
36
replication_listener/examples/basic-1.cpp
Normal file
36
replication_listener/examples/basic-1.cpp
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#include "binlog_api.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
@file basic-1
|
||||||
|
@author Mats Kindahl <mats.kindahl@oracle.com>
|
||||||
|
|
||||||
|
This is a basic example that just opens a binary log either from a
|
||||||
|
file or a server and print out what events are found. It uses a
|
||||||
|
simple event loop and checks information in the events using a
|
||||||
|
switch.
|
||||||
|
*/
|
||||||
|
|
||||||
|
using mysql::Binary_log;
|
||||||
|
using mysql::system::create_transport;
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
|
||||||
|
if (argc != 2) {
|
||||||
|
std::cerr << "Usage: basic-2 <uri>" << std::endl;
|
||||||
|
exit(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
Binary_log binlog(create_transport(argv[1]));
|
||||||
|
binlog.connect();
|
||||||
|
|
||||||
|
Binary_log_event *event;
|
||||||
|
|
||||||
|
while (true) {
|
||||||
|
int result = binlog.wait_for_next_event(&event);
|
||||||
|
if (result == ERR_EOF)
|
||||||
|
break;
|
||||||
|
std::cout << "Found event of type "
|
||||||
|
<< event->get_event_type()
|
||||||
|
<< std::endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
94
replication_listener/examples/basic-2.cpp
Normal file
94
replication_listener/examples/basic-2.cpp
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
#include "binlog_api.h"
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <map>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
/*
|
||||||
|
Here is a basic system using the event loop to fetch context events
|
||||||
|
and store them in an associative array.
|
||||||
|
*/
|
||||||
|
using mysql::Binary_log;
|
||||||
|
using mysql::system::create_transport;
|
||||||
|
using mysql::system::get_event_type_str;
|
||||||
|
using mysql::User_var_event;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class to maintain variable values.
|
||||||
|
*/
|
||||||
|
template <class AssociativeContainer>
|
||||||
|
class Save_variables : public Content_handler {
|
||||||
|
public:
|
||||||
|
Save_variables(AssociativeContainer& container)
|
||||||
|
: m_var(container)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
Binary_log_event *process_event(User_var_event *event) {
|
||||||
|
m_var[event->name] = event->value;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
AssociativeContainer &m_var;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
template <class AssociativeContainer>
|
||||||
|
class Replace_variables : public Content_handler {
|
||||||
|
public:
|
||||||
|
Replace_variables(AssociativeContainer& variables)
|
||||||
|
: m_var(variables)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
Binary_log_event *process_event(Query_event *event) {
|
||||||
|
std::string *query = &event->query;
|
||||||
|
size_t start, end = 0;
|
||||||
|
while (true) {
|
||||||
|
start = query->find_first_of("@", end);
|
||||||
|
if (start == std::string::npos)
|
||||||
|
break;
|
||||||
|
end = query->find_first_not_of("abcdefghijklmnopqrstuvwxyz", start+1);
|
||||||
|
std::string key = query->substr(start + 1, end - start - 1);
|
||||||
|
query->replace(start, end - start, "'" + m_var[key] + "'");
|
||||||
|
}
|
||||||
|
return event;
|
||||||
|
}
|
||||||
|
private:
|
||||||
|
AssociativeContainer &m_var;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
typedef std::map<std::string, std::string> Map;
|
||||||
|
|
||||||
|
if (argc != 2) {
|
||||||
|
std::cerr << "Usage: basic-2 <uri>" << std::endl;
|
||||||
|
exit(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
Binary_log binlog(create_transport(argv[1]));
|
||||||
|
binlog.connect();
|
||||||
|
|
||||||
|
binlog.set_position(4);
|
||||||
|
|
||||||
|
Map variables;
|
||||||
|
Save_variables<Map> save_variables(variables);
|
||||||
|
binlog.content_handler_pipeline()->push_back(&save_variables);
|
||||||
|
Replace_variables<Map> replace_variables(variables);
|
||||||
|
binlog.content_handler_pipeline()->push_back(&replace_variables);
|
||||||
|
|
||||||
|
while (true) {
|
||||||
|
Binary_log_event *event;
|
||||||
|
int result = binlog.wait_for_next_event(&event);
|
||||||
|
if (result == ERR_EOF)
|
||||||
|
break;
|
||||||
|
switch (event->get_event_type()) {
|
||||||
|
case QUERY_EVENT:
|
||||||
|
std::cout << static_cast<Query_event*>(event)->query
|
||||||
|
<< std::endl;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
39
replication_listener/examples/cmake_install.cmake
Normal file
39
replication_listener/examples/cmake_install.cmake
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Install script for directory: /home/jan/skysql/skygateway/replication_listener/examples
|
||||||
|
|
||||||
|
# Set the install prefix
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
SET(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||||
|
|
||||||
|
# Set the install configuration name.
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
IF(BUILD_TYPE)
|
||||||
|
STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||||
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||||
|
ELSE(BUILD_TYPE)
|
||||||
|
SET(CMAKE_INSTALL_CONFIG_NAME "")
|
||||||
|
ENDIF(BUILD_TYPE)
|
||||||
|
MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
|
||||||
|
# Set the component getting installed.
|
||||||
|
IF(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
IF(COMPONENT)
|
||||||
|
MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
|
||||||
|
SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||||
|
ELSE(COMPONENT)
|
||||||
|
SET(CMAKE_INSTALL_COMPONENT)
|
||||||
|
ENDIF(COMPONENT)
|
||||||
|
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
|
||||||
|
# Install shared libraries without execute permission?
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
SET(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
|
||||||
|
IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||||
|
# Include the install script for each subdirectory.
|
||||||
|
|
||||||
|
ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||||
|
|
||||||
197
replication_listener/examples/jan_test.cpp
Normal file
197
replication_listener/examples/jan_test.cpp
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
#include "binlog_api.h"
|
||||||
|
#include "my_pthread.h"
|
||||||
|
#include "listener_exception.h"
|
||||||
|
#include "table_replication_consistency.h"
|
||||||
|
#include <getopt.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <iomanip>
|
||||||
|
#include <map>
|
||||||
|
#include <sstream>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <regex.h>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
|
using mysql::Binary_log;
|
||||||
|
using mysql::system::create_transport;
|
||||||
|
using namespace std;
|
||||||
|
using namespace mysql::system;
|
||||||
|
|
||||||
|
void* binlog_reader(void * arg)
|
||||||
|
{
|
||||||
|
replication_listener_t *rlt = (replication_listener_t*)arg;
|
||||||
|
char *uri = rlt->server_url;
|
||||||
|
map<int, string> tid2tname;
|
||||||
|
map<int, string>::iterator tb_it;
|
||||||
|
pthread_t id = pthread_self();
|
||||||
|
string database_dot_table;
|
||||||
|
const char* server_type;
|
||||||
|
Gtid gtid(0,1,31);
|
||||||
|
|
||||||
|
try {
|
||||||
|
Binary_log binlog(create_transport(uri));
|
||||||
|
binlog.connect(gtid);
|
||||||
|
|
||||||
|
server_type = binlog.get_mysql_server_type_str();
|
||||||
|
|
||||||
|
cout << "Server " << uri << " type: " << server_type << endl;
|
||||||
|
|
||||||
|
Binary_log_event *event;
|
||||||
|
|
||||||
|
while (true) {
|
||||||
|
Log_event_header *lheader;
|
||||||
|
|
||||||
|
int result = binlog.wait_for_next_event(&event);
|
||||||
|
|
||||||
|
if (result == ERR_EOF)
|
||||||
|
break;
|
||||||
|
|
||||||
|
lheader = event->header();
|
||||||
|
|
||||||
|
switch(event->get_event_type()) {
|
||||||
|
|
||||||
|
case QUERY_EVENT: {
|
||||||
|
Query_event *qevent = dynamic_cast<Query_event *>(event);
|
||||||
|
|
||||||
|
std::cout << "Thread: " << id << " server_id " << lheader->server_id
|
||||||
|
<< " position " << lheader->next_position << " : Found event of type "
|
||||||
|
<< event->get_event_type()
|
||||||
|
<< " txt " << get_event_type_str(event->get_event_type())
|
||||||
|
<< " query " << qevent->query << " db " << qevent->db_name
|
||||||
|
<< std::endl;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case GTID_EVENT_MARIADB:
|
||||||
|
case GTID_EVENT_MYSQL:
|
||||||
|
{
|
||||||
|
Gtid_event *gevent = dynamic_cast<Gtid_event *>(event);
|
||||||
|
|
||||||
|
std::cout << "Thread: " << id << " server_id " << lheader->server_id
|
||||||
|
<< " position " << lheader->next_position << " : Found event of type "
|
||||||
|
<< event->get_event_type()
|
||||||
|
<< " txt " << get_event_type_str(event->get_event_type())
|
||||||
|
<< " GTID " << gevent->domain_id << "-" << gevent->server_id << "-" << gevent->sequence_number
|
||||||
|
<< std::endl;
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
case TABLE_MAP_EVENT: {
|
||||||
|
Table_map_event *table_map_event= dynamic_cast<Table_map_event*>(event);
|
||||||
|
database_dot_table= table_map_event->db_name;
|
||||||
|
database_dot_table.append(".");
|
||||||
|
database_dot_table.append(table_map_event->table_name);
|
||||||
|
tid2tname[table_map_event->table_id]= database_dot_table;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
case WRITE_ROWS_EVENT:
|
||||||
|
case UPDATE_ROWS_EVENT:
|
||||||
|
case DELETE_ROWS_EVENT:
|
||||||
|
{
|
||||||
|
Row_event *revent = dynamic_cast<Row_event*>(event);
|
||||||
|
tb_it= tid2tname.begin();
|
||||||
|
tb_it= tid2tname.find(revent->table_id);
|
||||||
|
if (tb_it != tid2tname.end())
|
||||||
|
{
|
||||||
|
database_dot_table= tb_it->second;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::cout << "Thread: " << id << " server_id " << lheader->server_id
|
||||||
|
<< " position " << lheader->next_position << " : Found event of type "
|
||||||
|
<< event->get_event_type()
|
||||||
|
<< " txt " << get_event_type_str(event->get_event_type())
|
||||||
|
<< " table " << revent->table_id
|
||||||
|
<< " tb " << database_dot_table
|
||||||
|
<< std::endl;
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
} // switch
|
||||||
|
} // while
|
||||||
|
} // try
|
||||||
|
catch(ListenerException e)
|
||||||
|
{
|
||||||
|
std::cerr << "Listener exception: " << e.what() << std::endl;
|
||||||
|
}
|
||||||
|
catch(boost::system::error_code e)
|
||||||
|
{
|
||||||
|
std::cerr << "Listener system error: " << e.message() << std::endl;
|
||||||
|
}
|
||||||
|
// Try and catch all exceptions
|
||||||
|
catch(std::exception const& e)
|
||||||
|
{
|
||||||
|
std::cerr << "Listener other error: " << e.what() << std::endl;
|
||||||
|
}
|
||||||
|
// Rest of them
|
||||||
|
catch(...)
|
||||||
|
{
|
||||||
|
std::cerr << "Unknown exception: " << std::endl;
|
||||||
|
// Re-Throw this one.
|
||||||
|
// It was not handled so you want to make sure it is handled correctly by
|
||||||
|
// the OS. So just allow the exception to keep propagating.
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
pthread_exit(NULL);
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
|
||||||
|
int number_of_args = argc;
|
||||||
|
int i=0,k=0;
|
||||||
|
pthread_t *tid=NULL;
|
||||||
|
char *uri;
|
||||||
|
replication_listener_t *mrl;
|
||||||
|
int err=0;
|
||||||
|
|
||||||
|
tid = (pthread_t*)malloc(sizeof(pthread_t) * argc);
|
||||||
|
mrl = (replication_listener_t*)calloc(argc, sizeof(replication_listener_t));
|
||||||
|
|
||||||
|
if (argc < 2) {
|
||||||
|
std::cerr << "Usage: basic-2 <uri>" << std::endl;
|
||||||
|
exit(2);
|
||||||
|
}
|
||||||
|
argc =0;
|
||||||
|
while(argc != number_of_args)
|
||||||
|
{
|
||||||
|
uri= argv[argc++];
|
||||||
|
|
||||||
|
if ( strncmp("mysql://", uri, 8) == 0)
|
||||||
|
{
|
||||||
|
|
||||||
|
mrl[i].server_url = uri;
|
||||||
|
|
||||||
|
if (argc == 1) {
|
||||||
|
mrl[i].is_master = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
err = pthread_create(&(tid[i++]), NULL, &binlog_reader, (void *)&mrl[i]);
|
||||||
|
|
||||||
|
if (err ) {
|
||||||
|
perror(NULL);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}//end of outer while loop
|
||||||
|
|
||||||
|
for(k=0; k < i; k++)
|
||||||
|
{
|
||||||
|
err = pthread_join(tid[k], (void **)&(mrl[k]));
|
||||||
|
|
||||||
|
if (err) {
|
||||||
|
perror(NULL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
exit(0);
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Relative path conversion top directories.
|
||||||
|
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jan/skysql/skygateway/replication_listener")
|
||||||
|
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jan/skysql/skygateway/replication_listener")
|
||||||
|
|
||||||
|
# Force unix paths in dependencies.
|
||||||
|
SET(CMAKE_FORCE_UNIX_PATHS 1)
|
||||||
|
|
||||||
|
|
||||||
|
# The C and CXX include file regular expressions for this directory.
|
||||||
|
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||||
|
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||||
|
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||||
|
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
||||||
@ -0,0 +1,244 @@
|
|||||||
|
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||||
|
|
||||||
|
#IncludeRegexScan: ^.*$
|
||||||
|
|
||||||
|
#IncludeRegexComplain: ^$
|
||||||
|
|
||||||
|
#IncludeRegexTransform:
|
||||||
|
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/main.cpp
|
||||||
|
stdlib.h
|
||||||
|
-
|
||||||
|
boost/foreach.hpp
|
||||||
|
-
|
||||||
|
binlog_api.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_api.h
|
||||||
|
table_update.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.h
|
||||||
|
table_delete.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
|
||||||
|
table_insert.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
|
||||||
|
table_index.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.h
|
||||||
|
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
|
||||||
|
string
|
||||||
|
-
|
||||||
|
binlog_api.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_api.h
|
||||||
|
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.h
|
||||||
|
binlog_event.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_event.h
|
||||||
|
map
|
||||||
|
-
|
||||||
|
basic_content_handler.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/basic_content_handler.h
|
||||||
|
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
|
||||||
|
string
|
||||||
|
-
|
||||||
|
binlog_api.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_api.h
|
||||||
|
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.h
|
||||||
|
string
|
||||||
|
-
|
||||||
|
binlog_api.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_api.h
|
||||||
|
|
||||||
|
include/access_method_factory.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
|
||||||
|
include/basic_content_handler.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
list
|
||||||
|
-
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
basic_content_handler.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
|
||||||
|
include/binlog_api.h
|
||||||
|
iosfwd
|
||||||
|
-
|
||||||
|
boost/iostreams/categories.hpp
|
||||||
|
-
|
||||||
|
boost/iostreams/positioning.hpp
|
||||||
|
-
|
||||||
|
boost/iostreams/concepts.hpp
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
cassert
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
tcp_driver.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
file_driver.h
|
||||||
|
include/file_driver.h
|
||||||
|
basic_content_handler.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
basic_transaction_parser.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
field_iterator.h
|
||||||
|
include/field_iterator.h
|
||||||
|
rowset.h
|
||||||
|
include/rowset.h
|
||||||
|
access_method_factory.h
|
||||||
|
include/access_method_factory.h
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/binlog_driver.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/binlog_event.h
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
|
||||||
|
include/bounded_buffer.h
|
||||||
|
boost/circular_buffer.hpp
|
||||||
|
-
|
||||||
|
boost/thread/mutex.hpp
|
||||||
|
-
|
||||||
|
boost/thread/condition.hpp
|
||||||
|
-
|
||||||
|
boost/thread/thread.hpp
|
||||||
|
-
|
||||||
|
boost/progress.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/field_iterator.h
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
row_of_fields.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
|
||||||
|
include/file_driver.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
fstream
|
||||||
|
-
|
||||||
|
sys/types.h
|
||||||
|
-
|
||||||
|
sys/stat.h
|
||||||
|
-
|
||||||
|
unistd.h
|
||||||
|
-
|
||||||
|
binlog_api.h
|
||||||
|
include/binlog_api.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
|
||||||
|
include/gtid.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/bind.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/protocol.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
list
|
||||||
|
-
|
||||||
|
binlog_event.h
|
||||||
|
include/binlog_event.h
|
||||||
|
|
||||||
|
include/resultset_iterator.h
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
boost/iterator/iterator_facade.hpp
|
||||||
|
-
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
rowset.h
|
||||||
|
include/rowset.h
|
||||||
|
row_of_fields.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
|
||||||
|
include/row_of_fields.h
|
||||||
|
vector
|
||||||
|
-
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
value.h
|
||||||
|
include/value.h
|
||||||
|
|
||||||
|
include/rowset.h
|
||||||
|
field_iterator.h
|
||||||
|
include/field_iterator.h
|
||||||
|
resultset_iterator.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
boost/function.hpp
|
||||||
|
-
|
||||||
|
boost/iterator.hpp
|
||||||
|
-
|
||||||
|
|
||||||
|
include/tcp_driver.h
|
||||||
|
binlog_driver.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
bounded_buffer.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
boost/asio.hpp
|
||||||
|
-
|
||||||
|
boost/thread.hpp
|
||||||
|
-
|
||||||
|
gtid.h
|
||||||
|
include/gtid.h
|
||||||
|
|
||||||
|
include/value.h
|
||||||
|
boost/cstdint.hpp
|
||||||
|
-
|
||||||
|
protocol.h
|
||||||
|
include/protocol.h
|
||||||
|
boost/any.hpp
|
||||||
|
-
|
||||||
|
iostream
|
||||||
|
-
|
||||||
|
|
||||||
@ -0,0 +1,27 @@
|
|||||||
|
# The set of languages for which implicit dependencies are needed:
|
||||||
|
SET(CMAKE_DEPENDS_LANGUAGES
|
||||||
|
"CXX"
|
||||||
|
)
|
||||||
|
# The set of files for implicit dependencies of each language:
|
||||||
|
SET(CMAKE_DEPENDS_CHECK_CXX
|
||||||
|
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/main.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o"
|
||||||
|
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_delete.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o"
|
||||||
|
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_index.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o"
|
||||||
|
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_insert.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o"
|
||||||
|
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_update.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o"
|
||||||
|
)
|
||||||
|
SET(CMAKE_CXX_COMPILER_ID "GNU")
|
||||||
|
|
||||||
|
# Targets to which this target links.
|
||||||
|
SET(CMAKE_TARGET_LINKED_INFO_FILES
|
||||||
|
"/home/jan/skysql/skygateway/replication_listener/src/CMakeFiles/replication_static.dir/DependInfo.cmake"
|
||||||
|
)
|
||||||
|
|
||||||
|
# The include file search paths:
|
||||||
|
SET(CMAKE_C_TARGET_INCLUDE_PATH
|
||||||
|
"include"
|
||||||
|
"/include"
|
||||||
|
)
|
||||||
|
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
|
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
|
||||||
@ -0,0 +1,210 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# Include any dependencies generated for this target.
|
||||||
|
include examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/depend.make
|
||||||
|
|
||||||
|
# Include the progress variables for this target.
|
||||||
|
include examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/progress.make
|
||||||
|
|
||||||
|
# Include the compile flags for this target's objects.
|
||||||
|
include examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/main.cpp
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_1)
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/main.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/main.cpp
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/main.cpp.i"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/main.cpp > CMakeFiles/mysql2lucene.dir/main.cpp.i
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/main.cpp.s"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/main.cpp -o CMakeFiles/mysql2lucene.dir/main.cpp.s
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.requires:
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.requires
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.requires
|
||||||
|
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.provides.build
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.provides
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/table_delete.cpp
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_2)
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/table_delete.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_delete.cpp
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/table_delete.cpp.i"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_delete.cpp > CMakeFiles/mysql2lucene.dir/table_delete.cpp.i
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/table_delete.cpp.s"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_delete.cpp -o CMakeFiles/mysql2lucene.dir/table_delete.cpp.s
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.requires:
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.requires
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.requires
|
||||||
|
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.provides.build
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.provides
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: examples/mysql2lucene/table_index.cpp
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_3)
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/table_index.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_index.cpp
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/table_index.cpp.i"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_index.cpp > CMakeFiles/mysql2lucene.dir/table_index.cpp.i
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/table_index.cpp.s"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_index.cpp -o CMakeFiles/mysql2lucene.dir/table_index.cpp.s
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.requires:
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.requires
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.requires
|
||||||
|
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.provides.build
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.provides
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/table_insert.cpp
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_4)
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/table_insert.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_insert.cpp
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/table_insert.cpp.i"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_insert.cpp > CMakeFiles/mysql2lucene.dir/table_insert.cpp.i
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/table_insert.cpp.s"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_insert.cpp -o CMakeFiles/mysql2lucene.dir/table_insert.cpp.s
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.requires:
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.requires
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.requires
|
||||||
|
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.provides.build
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.provides
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_update.cpp
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_5)
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/table_update.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_update.cpp
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.i: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/table_update.cpp.i"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_update.cpp > CMakeFiles/mysql2lucene.dir/table_update.cpp.i
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.s: cmake_force
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/table_update.cpp.s"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_update.cpp -o CMakeFiles/mysql2lucene.dir/table_update.cpp.s
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.requires:
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.requires
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.requires
|
||||||
|
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.provides.build
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.provides
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o
|
||||||
|
|
||||||
|
# Object files for target mysql2lucene
|
||||||
|
mysql2lucene_OBJECTS = \
|
||||||
|
"CMakeFiles/mysql2lucene.dir/main.cpp.o" \
|
||||||
|
"CMakeFiles/mysql2lucene.dir/table_delete.cpp.o" \
|
||||||
|
"CMakeFiles/mysql2lucene.dir/table_index.cpp.o" \
|
||||||
|
"CMakeFiles/mysql2lucene.dir/table_insert.cpp.o" \
|
||||||
|
"CMakeFiles/mysql2lucene.dir/table_update.cpp.o"
|
||||||
|
|
||||||
|
# External object files for target mysql2lucene
|
||||||
|
mysql2lucene_EXTERNAL_OBJECTS =
|
||||||
|
|
||||||
|
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o
|
||||||
|
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o
|
||||||
|
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o
|
||||||
|
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o
|
||||||
|
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o
|
||||||
|
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make
|
||||||
|
examples/mysql2lucene/mysql2lucene: lib/libreplication.a
|
||||||
|
examples/mysql2lucene/mysql2lucene: /usr/lib/libboost_system-mt.so
|
||||||
|
examples/mysql2lucene/mysql2lucene: /usr/lib/libboost_thread-mt.so
|
||||||
|
examples/mysql2lucene/mysql2lucene: /usr/lib/libmysqlclient_r.so
|
||||||
|
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/link.txt
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable mysql2lucene"
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/mysql2lucene.dir/link.txt --verbose=$(VERBOSE)
|
||||||
|
|
||||||
|
# Rule to build all files generated by this target.
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build: examples/mysql2lucene/mysql2lucene
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.requires
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.requires
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.requires
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.requires
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.requires
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/clean:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && $(CMAKE_COMMAND) -P CMakeFiles/mysql2lucene.dir/cmake_clean.cmake
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/depend:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/DependInfo.cmake --color=$(COLOR)
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/depend
|
||||||
|
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
FILE(REMOVE_RECURSE
|
||||||
|
"CMakeFiles/mysql2lucene.dir/main.cpp.o"
|
||||||
|
"CMakeFiles/mysql2lucene.dir/table_delete.cpp.o"
|
||||||
|
"CMakeFiles/mysql2lucene.dir/table_index.cpp.o"
|
||||||
|
"CMakeFiles/mysql2lucene.dir/table_insert.cpp.o"
|
||||||
|
"CMakeFiles/mysql2lucene.dir/table_update.cpp.o"
|
||||||
|
"mysql2lucene.pdb"
|
||||||
|
"mysql2lucene"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Per-language clean rules from dependency scanning.
|
||||||
|
FOREACH(lang CXX)
|
||||||
|
INCLUDE(CMakeFiles/mysql2lucene.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||||
|
ENDFOREACH(lang)
|
||||||
@ -0,0 +1,88 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/main.cpp
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.h
|
||||||
|
include/access_method_factory.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
include/binlog_api.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
include/binlog_event.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
include/field_iterator.h
|
||||||
|
include/file_driver.h
|
||||||
|
include/gtid.h
|
||||||
|
include/protocol.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
include/rowset.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
include/value.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/globals.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.cpp
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
|
||||||
|
include/access_method_factory.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
include/binlog_api.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
include/binlog_event.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
include/field_iterator.h
|
||||||
|
include/file_driver.h
|
||||||
|
include/protocol.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
include/rowset.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
include/value.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.cpp
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
include/binlog_event.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/globals.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.cpp
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
|
||||||
|
include/access_method_factory.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
include/binlog_api.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
include/binlog_event.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
include/field_iterator.h
|
||||||
|
include/file_driver.h
|
||||||
|
include/protocol.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
include/rowset.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
include/value.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.cpp
|
||||||
|
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.h
|
||||||
|
include/access_method_factory.h
|
||||||
|
include/basic_content_handler.h
|
||||||
|
include/basic_transaction_parser.h
|
||||||
|
include/binlog_api.h
|
||||||
|
include/binlog_driver.h
|
||||||
|
include/binlog_event.h
|
||||||
|
include/bounded_buffer.h
|
||||||
|
include/field_iterator.h
|
||||||
|
include/file_driver.h
|
||||||
|
include/protocol.h
|
||||||
|
include/resultset_iterator.h
|
||||||
|
include/row_of_fields.h
|
||||||
|
include/rowset.h
|
||||||
|
include/tcp_driver.h
|
||||||
|
include/value.h
|
||||||
@ -0,0 +1,88 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/main.cpp
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/table_delete.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/table_index.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/table_insert.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/table_update.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/access_method_factory.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/basic_content_handler.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/basic_transaction_parser.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/binlog_api.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/binlog_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/binlog_event.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/bounded_buffer.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/field_iterator.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/file_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/gtid.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/protocol.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/resultset_iterator.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/row_of_fields.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/rowset.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/tcp_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/value.h
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/globals.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/table_delete.cpp
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/table_delete.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/access_method_factory.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/basic_content_handler.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/basic_transaction_parser.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/binlog_api.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/binlog_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/binlog_event.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/bounded_buffer.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/field_iterator.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/file_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/protocol.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/resultset_iterator.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/row_of_fields.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/rowset.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/tcp_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/value.h
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: examples/mysql2lucene/table_index.cpp
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: examples/mysql2lucene/table_index.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: include/basic_content_handler.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: include/binlog_event.h
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/globals.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/table_insert.cpp
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/table_insert.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/access_method_factory.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/basic_content_handler.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/basic_transaction_parser.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/binlog_api.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/binlog_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/binlog_event.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/bounded_buffer.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/field_iterator.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/file_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/protocol.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/resultset_iterator.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/row_of_fields.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/rowset.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/tcp_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/value.h
|
||||||
|
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_delete.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_insert.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_update.cpp
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_update.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/access_method_factory.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/basic_content_handler.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/basic_transaction_parser.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/binlog_api.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/binlog_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/binlog_event.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/bounded_buffer.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/field_iterator.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/file_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/protocol.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/resultset_iterator.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/row_of_fields.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/rowset.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/tcp_driver.h
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/value.h
|
||||||
|
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# compile CXX with /usr/bin/c++
|
||||||
|
CXX_FLAGS = -I/home/jan/skysql/skygateway/replication_listener/include -I/include
|
||||||
|
|
||||||
|
CXX_DEFINES =
|
||||||
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
/usr/bin/c++ CMakeFiles/mysql2lucene.dir/main.cpp.o CMakeFiles/mysql2lucene.dir/table_delete.cpp.o CMakeFiles/mysql2lucene.dir/table_index.cpp.o CMakeFiles/mysql2lucene.dir/table_insert.cpp.o CMakeFiles/mysql2lucene.dir/table_update.cpp.o -o mysql2lucene -rdynamic -L/home/jan/skysql/skygateway/replication_listener/lib ../../lib/libreplication.a -lcrypto -lboost_system-mt -lboost_thread-mt -lpthread -lmysqlclient_r -Wl,-rpath,/home/jan/skysql/skygateway/replication_listener/lib
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
CMAKE_PROGRESS_1 = 4
|
||||||
|
CMAKE_PROGRESS_2 = 5
|
||||||
|
CMAKE_PROGRESS_3 = 6
|
||||||
|
CMAKE_PROGRESS_4 = 7
|
||||||
|
CMAKE_PROGRESS_5 = 8
|
||||||
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
20
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
project (mysql2lucene)
|
||||||
|
|
||||||
|
find_package(CLucene)
|
||||||
|
|
||||||
|
add_executable(mysql2lucene
|
||||||
|
main.cpp table_delete.cpp table_index.cpp
|
||||||
|
table_insert.cpp table_update.cpp)
|
||||||
|
include_directories(${CLUCENE_INCLUDE_DIR} ${CLUCENE_LIBRARY_DIR})
|
||||||
|
target_link_libraries(mysql2lucene ${CLUCENE_LIBRARY} replication_static)
|
||||||
339
replication_listener/examples/mysql2lucene/Makefile
Normal file
339
replication_listener/examples/mysql2lucene/Makefile
Normal file
@ -0,0 +1,339 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
|
||||||
|
|
||||||
|
# Default target executed when no arguments are given to make.
|
||||||
|
default_target: all
|
||||||
|
.PHONY : default_target
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets provided by cmake.
|
||||||
|
|
||||||
|
# Disable implicit rules so canonical targets will work.
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||||
|
SUFFIXES =
|
||||||
|
|
||||||
|
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||||
|
|
||||||
|
# Suppress display of executed commands.
|
||||||
|
$(VERBOSE).SILENT:
|
||||||
|
|
||||||
|
# A target that is always out of date.
|
||||||
|
cmake_force:
|
||||||
|
.PHONY : cmake_force
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Set environment variables for the build.
|
||||||
|
|
||||||
|
# The shell in which to execute make rules.
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# The CMake executable.
|
||||||
|
CMAKE_COMMAND = /usr/bin/cmake
|
||||||
|
|
||||||
|
# The command to remove a file.
|
||||||
|
RM = /usr/bin/cmake -E remove -f
|
||||||
|
|
||||||
|
# Escaping for special characters.
|
||||||
|
EQUALS = =
|
||||||
|
|
||||||
|
# The top-level source directory on which CMake was run.
|
||||||
|
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
# The top-level build directory on which CMake was run.
|
||||||
|
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Targets provided globally by CMake.
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
|
||||||
|
/usr/bin/cmake -i .
|
||||||
|
.PHONY : edit_cache
|
||||||
|
|
||||||
|
# Special rule for the target edit_cache
|
||||||
|
edit_cache/fast: edit_cache
|
||||||
|
.PHONY : edit_cache/fast
|
||||||
|
|
||||||
|
# Special rule for the target install
|
||||||
|
install: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||||
|
/usr/bin/cmake -P cmake_install.cmake
|
||||||
|
.PHONY : install
|
||||||
|
|
||||||
|
# Special rule for the target install
|
||||||
|
install/fast: preinstall/fast
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||||
|
/usr/bin/cmake -P cmake_install.cmake
|
||||||
|
.PHONY : install/fast
|
||||||
|
|
||||||
|
# Special rule for the target install/local
|
||||||
|
install/local: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||||
|
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||||
|
.PHONY : install/local
|
||||||
|
|
||||||
|
# Special rule for the target install/local
|
||||||
|
install/local/fast: install/local
|
||||||
|
.PHONY : install/local/fast
|
||||||
|
|
||||||
|
# Special rule for the target install/strip
|
||||||
|
install/strip: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||||
|
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||||
|
.PHONY : install/strip
|
||||||
|
|
||||||
|
# Special rule for the target install/strip
|
||||||
|
install/strip/fast: install/strip
|
||||||
|
.PHONY : install/strip/fast
|
||||||
|
|
||||||
|
# Special rule for the target list_install_components
|
||||||
|
list_install_components:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||||
|
.PHONY : list_install_components
|
||||||
|
|
||||||
|
# Special rule for the target list_install_components
|
||||||
|
list_install_components/fast: list_install_components
|
||||||
|
.PHONY : list_install_components/fast
|
||||||
|
|
||||||
|
# Special rule for the target package
|
||||||
|
package: preinstall
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && /usr/bin/cpack --config ./CPackConfig.cmake
|
||||||
|
.PHONY : package
|
||||||
|
|
||||||
|
# Special rule for the target package
|
||||||
|
package/fast: package
|
||||||
|
.PHONY : package/fast
|
||||||
|
|
||||||
|
# Special rule for the target package_source
|
||||||
|
package_source:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/jan/skysql/skygateway/replication_listener/CPackSourceConfig.cmake
|
||||||
|
.PHONY : package_source
|
||||||
|
|
||||||
|
# Special rule for the target package_source
|
||||||
|
package_source/fast: package_source
|
||||||
|
.PHONY : package_source/fast
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache:
|
||||||
|
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||||
|
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||||
|
.PHONY : rebuild_cache
|
||||||
|
|
||||||
|
# Special rule for the target rebuild_cache
|
||||||
|
rebuild_cache/fast: rebuild_cache
|
||||||
|
.PHONY : rebuild_cache/fast
|
||||||
|
|
||||||
|
# The main all target
|
||||||
|
all: cmake_check_build_system
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/progress.marks
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/all
|
||||||
|
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
|
||||||
|
.PHONY : all
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/clean
|
||||||
|
.PHONY : clean
|
||||||
|
|
||||||
|
# The main clean target
|
||||||
|
clean/fast: clean
|
||||||
|
.PHONY : clean/fast
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall: all
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/preinstall
|
||||||
|
.PHONY : preinstall
|
||||||
|
|
||||||
|
# Prepare targets for installation.
|
||||||
|
preinstall/fast:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/preinstall
|
||||||
|
.PHONY : preinstall/fast
|
||||||
|
|
||||||
|
# clear depends
|
||||||
|
depend:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||||
|
.PHONY : depend
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
|
||||||
|
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
|
||||||
|
|
||||||
|
# Convenience name for target.
|
||||||
|
mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
|
||||||
|
.PHONY : mysql2lucene
|
||||||
|
|
||||||
|
# fast build rule for target.
|
||||||
|
mysql2lucene/fast:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build
|
||||||
|
.PHONY : mysql2lucene/fast
|
||||||
|
|
||||||
|
main.o: main.cpp.o
|
||||||
|
.PHONY : main.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
main.cpp.o:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o
|
||||||
|
.PHONY : main.cpp.o
|
||||||
|
|
||||||
|
main.i: main.cpp.i
|
||||||
|
.PHONY : main.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
main.cpp.i:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.i
|
||||||
|
.PHONY : main.cpp.i
|
||||||
|
|
||||||
|
main.s: main.cpp.s
|
||||||
|
.PHONY : main.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
main.cpp.s:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.s
|
||||||
|
.PHONY : main.cpp.s
|
||||||
|
|
||||||
|
table_delete.o: table_delete.cpp.o
|
||||||
|
.PHONY : table_delete.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
table_delete.cpp.o:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o
|
||||||
|
.PHONY : table_delete.cpp.o
|
||||||
|
|
||||||
|
table_delete.i: table_delete.cpp.i
|
||||||
|
.PHONY : table_delete.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
table_delete.cpp.i:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.i
|
||||||
|
.PHONY : table_delete.cpp.i
|
||||||
|
|
||||||
|
table_delete.s: table_delete.cpp.s
|
||||||
|
.PHONY : table_delete.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
table_delete.cpp.s:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.s
|
||||||
|
.PHONY : table_delete.cpp.s
|
||||||
|
|
||||||
|
table_index.o: table_index.cpp.o
|
||||||
|
.PHONY : table_index.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
table_index.cpp.o:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o
|
||||||
|
.PHONY : table_index.cpp.o
|
||||||
|
|
||||||
|
table_index.i: table_index.cpp.i
|
||||||
|
.PHONY : table_index.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
table_index.cpp.i:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.i
|
||||||
|
.PHONY : table_index.cpp.i
|
||||||
|
|
||||||
|
table_index.s: table_index.cpp.s
|
||||||
|
.PHONY : table_index.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
table_index.cpp.s:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.s
|
||||||
|
.PHONY : table_index.cpp.s
|
||||||
|
|
||||||
|
table_insert.o: table_insert.cpp.o
|
||||||
|
.PHONY : table_insert.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
table_insert.cpp.o:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o
|
||||||
|
.PHONY : table_insert.cpp.o
|
||||||
|
|
||||||
|
table_insert.i: table_insert.cpp.i
|
||||||
|
.PHONY : table_insert.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
table_insert.cpp.i:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.i
|
||||||
|
.PHONY : table_insert.cpp.i
|
||||||
|
|
||||||
|
table_insert.s: table_insert.cpp.s
|
||||||
|
.PHONY : table_insert.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
table_insert.cpp.s:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.s
|
||||||
|
.PHONY : table_insert.cpp.s
|
||||||
|
|
||||||
|
table_update.o: table_update.cpp.o
|
||||||
|
.PHONY : table_update.o
|
||||||
|
|
||||||
|
# target to build an object file
|
||||||
|
table_update.cpp.o:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o
|
||||||
|
.PHONY : table_update.cpp.o
|
||||||
|
|
||||||
|
table_update.i: table_update.cpp.i
|
||||||
|
.PHONY : table_update.i
|
||||||
|
|
||||||
|
# target to preprocess a source file
|
||||||
|
table_update.cpp.i:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.i
|
||||||
|
.PHONY : table_update.cpp.i
|
||||||
|
|
||||||
|
table_update.s: table_update.cpp.s
|
||||||
|
.PHONY : table_update.s
|
||||||
|
|
||||||
|
# target to generate assembly for a file
|
||||||
|
table_update.cpp.s:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.s
|
||||||
|
.PHONY : table_update.cpp.s
|
||||||
|
|
||||||
|
# Help Target
|
||||||
|
help:
|
||||||
|
@echo "The following are some of the valid targets for this Makefile:"
|
||||||
|
@echo "... all (the default if no target is provided)"
|
||||||
|
@echo "... clean"
|
||||||
|
@echo "... depend"
|
||||||
|
@echo "... edit_cache"
|
||||||
|
@echo "... install"
|
||||||
|
@echo "... install/local"
|
||||||
|
@echo "... install/strip"
|
||||||
|
@echo "... list_install_components"
|
||||||
|
@echo "... mysql2lucene"
|
||||||
|
@echo "... package"
|
||||||
|
@echo "... package_source"
|
||||||
|
@echo "... rebuild_cache"
|
||||||
|
@echo "... main.o"
|
||||||
|
@echo "... main.i"
|
||||||
|
@echo "... main.s"
|
||||||
|
@echo "... table_delete.o"
|
||||||
|
@echo "... table_delete.i"
|
||||||
|
@echo "... table_delete.s"
|
||||||
|
@echo "... table_index.o"
|
||||||
|
@echo "... table_index.i"
|
||||||
|
@echo "... table_index.s"
|
||||||
|
@echo "... table_insert.o"
|
||||||
|
@echo "... table_insert.i"
|
||||||
|
@echo "... table_insert.s"
|
||||||
|
@echo "... table_update.o"
|
||||||
|
@echo "... table_update.i"
|
||||||
|
@echo "... table_update.s"
|
||||||
|
.PHONY : help
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#=============================================================================
|
||||||
|
# Special targets to cleanup operation of make.
|
||||||
|
|
||||||
|
# Special rule to run CMake to check the build system integrity.
|
||||||
|
# No rule that depends on this can have commands that come from listfiles
|
||||||
|
# because they might be regenerated.
|
||||||
|
cmake_check_build_system:
|
||||||
|
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||||
|
.PHONY : cmake_check_build_system
|
||||||
|
|
||||||
@ -0,0 +1,34 @@
|
|||||||
|
# Install script for directory: /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene
|
||||||
|
|
||||||
|
# Set the install prefix
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
SET(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||||
|
|
||||||
|
# Set the install configuration name.
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
IF(BUILD_TYPE)
|
||||||
|
STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||||
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||||
|
ELSE(BUILD_TYPE)
|
||||||
|
SET(CMAKE_INSTALL_CONFIG_NAME "")
|
||||||
|
ENDIF(BUILD_TYPE)
|
||||||
|
MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
|
||||||
|
# Set the component getting installed.
|
||||||
|
IF(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
IF(COMPONENT)
|
||||||
|
MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
|
||||||
|
SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||||
|
ELSE(COMPONENT)
|
||||||
|
SET(CMAKE_INSTALL_COMPONENT)
|
||||||
|
ENDIF(COMPONENT)
|
||||||
|
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
|
||||||
|
# Install shared libraries without execute permission?
|
||||||
|
IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
SET(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||||
|
ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||||
|
|
||||||
34
replication_listener/examples/mysql2lucene/globals.h
Normal file
34
replication_listener/examples/mysql2lucene/globals.h
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* File: globals.h
|
||||||
|
* Author: thek
|
||||||
|
*
|
||||||
|
* Created on den 15 juni 2010, 09:37
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _GLOBALS_H
|
||||||
|
#define _GLOBALS_H
|
||||||
|
#include <string>
|
||||||
|
#include "binlog_api.h"
|
||||||
|
extern std::string cl_index_file;
|
||||||
|
|
||||||
|
#endif /* _GLOBALS_H */
|
||||||
212
replication_listener/examples/mysql2lucene/main.cpp
Normal file
212
replication_listener/examples/mysql2lucene/main.cpp
Normal file
@ -0,0 +1,212 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* File: main.cpp
|
||||||
|
* Author: thek
|
||||||
|
*
|
||||||
|
* Created on den 12 maj 2010, 14:47
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <boost/foreach.hpp>
|
||||||
|
#include "binlog_api.h"
|
||||||
|
|
||||||
|
#include "table_update.h"
|
||||||
|
#include "table_delete.h"
|
||||||
|
#include "table_insert.h"
|
||||||
|
|
||||||
|
#include "table_index.h"
|
||||||
|
|
||||||
|
using mysql::system::create_transport;
|
||||||
|
using mysql::Binary_log;
|
||||||
|
|
||||||
|
std::string cl_index_file;
|
||||||
|
|
||||||
|
class Incident_handler : public mysql::Content_handler
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Incident_handler() : mysql::Content_handler() {}
|
||||||
|
|
||||||
|
Binary_log_event *process_event(mysql::Incident_event *incident)
|
||||||
|
{
|
||||||
|
std::cout << "Event type: "
|
||||||
|
<< mysql::system::get_event_type_str(incident->get_event_type())
|
||||||
|
<< " length: " << incident->header()->event_length
|
||||||
|
<< " next pos: " << incident->header()->next_position
|
||||||
|
<< std::endl;
|
||||||
|
std::cout << "type= "
|
||||||
|
<< (unsigned)incident->type
|
||||||
|
<< " message= "
|
||||||
|
<< incident->message
|
||||||
|
<< std::endl
|
||||||
|
<< std::endl;
|
||||||
|
/* Consume the event */
|
||||||
|
delete incident;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
class Applier : public mysql::Content_handler
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Applier(Table_index *index)
|
||||||
|
{
|
||||||
|
m_table_index= index;
|
||||||
|
}
|
||||||
|
|
||||||
|
mysql::Binary_log_event *process_event(mysql::Row_event *rev)
|
||||||
|
{
|
||||||
|
boost::uint64_t table_id= rev->table_id;
|
||||||
|
Int2event_map::iterator ti_it= m_table_index->find(table_id);
|
||||||
|
if (ti_it == m_table_index->end ())
|
||||||
|
{
|
||||||
|
std::cout << "Table id "
|
||||||
|
<< table_id
|
||||||
|
<< " was not registered by any preceding table map event."
|
||||||
|
<< std::endl;
|
||||||
|
return rev;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Each row event contains multiple rows and fields. The Row_iterator
|
||||||
|
allows us to iterate one row at a time.
|
||||||
|
*/
|
||||||
|
mysql::Row_event_set rows(rev, ti_it->second);
|
||||||
|
/*
|
||||||
|
Create a fuly qualified table name
|
||||||
|
*/
|
||||||
|
std::ostringstream os;
|
||||||
|
os << ti_it->second->db_name << '.' << ti_it->second->table_name;
|
||||||
|
mysql::Row_event_set::iterator it= rows.begin();
|
||||||
|
do {
|
||||||
|
mysql::Row_of_fields fields= *it;
|
||||||
|
if (rev->get_event_type() == mysql::WRITE_ROWS_EVENT)
|
||||||
|
table_insert(os.str(),fields);
|
||||||
|
if (rev->get_event_type() == mysql::UPDATE_ROWS_EVENT)
|
||||||
|
{
|
||||||
|
++it;
|
||||||
|
mysql::Row_of_fields fields2= *it;
|
||||||
|
table_update(os.str(),fields,fields2);
|
||||||
|
}
|
||||||
|
if (rev->get_event_type() == mysql::DELETE_ROWS_EVENT)
|
||||||
|
table_delete(os.str(),fields);
|
||||||
|
} while (++it != rows.end());
|
||||||
|
|
||||||
|
/* Consume the event */
|
||||||
|
delete rev;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
private:
|
||||||
|
Table_index *m_table_index;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
int main(int argc, char** argv)
|
||||||
|
{
|
||||||
|
if (argc != 3)
|
||||||
|
{
|
||||||
|
fprintf(stderr,"Usage:\n\nmysql2lucene URL\n\nExample:\n\nmysql2lucene mysql://root@127.0.0.1:3306 myindexfile\n\n");
|
||||||
|
return (EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
|
Binary_log binlog(create_transport(argv[1]));
|
||||||
|
|
||||||
|
|
||||||
|
cl_index_file.append (argv[2]);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Attach a custom event content handlers
|
||||||
|
*/
|
||||||
|
Incident_handler incident_hndlr;
|
||||||
|
Table_index table_event_hdlr;
|
||||||
|
Applier replay_hndlr(&table_event_hdlr);
|
||||||
|
|
||||||
|
binlog.content_handler_pipeline()->push_back(&table_event_hdlr);
|
||||||
|
binlog.content_handler_pipeline()->push_back(&incident_hndlr);
|
||||||
|
binlog.content_handler_pipeline()->push_back(&replay_hndlr);
|
||||||
|
|
||||||
|
if (binlog.connect())
|
||||||
|
{
|
||||||
|
fprintf(stderr,"Can't connect to the master.\n");
|
||||||
|
return (EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
|
binlog.set_position("searchbin.000001", 4);
|
||||||
|
|
||||||
|
bool quit= false;
|
||||||
|
while(!quit)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
Pull events from the master. This is the heart beat of the event listener.
|
||||||
|
*/
|
||||||
|
Binary_log_event *event;
|
||||||
|
binlog.wait_for_next_event(&event);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Print the event
|
||||||
|
*/
|
||||||
|
std::cout << "Event type: "
|
||||||
|
<< mysql::system::get_event_type_str(event->get_event_type())
|
||||||
|
<< " length: " << event->header()->event_length
|
||||||
|
<< " next pos: " << event->header()->next_position
|
||||||
|
<< std::endl;
|
||||||
|
|
||||||
|
/*
|
||||||
|
Perform a special action based on event type
|
||||||
|
*/
|
||||||
|
|
||||||
|
switch(event->header()->type_code)
|
||||||
|
{
|
||||||
|
case mysql::QUERY_EVENT:
|
||||||
|
{
|
||||||
|
const mysql::Query_event *qev= static_cast<const mysql::Query_event *>(event);
|
||||||
|
std::cout << "query= "
|
||||||
|
<< qev->query
|
||||||
|
<< " db= "
|
||||||
|
<< qev->db_name
|
||||||
|
<< std::endl
|
||||||
|
<< std::endl;
|
||||||
|
if (qev->query.find("DROP TABLE REPLICATION_LISTENER") != std::string::npos)
|
||||||
|
{
|
||||||
|
quit= true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case mysql::ROTATE_EVENT:
|
||||||
|
{
|
||||||
|
mysql::Rotate_event *rot= static_cast<mysql::Rotate_event *>(event);
|
||||||
|
std::cout << "filename= "
|
||||||
|
<< rot->binlog_file.c_str()
|
||||||
|
<< " pos= "
|
||||||
|
<< rot->binlog_pos
|
||||||
|
<< std::endl
|
||||||
|
<< std::endl;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
} // end switch
|
||||||
|
delete event;
|
||||||
|
} // end loop
|
||||||
|
return (EXIT_SUCCESS);
|
||||||
|
}
|
||||||
96
replication_listener/examples/mysql2lucene/table_delete.cpp
Normal file
96
replication_listener/examples/mysql2lucene/table_delete.cpp
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "globals.h"
|
||||||
|
#include "table_delete.h"
|
||||||
|
|
||||||
|
#include <CLucene.h>
|
||||||
|
|
||||||
|
CL_NS_USE(index)
|
||||||
|
CL_NS_USE(util)
|
||||||
|
CL_NS_USE(store)
|
||||||
|
CL_NS_USE(search)
|
||||||
|
CL_NS_USE(document)
|
||||||
|
CL_NS_USE(queryParser)
|
||||||
|
CL_NS_USE(analysis)
|
||||||
|
CL_NS_USE2(analysis,standard)
|
||||||
|
|
||||||
|
void table_delete(std::string table_name, mysql::Row_of_fields &fields)
|
||||||
|
{
|
||||||
|
|
||||||
|
mysql::Row_of_fields::iterator field_it= fields.begin();
|
||||||
|
/*
|
||||||
|
* First column must be an integer key value
|
||||||
|
*/
|
||||||
|
if (!(field_it->type() == mysql::system::MYSQL_TYPE_LONG ||
|
||||||
|
field_it->type() == mysql::system::MYSQL_TYPE_SHORT ||
|
||||||
|
field_it->type() == mysql::system::MYSQL_TYPE_LONGLONG))
|
||||||
|
return;
|
||||||
|
|
||||||
|
int field_id= 0;
|
||||||
|
std::string key;
|
||||||
|
std::string combined_key;
|
||||||
|
mysql::Converter converter;
|
||||||
|
converter.to(key, *field_it);
|
||||||
|
combined_key.append (table_name);
|
||||||
|
combined_key.append ("_");
|
||||||
|
combined_key.append (key);
|
||||||
|
do {
|
||||||
|
/*
|
||||||
|
Each row contains a vector of Value objects. The converter
|
||||||
|
allows us to transform the value into another
|
||||||
|
representation.
|
||||||
|
Only index fields which might contain searchable information.
|
||||||
|
*/
|
||||||
|
if (field_it->type() == mysql::system::MYSQL_TYPE_VARCHAR ||
|
||||||
|
field_it->type() == mysql::system::MYSQL_TYPE_MEDIUM_BLOB ||
|
||||||
|
field_it->type() == mysql::system::MYSQL_TYPE_BLOB)
|
||||||
|
{
|
||||||
|
std::string str;
|
||||||
|
converter.to(str, *field_it);
|
||||||
|
StandardAnalyzer an;
|
||||||
|
IndexReader *reader;
|
||||||
|
/*
|
||||||
|
* Create a Lucene index writer
|
||||||
|
*/
|
||||||
|
if ( IndexReader::indexExists(cl_index_file.c_str()) )
|
||||||
|
{
|
||||||
|
if ( IndexReader::isLocked(cl_index_file.c_str()) )
|
||||||
|
{
|
||||||
|
std::cout << "Index was locked; unlocking it."
|
||||||
|
<< std::endl;
|
||||||
|
IndexReader::unlock(cl_index_file.c_str());
|
||||||
|
}
|
||||||
|
reader= IndexReader::open(cl_index_file.c_str());
|
||||||
|
}
|
||||||
|
|
||||||
|
std::cout << "Deleting index '"
|
||||||
|
<< combined_key
|
||||||
|
<< "'" << std::endl;
|
||||||
|
TCHAR *combined_key_w= STRDUP_AtoW(combined_key.c_str ());
|
||||||
|
Term uniqueKey(_T("id"),combined_key_w);
|
||||||
|
reader->deleteDocuments(&uniqueKey);
|
||||||
|
delete combined_key_w;
|
||||||
|
reader->close();
|
||||||
|
delete reader;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
} while(++field_it != fields.end());
|
||||||
|
}
|
||||||
35
replication_listener/examples/mysql2lucene/table_delete.h
Normal file
35
replication_listener/examples/mysql2lucene/table_delete.h
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* File: table_delete.h
|
||||||
|
* Author: thek
|
||||||
|
*
|
||||||
|
* Created on den 17 juni 2010, 14:28
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _TABLE_DELETE_H
|
||||||
|
#define _TABLE_DELETE_H
|
||||||
|
#include <string>
|
||||||
|
#include "binlog_api.h"
|
||||||
|
|
||||||
|
void table_delete(std::string table_name, mysql::Row_of_fields &fields);
|
||||||
|
|
||||||
|
#endif /* _TABLE_DELETE_H */
|
||||||
54
replication_listener/examples/mysql2lucene/table_index.cpp
Normal file
54
replication_listener/examples/mysql2lucene/table_index.cpp
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "table_index.h"
|
||||||
|
|
||||||
|
mysql::Binary_log_event *Table_index::process_event(mysql::Table_map_event *tm)
|
||||||
|
{
|
||||||
|
if (find(tm->table_id) == end())
|
||||||
|
insert(Event_index_element(tm->table_id,tm));
|
||||||
|
|
||||||
|
/* Consume this event so it won't be deallocated beneith our feet */
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
Table_index::~Table_index ()
|
||||||
|
{
|
||||||
|
Int2event_map::iterator it= begin();
|
||||||
|
do
|
||||||
|
{
|
||||||
|
delete it->second;
|
||||||
|
} while( ++it != end());
|
||||||
|
}
|
||||||
|
|
||||||
|
int Table_index::get_table_name(int table_id, std::string out)
|
||||||
|
{
|
||||||
|
iterator it;
|
||||||
|
if ((it= find(table_id)) == end())
|
||||||
|
{
|
||||||
|
std::stringstream os;
|
||||||
|
os << "unknown_table_" << table_id;
|
||||||
|
out.append(os.str());
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
out.append(it->second->table_name);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
49
replication_listener/examples/mysql2lucene/table_index.h
Normal file
49
replication_listener/examples/mysql2lucene/table_index.h
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* File: table_index.h
|
||||||
|
* Author: thek
|
||||||
|
*
|
||||||
|
* Created on den 8 september 2010, 13:47
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef TABLE_INDEX_H
|
||||||
|
#define TABLE_INDEX_H
|
||||||
|
#include "binlog_event.h"
|
||||||
|
#include <map>
|
||||||
|
#include "basic_content_handler.h"
|
||||||
|
|
||||||
|
typedef std::pair<boost::uint64_t, mysql::Table_map_event *> Event_index_element;
|
||||||
|
typedef std::map<boost::uint64_t, mysql::Table_map_event *> Int2event_map;
|
||||||
|
|
||||||
|
class Table_index : public mysql::Content_handler, public Int2event_map
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
mysql::Binary_log_event *process_event(mysql::Table_map_event *tm);
|
||||||
|
|
||||||
|
~Table_index();
|
||||||
|
|
||||||
|
int get_table_name(int table_id, std::string out);
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* TABLE_INDEX_H */
|
||||||
152
replication_listener/examples/mysql2lucene/table_insert.cpp
Normal file
152
replication_listener/examples/mysql2lucene/table_insert.cpp
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "globals.h"
|
||||||
|
#include "table_insert.h"
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <CLucene.h>
|
||||||
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
|
CL_NS_USE(index)
|
||||||
|
CL_NS_USE(util)
|
||||||
|
CL_NS_USE(store)
|
||||||
|
CL_NS_USE(search)
|
||||||
|
CL_NS_USE(document)
|
||||||
|
CL_NS_USE(queryParser)
|
||||||
|
CL_NS_USE(analysis)
|
||||||
|
CL_NS_USE2(analysis,standard)
|
||||||
|
|
||||||
|
void table_insert(std::string table_name, mysql::Row_of_fields &fields)
|
||||||
|
{
|
||||||
|
mysql::Row_of_fields::iterator field_it= fields.begin();
|
||||||
|
/*
|
||||||
|
* First column must be an integer key value
|
||||||
|
*/
|
||||||
|
if (!(field_it->type() == mysql::system::MYSQL_TYPE_LONG ||
|
||||||
|
field_it->type() == mysql::system::MYSQL_TYPE_SHORT ||
|
||||||
|
field_it->type() == mysql::system::MYSQL_TYPE_LONGLONG))
|
||||||
|
return;
|
||||||
|
|
||||||
|
Document *doc= new Document();
|
||||||
|
IndexWriter* writer = NULL;
|
||||||
|
StandardAnalyzer an;
|
||||||
|
mysql::Converter converter;
|
||||||
|
bool found_searchable= false;
|
||||||
|
int col= 0;
|
||||||
|
TCHAR *w_table_name;
|
||||||
|
TCHAR *w_str;
|
||||||
|
TCHAR *w_key_str;
|
||||||
|
TCHAR *w_combined_key;
|
||||||
|
std::string aggstr;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Create a Lucene index writer
|
||||||
|
*/
|
||||||
|
if ( IndexReader::indexExists(cl_index_file.c_str()) )
|
||||||
|
{
|
||||||
|
if ( IndexReader::isLocked(cl_index_file.c_str()) )
|
||||||
|
{
|
||||||
|
printf("Index was locked... unlocking it.\n");
|
||||||
|
IndexReader::unlock(cl_index_file.c_str());
|
||||||
|
}
|
||||||
|
writer = new IndexWriter( cl_index_file.c_str(), &an, false);
|
||||||
|
}else{
|
||||||
|
writer = new IndexWriter( cl_index_file.c_str() ,&an, true);
|
||||||
|
}
|
||||||
|
writer->setMaxFieldLength(IndexWriter::DEFAULT_MAX_FIELD_LENGTH);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Save the presumed table key for later use when we discover if this row
|
||||||
|
* should be indexed.
|
||||||
|
*/
|
||||||
|
std::string key;
|
||||||
|
converter.to(key, *field_it);
|
||||||
|
|
||||||
|
do {
|
||||||
|
/*
|
||||||
|
Each row contains a vector of Value objects. The converter
|
||||||
|
allows us to transform the value into another
|
||||||
|
representation.
|
||||||
|
Only index fields which might contain searchable information.
|
||||||
|
*/
|
||||||
|
if (field_it->type() == mysql::system::MYSQL_TYPE_VARCHAR ||
|
||||||
|
field_it->type() == mysql::system::MYSQL_TYPE_MEDIUM_BLOB ||
|
||||||
|
field_it->type() == mysql::system::MYSQL_TYPE_BLOB)
|
||||||
|
{
|
||||||
|
std::string str;
|
||||||
|
converter.to(str, *field_it);
|
||||||
|
if (!found_searchable)
|
||||||
|
{
|
||||||
|
std::string combined_key;
|
||||||
|
combined_key.append(table_name);
|
||||||
|
combined_key.append("_");
|
||||||
|
combined_key.append(key);
|
||||||
|
w_table_name= STRDUP_AtoW(table_name.c_str());
|
||||||
|
Field *table_field= new Field(_T("table"),w_table_name, Field::STORE_YES | Field::INDEX_UNTOKENIZED);
|
||||||
|
doc->add( *table_field );
|
||||||
|
found_searchable= true;
|
||||||
|
w_key_str= STRDUP_AtoW(key.c_str());
|
||||||
|
Field *key_field= new Field(_T("row_id"),w_key_str, Field::STORE_YES | Field::INDEX_UNTOKENIZED);
|
||||||
|
doc->add(*key_field);
|
||||||
|
w_combined_key= STRDUP_AtoW(combined_key.c_str());
|
||||||
|
Field *combined_key_field= new Field(_T("id"),w_combined_key, Field::STORE_YES | Field::INDEX_UNTOKENIZED);
|
||||||
|
doc->add(*combined_key_field);
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
* Aggregate all searchable information into one string. The key is the
|
||||||
|
* qualified table name.
|
||||||
|
*/
|
||||||
|
aggstr.append(" "); // This separator helps us loosing important tokens.
|
||||||
|
aggstr.append(str);
|
||||||
|
++col;
|
||||||
|
}
|
||||||
|
} while(++field_it != fields.end());
|
||||||
|
if (found_searchable)
|
||||||
|
{
|
||||||
|
std::cout << "Indexing "
|
||||||
|
<< aggstr.length()
|
||||||
|
<< " characters in table '"
|
||||||
|
<< table_name
|
||||||
|
<< "' using key value '"
|
||||||
|
<< key
|
||||||
|
<< "'."
|
||||||
|
<< std::endl;
|
||||||
|
std::cout.flush ();
|
||||||
|
w_str= STRDUP_AtoW(aggstr.c_str());
|
||||||
|
Field *content_field= new Field(_T("text"),w_str, Field::STORE_YES | Field::INDEX_TOKENIZED);
|
||||||
|
doc->add( *content_field );
|
||||||
|
}
|
||||||
|
writer->addDocument(doc);
|
||||||
|
writer->close();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Clean up dynamic allocations during indexing
|
||||||
|
*/
|
||||||
|
if (found_searchable)
|
||||||
|
{
|
||||||
|
free(w_table_name);
|
||||||
|
free(w_str);
|
||||||
|
free(w_key_str);
|
||||||
|
free(w_combined_key);
|
||||||
|
}
|
||||||
|
delete(doc);
|
||||||
|
delete(writer);
|
||||||
|
}
|
||||||
36
replication_listener/examples/mysql2lucene/table_insert.h
Normal file
36
replication_listener/examples/mysql2lucene/table_insert.h
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* File: table_insert.h
|
||||||
|
* Author: thek
|
||||||
|
*
|
||||||
|
* Created on den 15 juni 2010, 09:34
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _TABLE_INSERT_H
|
||||||
|
#define _TABLE_INSERT_H
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include "binlog_api.h"
|
||||||
|
|
||||||
|
void table_insert(std::string table_name, mysql::Row_of_fields &fields);
|
||||||
|
|
||||||
|
#endif /* _TABLE_INSERT_H */
|
||||||
37
replication_listener/examples/mysql2lucene/table_update.cpp
Normal file
37
replication_listener/examples/mysql2lucene/table_update.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "table_update.h"
|
||||||
|
#include "table_insert.h"
|
||||||
|
#include "table_delete.h"
|
||||||
|
|
||||||
|
void table_update(std::string table_name, mysql::Row_of_fields &old_fields, mysql::Row_of_fields &new_fields)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
Find previous entry and delete it.
|
||||||
|
*/
|
||||||
|
table_delete(table_name, old_fields);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Insert new entry.
|
||||||
|
*/
|
||||||
|
table_insert(table_name, new_fields);
|
||||||
|
|
||||||
|
}
|
||||||
34
replication_listener/examples/mysql2lucene/table_update.h
Normal file
34
replication_listener/examples/mysql2lucene/table_update.h
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/*
|
||||||
|
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
|
||||||
|
reserved.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public License
|
||||||
|
as published by the Free Software Foundation; version 2 of
|
||||||
|
the License.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
02110-1301 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* File: table_update.h
|
||||||
|
* Author: thek
|
||||||
|
*
|
||||||
|
* Created on den 17 juni 2010, 14:27
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _TABLE_UPDATE_H
|
||||||
|
#define _TABLE_UPDATE_H
|
||||||
|
#include <string>
|
||||||
|
#include "binlog_api.h"
|
||||||
|
void table_update(std::string table_name, mysql::Row_of_fields &old_fields, mysql::Row_of_fields &new_fields);
|
||||||
|
|
||||||
|
#endif /* _TABLE_UPDATE_H */
|
||||||
35
replication_listener/examples/test.sql
Normal file
35
replication_listener/examples/test.sql
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
DROP DATABASE NEW1;
|
||||||
|
DROP DATABASE NEW2;
|
||||||
|
CREATE DATABASE NEW1;
|
||||||
|
CREATE DATABASE NEW2;
|
||||||
|
USE NEW1;
|
||||||
|
CREATE TABLE NEW_TEST1(A INT NOT NULL PRIMARY KEY, B INT) ENGINE=INNODB;
|
||||||
|
CREATE TABLE NEW_TEST2(A INT NOT NULL PRIMARY KEY, B INT) ENGINE=INNODB;
|
||||||
|
USE NEW2;
|
||||||
|
CREATE TABLE NEW_TEST3(A INT NOT NULL PRIMARY KEY, B INT) ENGINE=INNODB;
|
||||||
|
CREATE TABLE NEW_TEST4(A INT NOT NULL PRIMARY KEY, B INT) ENGINE=INNODB;
|
||||||
|
USE NEW1;
|
||||||
|
INSERT INTO NEW_TEST1 VALUES (1,1),(2,2)(3,3),(4,4);
|
||||||
|
INSERT INTO NEW_TEST1 VALUES (5,5),(6,2)(7,3),(8,4);
|
||||||
|
INSERT INTO NEW_TEST2 VALUES (1,1),(2,2)(3,3),(4,4);
|
||||||
|
INSERT INTO NEW_TEST2 VALUES (5,5),(6,2)(7,3),(8,4);
|
||||||
|
INSERT INTO NEW_TEST1 VALUES (9,9);
|
||||||
|
USE NEW2;
|
||||||
|
INSERT INTO NEW_TEST3 VALUES (1,1),(2,2)(3,3),(4,4);
|
||||||
|
INSERT INTO NEW_TEST3 VALUES (5,5),(6,2)(7,3),(8,4);
|
||||||
|
INSERT INTO NEW_TEST4 VALUES (1,1),(2,2)(3,3),(4,4);
|
||||||
|
INSERT INTO NEW_TEST4 VALUES (5,5),(6,2)(7,3),(8,4);
|
||||||
|
INSERT INTO NEW_TEST4 VALUES (9,9);
|
||||||
|
COMMIT;
|
||||||
|
USE NEW1;
|
||||||
|
UPDATE NEW_TEST1 SET B = B + 1;
|
||||||
|
USE NEW2;
|
||||||
|
UPDATE NEW_TEST4 SET B = B + 1;
|
||||||
|
COMMIT;
|
||||||
|
DELETE FROM NEW1.NEW_TEST2 WHERE A = 3;
|
||||||
|
DELETE FROM NEW2.NEW_TEST3 WHERE A = 3;
|
||||||
|
UPDATE NEW1.NEW_TEST1 SET B = B + 5 WHERE A = 4;
|
||||||
|
UPDATE NEW2.NEW_TEST4 SET B = B + 5 WHERE A = 4;
|
||||||
|
USE NEW1;
|
||||||
|
DROP TABLE NEW_TEST1;
|
||||||
|
DROP TABLE NEW2.NEW_TEST3;
|
||||||
16
replication_listener/homebrew/mysql-replication-listener.rb
Normal file
16
replication_listener/homebrew/mysql-replication-listener.rb
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
require 'formula'
|
||||||
|
|
||||||
|
class MysqlReplicationListener < Formula
|
||||||
|
url 'https://bitbucket.org/winebarrel/mysql-replication-listener.git', :tag => '0.0.47-10'
|
||||||
|
homepage 'https://bitbucket.org/winebarrel/mysql-replication-listener'
|
||||||
|
|
||||||
|
depends_on 'cmake'
|
||||||
|
depends_on 'boost'
|
||||||
|
#depends_on 'openssl'
|
||||||
|
|
||||||
|
def install
|
||||||
|
system 'cmake', '.'
|
||||||
|
system 'make'
|
||||||
|
system 'make install'
|
||||||
|
end
|
||||||
|
end
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user