diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2014-08-12 09:10:20 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-08-12 09:11:43 +0200 |
commit | 6ec17530c5c715e47befeb18646022b6ea54efdf (patch) | |
tree | 51bf8f6f84fbc33f802e15f5579f68491ed11637 /external/mysqlcppconn | |
parent | Add reference to 'DomainMapper' to some DOCX import classes (diff) | |
download | core-6ec17530c5c715e47befeb18646022b6ea54efdf.tar.gz core-6ec17530c5c715e47befeb18646022b6ea54efdf.zip |
mysqlcppconn: limit cmake to the role we left it
generate version_info.h
Change-Id: I6ea57ef1403974d19a0dca1f76e40a6d68a9e44c
Diffstat (limited to 'external/mysqlcppconn')
-rw-r--r-- | external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk | 1 | ||||
-rw-r--r-- | external/mysqlcppconn/patches/cmake.patch | 363 |
2 files changed, 364 insertions, 0 deletions
diff --git a/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk b/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk index 74f19ac178f0..5f5a437efcd5 100644 --- a/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk +++ b/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk @@ -18,6 +18,7 @@ $(eval $(call gb_UnpackedTarball_add_file,mysqlcppconn,driver/nativeapi/binding_ $(eval $(call gb_UnpackedTarball_add_patches,mysqlcppconn,\ external/mysqlcppconn/patches/mysql-connector-c++-1.1.0.patch \ external/mysqlcppconn/patches/warnings.patch.0 \ + external/mysqlcppconn/patches/cmake.patch \ )) # vim: set noet sw=4 ts=4: diff --git a/external/mysqlcppconn/patches/cmake.patch b/external/mysqlcppconn/patches/cmake.patch new file mode 100644 index 000000000000..79fe064fc8e6 --- /dev/null +++ b/external/mysqlcppconn/patches/cmake.patch @@ -0,0 +1,363 @@ +diff --recursive -u UnpackedTarball/mysqlcppconn.origin/CMakeLists.txt UnpackedTarball/mysqlcppconn/CMakeLists.txt +--- UnpackedTarball/mysqlcppconn.origin/CMakeLists.txt 2014-08-12 08:44:13.262850586 +0200 ++++ UnpackedTarball/mysqlcppconn/CMakeLists.txt 2014-08-12 08:51:01.572088747 +0200 +@@ -61,282 +61,3 @@ + SET( LICENSE_FILENAME "${LICENSE_FILENAME}")") + ENDIF(WIN32) + +-#----------------- +-# CPPFLAGS, CXXFLAGS and LDFLAGS from the environment +-SET(MYSQLCPPCONN_COMPILE_FLAGS_ENV "$ENV{CPPFLAGS} ${MYSQL_CXXFLAGS} $ENV{CXXFLAGS}") +-MESSAGE(STATUS "Environment compile flags: ${MYSQLCPPCONN_COMPILE_FLAGS_ENV}") +- +-SET(MYSQLCPPCONN_LINK_FLAGS_ENV "$ENV{LDFLAGS}") +-MESSAGE(STATUS "Environment link flags: ${MYSQLCPPCONN_LINK_FLAGS_ENV}") +- +-#----------------- +-# ICU +- +-SET(MYSQLCPPCONN_ICU_ENABLE 0 CACHE BOOL "development only: search icu although we do not make use of it yet.") +- +-IF(MYSQLCPPCONN_ICU_ENABLE) +- SET(MYSQLCPPCONN_ICU_CONFIG_EXECUTABLE) +- SET(MYSQLCPPCONN_ICU_LIBRARY) +- SET(MYSQLCPPCONN_ICU_INCLUDE) +- +- FIND_PROGRAM (MYSQLCPPCONN_ICU_CONFIG_EXECUTABLE icu-config) +- +- IF (NOT MYSQLCPPCONN_ICU_CONFIG_EXECUTABLE) +- SET (MYSQLCPPCONN_ICU_FOUND FALSE) +- MESSAGE(STATUS "icu-config not found") +- ELSE (NOT MYSQLCPPCONN_ICU_CONFIG_EXECUTABLE) +- +- EXEC_PROGRAM ("${MYSQLCPPCONN_ICU_CONFIG_EXECUTABLE} --ldflags-libsonly" +- OUTPUT_VARIABLE MYSQLCPPCONN_ICU_LIBRARY +- RETURN_VALUE ERROR_CODE +- ) +- +- EXEC_PROGRAM ("${MYSQLCPPCONN_ICU_CONFIG_EXECUTABLE} --cppflags-searchpath|sed s/^-I//" +- OUTPUT_VARIABLE MYSQLCPPCONN_ICU_INCLUDE +- RETURN_VALUE ERROR_CODE +- ) +- +- EXEC_PROGRAM ("${MYSQLCPPCONN_ICU_CONFIG_EXECUTABLE} --ldflags-searchpath|sed s/^-L//" +- OUTPUT_VARIABLE MYSQLCPPCONN_ICU_LDLIB +- RETURN_VALUE ERROR_CODE +- ) +- +- IF (MYSQLCPPCONN_ICU_LIBRARY) +- SET (MYSQLCPPCONN_ICU_FOUND TRUE) +- ENDIF (MYSQLCPPCONN_ICU_LIBRARY) +- +- MESSAGE(STATUS "ICU::CONFIG: ${MYSQLCPPCONN_ICU_CONFIG_EXECUTABLE}") +- MESSAGE(STATUS "ICU::LIBRARY: ${MYSQLCPPCONN_ICU_LIBRARY}") +- MESSAGE(STATUS "ICU::INCLUDE: ${MYSQLCPPCONN_ICU_INCLUDE}") +- MESSAGE(STATUS "ICU::LDLIB: ${MYSQLCPPCONN_ICU_LDLIB}") +- +- INCLUDE_DIRECTORIES(${MYSQLCPPCONN_ICU_INCLUDE}) +- LINK_DIRECTORIES(${MYSQLCPPCONN_ICU_LDLIB}) +- ENDIF (NOT MYSQLCPPCONN_ICU_CONFIG_EXECUTABLE) +-ENDIF(MYSQLCPPCONN_ICU_ENABLE) +-#----------------- +- +-#----------------- +-# BOOST +-SET(ENV_BOOST $ENV{BOOST_ROOT}) +-IF(NOT BOOST_ROOT AND ENV_BOOST) +- SET(BOOST_ROOT ${ENV_BOOST}) +-ENDIF(NOT BOOST_ROOT AND ENV_BOOST) +- +-IF(NOT BOOST_ROOT AND WIN32) +- SET(BOOST_ROOT "C:/Program Files/Boost") +-ENDIF(NOT BOOST_ROOT AND WIN32) +- +-# Prefer static linking in all cases +-SET(Boost_ADDITIONAL_VERSIONS "1.37.0" "1.37" "1.38.0" "1.38" "1.39.0" "1.39") +-SET(MYSQLCPPCONN_BOOST_COMPONENTS thread date_time) +-SET(Boost_USE_STATIC_LIBS TRUE) +-#FIND_PACKAGE(Boost COMPONENTS ${MYSQLCPPCONN_BOOST_COMPONENTS}) +-FIND_PACKAGE(Boost) +-IF(NOT Boost_FOUND) +- # Try dynamic +- set(Boost_USE_STATIC_LIBS FALSE) +- FIND_PACKAGE(Boost COMPONENTS ${MYSQLCPPCONN_BOOST_COMPONENTS}) +- IF(NOT Boost_FOUND) +- MESSAGE(FATAL_ERROR "Boost or some of its libraries found. If not in standard place please set -DBOOST_ROOT:STRING=") +- ENDIF(NOT Boost_FOUND) +-ENDIF(NOT Boost_FOUND) +- +-SET(MYSQLCPPCONN_BOOST_INCLUDE_DIRS ${Boost_INCLUDE_DIRS}) +-SET(MYSQLCPPCONN_BOOST_SYSTEM_LIBS ${Boost_SYSTEM_LIBRARY}) +-SET(MYSQLCPPCONN_BOOST_THREAD_LIBS ${Boost_THREAD_LIBRARY}) +-SET(MYSQLCPPCONN_BOOST_LIBRARY_DIRS ${Boost_LIBRARY_DIRS}) +- +-INCLUDE_DIRECTORIES(${MYSQLCPPCONN_BOOST_INCLUDE_DIRS}) +-MESSAGE(STATUS "BOOST_INCLUDE_DIRS=${MYSQLCPPCONN_BOOST_INCLUDE_DIRS}") +- +- +-#----------------- +- +- +-if(COMMAND cmake_policy) +- cmake_policy(SET CMP0003 NEW) +-endif(COMMAND cmake_policy) +- +-INCLUDE(CheckIncludeFiles) +-INCLUDE(CheckFunctionExists) +-INCLUDE(CheckTypeSize) +- +- +-#---------------------- +-# STLPORT - BEGIN +-# +-SET(MYSQLCPPCONN_STLPORT_ENABLE 0 CACHE BOOL "stlport-enabled") +-IF(MYSQLCPPCONN_STLPORT_ENABLE) +- MESSAGE(STATUS "Looking for STLPort") +- FIND_PATH(STLPORT_INCLUDE_DIR stl_user_config.h +- $ENV{STLPORT_INCLUDE_DIR} +- /usr/include/stlport +- /usr/local/include/stlport) +- IF(STLPORT_INCLUDE_DIR) +- MESSAGE(STATUS "Using STLPort from : ${STLPORT_INCLUDE_DIR}") +- +- INCLUDE_DIRECTORIES(STLPORT_INCLUDE_DIR) +- SET(MYSQLCPPCONN_STLPORT_LIB "stlport") +- ELSE(STLPORT_INCLUDE_DIR) +- MESSAGE(FATAL_ERROR "STLPORT not found. Please set \$ENV{STLPORT_INCLUDE_DIR} if installed in non-standard location") +- ENDIF(STLPORT_INCLUDE_DIR) +- +- # We want to set the inclusion of the library globally +- ADD_DEFINITIONS(-library=stlport4) # Not a macro defintion, but CMake manual says I can!! ;) +- SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -library=stlport4") +- SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -library=stlport4") +- SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -library=stlport4") +- +-ELSE(MYSQLCPPCONN_STLPORT_ENABLE) +- SET(MYSQLCPPCONN_STLPORT_LIB "") +-ENDIF(MYSQLCPPCONN_STLPORT_ENABLE) +-# +-# STLPORT - END +-#---------------------- +- +-# Make tests cover methods that throw not implemented to detect API changes? +-SET(MYSQLCPPCONN_TEST_NOT_IMPLEMENTED 0 CACHE BOOL "HEAD/trunk QA: invoke methods that should return not implemented to detect API changes") +- +-INCLUDE(${CMAKE_SOURCE_DIR}/FindMySQL.cmake) +- +-# ---------------------------------------------------------------------- +-# Create package script +-# ---------------------------------------------------------------------- +- +-IF(NOT CONNECTOR_PLATFORM) +- IF(WIN32) +- IF(CMAKE_SIZEOF_VOID_P MATCHES 8) +- SET(CONNECTOR_PLATFORM "winx64") +- ELSE(CMAKE_SIZEOF_VOID_P MATCHES 8) +- SET(CONNECTOR_PLATFORM "win32") +- ENDIF(CMAKE_SIZEOF_VOID_P MATCHES 8) +- ELSE(WIN32) +- SET(CONNECTOR_PLATFORM "unknown") +- ENDIF(WIN32) +-ENDIF(NOT CONNECTOR_PLATFORM) +- +-#CPACK version variables are initialized in VersionInfo.cmake +-# Get the part of the package name for this product +-IF(MYSQL_SERVER_SUFFIX STREQUAL "-community") +- SET(CPACK_SERVER_SUFFIX "") +-ELSE(MYSQL_SERVER_SUFFIX STREQUAL "-community") +- SET(CPACK_SERVER_SUFFIX ${MYSQL_SERVER_SUFFIX}) +-ENDIF(MYSQL_SERVER_SUFFIX STREQUAL "-community") +- +-IF(EXTRA_NAME_SUFFIX) +- SET(CPACK_PACKAGE_NAME "mysql-connector-c++${EXTRA_NAME_SUFFIX}") +-ELSE(EXTRA_NAME_SUFFIX) +- SET(CPACK_PACKAGE_NAME "mysql-connector-c++") +-ENDIF(EXTRA_NAME_SUFFIX) +- +-SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY +- "Connector/C++, a library for connecting to MySQL servers.") +-SET(CPACK_PACKAGE_VENDOR "Oracle and/or its affiliates") +-SET(CPACK_RPM_PACKAGE_DESCRIPTION +-"The MySQL Connector/C++ is a MySQL database connector for C++. The +-MySQL Driver for C++ can be used to connect to the MySQL Server from +-C++ applications. The MySQL Driver for C++ mimics the JDBC 4.0 API. It +-is recommended to use the connector with MySQL 5.1 or later. Note - +-its full functionality is not available when connecting to MySQL 5.0. +-The MySQL Driver for C++ cannot connect to MySQL 4.1 or earlier. MySQL +-is a trademark of ${CPACK_PACKAGE_VENDOR} +- +-The MySQL software has Dual Licensing, which means you can use the MySQL +-software free of charge under the GNU General Public License +-(http://www.gnu.org/licenses/). You can also purchase commercial MySQL +-licenses from ${CPACK_PACKAGE_VENDOR} if you do not wish to be +-QLCPPCONN_VERSION +-in the manual for further info.") +- +-SET(CPACK_RESOURCE_FILE_LICENSE "${LICENSE_FILENAME}") +-SET(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README") +-SET(CPACK_RESOURCE_FILE_INSTALL "${CMAKE_SOURCE_DIR}/INSTALL") +-SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${MYSQLCPPCONN_VERSION}") +-SET(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_NAME}-${MYSQLCPPCONN_VERSION}-${CONNECTOR_PLATFORM}") +-IF(WIN32) +- SET(CPACK_GENERATOR "ZIP") +- SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-noinstall-${MYSQLCPPCONN_VERSION}-${CONNECTOR_PLATFORM}") +-ELSE(WIN32) +- SET(CPACK_GENERATOR "TGZ") +- SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}") +-ENDIF(WIN32) +- +-INSTALL(FILES +- ${CPACK_RESOURCE_FILE_README} +- ${CPACK_RESOURCE_FILE_INSTALL} +- ${CPACK_RESOURCE_FILE_LICENSE} +- "${CMAKE_SOURCE_DIR}/Licenses_for_Third-Party_Components.txt" +- "${CMAKE_SOURCE_DIR}/ANNOUNCEMENT" +- DESTINATION "." OPTIONAL) +- +-SET(COMMON_IGNORE_FILES "/CMakeFiles/" "/Testing/" "/.bzr/" "_CPack_Packages/" +- "~" ".swp" ".log" ".gz" ".directory$" "CMakeCache.txt" "Makefile" +- "install_manifest.txt") +-SET(PRJ_COMMON_IGNORE_FILES ${COMMON_IGNORE_FILES} "ANNOUNCEMENT_102_ALPHA" "ANNOUNCEMENT_103_ALPHA" "ANNOUNCEMENT_104_BETA" "ANNOUNCEMENT_105_GA" "ANNOUNCEMENT_110_GA" "ANNOUNCEMENT_111_GA" "ANNOUNCEMENT_DRAFT" ) +- +-SET(CPACK_SOURCE_IGNORE_FILES ${PRJ_COMMON_IGNORE_FILES} "./cppconn/config.h$" "./driver/nativeapi/binding_config.h$" "./driver/version_info.h$") +-SET(CPACK_PACKAGE_IGNORE_FILES ${PRJ_COMMON_IGNORE_FILES} "something_there" ) +-SET(CPACK_SOURCE_GENERATOR "TGZ") +- +-SET(MYSQLCPPCONN_GCOV_ENABLE 0 CACHE BOOL "gcov-enabled") +-IF(CMAKE_COMPILER_IS_GNUCC) +- ADD_DEFINITIONS("-Wall -fPIC -Woverloaded-virtual") +- IF (MYSQLCPPCONN_GCOV_ENABLE) +- ADD_DEFINITIONS("-fprofile-arcs -ftest-coverage") +- ENDIF (MYSQLCPPCONN_GCOV_ENABLE) +-ENDIF(CMAKE_COMPILER_IS_GNUCC) +- +-# SET(CPACK_*) before the INCLUDE(CPack) +-INCLUDE(CPack) +- +-IF(WIN32) +- STRING(REGEX REPLACE "MYSQLCPPCONN" "MySQL/ConnectorCPP" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") +-ENDIF(WIN32) +-MESSAGE(STATUS "Installation path is: ${CMAKE_INSTALL_PREFIX} (overwrite with -DCMAKE_INSTALL_PREFIX=/your/path)") +- +-INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}) +-INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/cppconn) +-INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/driver/nativeapi) +- +-ADD_SUBDIRECTORY(cppconn) +-ADD_SUBDIRECTORY(driver) +-ADD_SUBDIRECTORY(examples) +-ADD_SUBDIRECTORY(test) +-ADD_SUBDIRECTORY(test/framework) +-ADD_SUBDIRECTORY(test/CJUnitTestsPort) +-ADD_SUBDIRECTORY(test/unit) +- +-IF(DEFINED CMAKE_SYSTEM_NAME AND ${CMAKE_SYSTEM_NAME} STREQUAL "SunOS") +- # see also README +- IF(${CMAKE_C_COMPILER} MATCHES "gcc$") +- message("NOTE") +- message("You seem to be using GCC on SunOS.") +- message("This is not recommended. Compilation") +- message("might fail due to compile flags") +- message("returned by the MySQL tool mysql_config.") +- message("In case of an error, try commenting out:") +- message("# ADD_DEFINITIONS(\"\${MYSQL_CXXFLAGS}\")") +- message("in the file FindMySQL.cm") +- ENDIF(${CMAKE_C_COMPILER} MATCHES "gcc$") +- +- IF(${CMAKE_C_COMPILER} MATCHES "gcc$") +- IF(${CMAKE_CXX_COMPILER} MATCHES "CC$") +- message("NOTE") +- message("You seem to be using the GCC C-compiler") +- message("together with the Sun CC C++-compiler.") +- message("Linking of the resulting binaries") +- message("might fail. In case of an error,") +- message("try using Sun compilers only") +- ENDIF(${CMAKE_CXX_COMPILER} MATCHES "CC$") +- ELSEIF(${CMAKE_C_COMPILER} MATCHES "cc$" AND ${CMAKE_CXX_COMPILER} MATCHES "[c|g]\\+\\+$") +- message("NOTE") +- message("You seem to be using the GCC C-compiler") +- message("together with the Sun CC C++-compiler.") +- message("Linking of the resulting binaries") +- message("might fail. In case of an error,") +- message("try using Sun compilers only") +- ENDIF(${CMAKE_C_COMPILER} MATCHES "gcc$") +-ENDIF(DEFINED CMAKE_SYSTEM_NAME AND ${CMAKE_SYSTEM_NAME} STREQUAL "SunOS") +- +-INSTALL(FILES "BUILDINFO" DESTINATION . OPTIONAL) +diff --recursive -u UnpackedTarball/mysqlcppconn.origin/cppconn/CMakeLists.txt UnpackedTarball/mysqlcppconn/cppconn/CMakeLists.txt +--- UnpackedTarball/mysqlcppconn.origin/cppconn/CMakeLists.txt 2014-08-12 08:44:13.110847148 +0200 ++++ UnpackedTarball/mysqlcppconn/cppconn/CMakeLists.txt 2014-08-12 08:48:07.192143008 +0200 +@@ -23,42 +23,8 @@ + # + + +-CHECK_INCLUDE_FILES(stdint.h HAVE_STDINT_H) +-CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_H) +- +-CHECK_TYPE_SIZE("int8_t" HAVE_INT8_T) +-CHECK_TYPE_SIZE("uint8_t" HAVE_UINT8_T) +-CHECK_TYPE_SIZE("int16_t" HAVE_INT16_T) +-CHECK_TYPE_SIZE("uint16_t" HAVE_UINT16_T) +-CHECK_TYPE_SIZE("int32_t" HAVE_INT32_T) +-CHECK_TYPE_SIZE("uint32_t" HAVE_UINT32_T) +-CHECK_TYPE_SIZE("int64_t" HAVE_INT64_T) +-CHECK_TYPE_SIZE("uint64_t" HAVE_UINT64_T) +-CHECK_TYPE_SIZE("__int8" HAVE_MS_INT8) +-CHECK_TYPE_SIZE("unsigned __int8" HAVE_MS_UINT8) +-CHECK_TYPE_SIZE("__int16" HAVE_MS_INT16) +-CHECK_TYPE_SIZE("unsigned __int16" HAVE_MS_UINT16) +-CHECK_TYPE_SIZE("__int32" HAVE_MS_INT32) +-CHECK_TYPE_SIZE("unsigned __int32" HAVE_MS_UINT32) +-CHECK_TYPE_SIZE("__int64" HAVE_MS_INT64) +-CHECK_TYPE_SIZE("unsigned __int64" HAVE_MS_UINT64) +- +- +-CHECK_FUNCTION_EXISTS(strtold HAVE_FUNCTION_STRTOLD) +-CHECK_FUNCTION_EXISTS(strtol HAVE_FUNCTION_STRTOL) +-CHECK_FUNCTION_EXISTS(strtoll HAVE_FUNCTION_STRTOLL) +-CHECK_FUNCTION_EXISTS(strtoul HAVE_FUNCTION_STRTOUL) +-CHECK_FUNCTION_EXISTS(strtoull HAVE_FUNCTION_STRTOULL) +-CHECK_FUNCTION_EXISTS(strtoimax HAVE_FUNCTION_STRTOIMAX) +-CHECK_FUNCTION_EXISTS(strtoumax HAVE_FUNCTION_STRTOUMAX) +- +- +-CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cm ${CMAKE_CURRENT_BINARY_DIR}/config.h) +- +- + SET(MYSQLCPPCONN_INSTALL_HEADERS + build_config.h +- config.h + connection.h + datatype.h + driver.h +diff --recursive -u UnpackedTarball/mysqlcppconn.origin/driver/CMakeLists.txt UnpackedTarball/mysqlcppconn/driver/CMakeLists.txt +--- UnpackedTarball/mysqlcppconn.origin/driver/CMakeLists.txt 2014-08-12 08:44:13.110847148 +0200 ++++ UnpackedTarball/mysqlcppconn/driver/CMakeLists.txt 2014-08-12 08:49:33.562097264 +0200 +@@ -74,27 +74,6 @@ + ENDIF(NOT WIN32) + ENDIF(NOT MYSQLCLIENT_STATIC_BINDING) + +-#----------------- +-# CPPFLAGS, CXXFLAGS and LDFLAGS from the environment +-SET(MYSQLCPPCONN_DT_RPATH "" CACHE STRING "For dynamic libmysql binding: DT_RPATH to set (default: unset)") +- +-IF(MYSQLCPPCONN_DT_RPATH) +- SET(CMAKE_SKIP_BUILD_RPATH TRUE) +- SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) +- SET(CMAKE_INSTALL_RPATH ${MYSQLCPPCONN_DT_RPATH}) +- SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE) +- +- MESSAGE(STATUS "DT_RPATH set to ${CMAKE_INSTALL_RPATH}") +- +-ELSE(MYSQLCPPCONN_DT_RPATH) +- SET(CMAKE_SKIP_RPATH TRUE) +- +- MESSAGE(STATUS "DT_RPATH will not be set") +- +-ENDIF(MYSQLCPPCONN_DT_RPATH) +- +-CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/nativeapi/binding_config.h.cm ${CMAKE_CURRENT_BINARY_DIR}/nativeapi/binding_config.h) +- + SET(MYSQLCPPCONN_SOURCES + mysql_art_resultset.cpp + mysql_art_rset_metadata.cpp |