mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
fc2925b567
commit 2722e540abfee4a527d716474c4ca582eceeee08 Merge: b4f3af824aebddd550
Author: proller <proller@github.com> Date: Tue Aug 21 18:34:18 2018 +0300 Merge remote-tracking branch 'upstream/master' into fix3 commit b4f3af824b88a8b6826583bb483730827574e8ad Author: proller <proller@github.com> Date: Tue Aug 21 17:00:20 2018 +0300 fix commit 3a18fa7ded2a7d6b7a0883a1b9c2d6b99360837d Author: proller <proller@github.com> Date: Tue Aug 21 16:57:17 2018 +0300 fix commit 5d42220c2cf47e1a86bdc73dbfc24b68f8626891 Author: proller <proller@github.com> Date: Tue Aug 21 16:50:21 2018 +0300 freebsd fixes commit 7baf4fb5ba4575f79b0d12a9ffaaabd34e1006da Author: proller <proller@github.com> Date: Tue Aug 21 16:17:19 2018 +0300 fix commit e1fe707fd765b841a8d0952d91a980128cbf91d0 Author: proller <proller@github.com> Date: Tue Aug 21 15:35:21 2018 +0300 fix commit 027887c71b3ffa98d9473d50d8c3b79cbf3304ac Author: proller <proller@github.com> Date: Tue Aug 21 15:25:57 2018 +0300 fix commit 81af41bfcfff7c02fe4060196cf03c2d2aab416e Author: proller <proller@github.com> Date: Tue Aug 21 15:20:41 2018 +0300 fix commit 93d572c85d9c7e331254999a614c3b22b5573b02 Author: proller <proller@github.com> Date: Tue Aug 21 14:58:07 2018 +0300 SPLIT_SHARED commit dd5b8990d8527d59b1e890943d80c2bf27c613ce Author: proller <proller@github.com> Date: Tue Aug 21 14:52:39 2018 +0300 fix commit 4840ca12ab752a38c1ef482e8ec59c5859bb48d7 Author: proller <proller@github.com> Date: Tue Aug 21 14:46:31 2018 +0300 fix commit abde633beb86f2a0d025d6fcf079965dbd827b92 Author: proller <proller@github.com> Date: Tue Aug 21 14:25:32 2018 +0300 fix commit 0d94a5476a5ba8ba5e88638d58f2cfbf2b4b662d Author: proller <proller@github.com> Date: Tue Aug 21 14:45:18 2018 +0300 Travis: try fail on ninja fail commit c2686f90b68255c2beb0a708804aef404e80a6d2 Merge: 2c3427bbd2aa7eb463
Author: proller <proller@github.com> Date: Tue Aug 21 14:25:15 2018 +0300 Merge remote-tracking branch 'upstream/master' into fix3 commit 2c3427bbdb861edbb188ed4621e8a05cafaedafb Author: proller <proller@github.com> Date: Mon Aug 20 23:57:24 2018 +0300 fix commit 530170c6a81d31dcfa81230e48520383234df4bc Merge: 9abec162cf6e4ec970
Author: proller <proller@github.com> Date: Mon Aug 20 23:57:03 2018 +0300 Merge remote-tracking branch 'upstream/master' into fix3 commit 9abec162cb2e09bbc2f33cbe80fe76791f6e5a77 Author: proller <proller@github.com> Date: Mon Aug 20 23:49:58 2018 +0300 Apple fixes commit 36d05e8217440fbc8ae21571b06d4eb6d679d538 Author: proller <proller@github.com> Date: Mon Aug 20 23:25:05 2018 +0300 apple fix commit aeec3e845e4456e89fbb1b1af6f9f36820a46e33 Author: proller <proller@github.com> Date: Mon Aug 20 23:20:06 2018 +0300 fixes commit 427961d916a5954981e47d94733996deb2a616ce Author: proller <proller@github.com> Date: Mon Aug 20 23:11:11 2018 +0300 fix commit a7dd55ff8f653624c0f3dbcbc54defd3b3ae97af Author: proller <proller@github.com> Date: Mon Aug 20 22:41:53 2018 +0300 fix commit 6200e0d315c7a62bae63a8de0fc32f7937770ad2 Merge: 8a541d7e621cedbe46
Author: proller <proller@github.com> Date: Mon Aug 20 22:35:49 2018 +0300 Merge remote-tracking branch 'upstream/master' into fix3 commit 8a541d7e64c89e2c16af6c909e0353361153aaa3 Author: proller <proller@github.com> Date: Mon Aug 20 22:34:32 2018 +0300 Do not use poco types commit fd560f43d048b7e3307c6c6b9c9d9918230014d8 Author: proller <proller@github.com> Date: Mon Aug 20 22:20:42 2018 +0300 Try fix apple build commit cfb2eba07ac06f19e822d3474341d800b1f98cf1 Merge: 8d2e31c905b81fdfc0
Author: proller <proller@github.com> Date: Mon Aug 20 22:03:24 2018 +0300 Merge remote-tracking branch 'upstream/master' into fix3 commit 8d2e31c908be2e99d09e2a9dde2414ab82a5e93c Author: proller <proller@github.com> Date: Mon Aug 20 21:56:06 2018 +0300 travis: TEST_SERVER_STARTUP_WAIT=10
289 lines
12 KiB
CMake
289 lines
12 KiB
CMake
set(ODBC_SOURCE_DIR ${CMAKE_SOURCE_DIR}/contrib/unixodbc)
|
|
set(ODBC_BINARY_DIR ${CMAKE_BINARY_DIR}/contrib/unixodbc)
|
|
|
|
|
|
set(SRCS
|
|
${ODBC_SOURCE_DIR}/libltdl/lt__alloc.c
|
|
${ODBC_SOURCE_DIR}/libltdl/lt__strl.c
|
|
${ODBC_SOURCE_DIR}/libltdl/ltdl.c
|
|
${ODBC_SOURCE_DIR}/libltdl/lt_dlloader.c
|
|
${ODBC_SOURCE_DIR}/libltdl/slist.c
|
|
${ODBC_SOURCE_DIR}/libltdl/lt_error.c
|
|
${ODBC_SOURCE_DIR}/libltdl/loaders/dlopen.c
|
|
${ODBC_SOURCE_DIR}/libltdl/loaders/preopen.c
|
|
#${ODBC_SOURCE_DIR}/libltdl/lt__dirent.c
|
|
#${ODBC_SOURCE_DIR}/libltdl/lt__argz.c
|
|
#${ODBC_SOURCE_DIR}/libltdl/loaders/dld_link.c
|
|
#${ODBC_SOURCE_DIR}/libltdl/loaders/load_add_on.c
|
|
#${ODBC_SOURCE_DIR}/libltdl/loaders/shl_load.c
|
|
#${ODBC_SOURCE_DIR}/libltdl/loaders/loadlibrary.c
|
|
#${ODBC_SOURCE_DIR}/libltdl/loaders/dyld.c
|
|
|
|
# This file is generated by 'libtool' inside libltdl directory and then removed.
|
|
${CMAKE_CURRENT_SOURCE_DIR}/linux_x86_64/libltdl/libltdlcS.c
|
|
)
|
|
|
|
add_library(ltdl ${SPLIT_SHARED} ${SRCS})
|
|
|
|
target_include_directories(ltdl PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/linux_x86_64/libltdl)
|
|
target_include_directories(ltdl PUBLIC ${ODBC_SOURCE_DIR}/libltdl)
|
|
target_include_directories(ltdl PUBLIC ${ODBC_SOURCE_DIR}/libltdl/libltdl)
|
|
|
|
target_compile_definitions(ltdl PRIVATE -DHAVE_CONFIG_H -DLTDL -DLTDLOPEN=libltdlc)
|
|
|
|
target_compile_options(ltdl PRIVATE -Wno-constant-logical-operand -Wno-unknown-warning-option -O2)
|
|
|
|
|
|
set(SRCS
|
|
${ODBC_SOURCE_DIR}/DriverManager/__attribute.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/__connection.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/__handles.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/__info.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/__stats.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLAllocConnect.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLAllocEnv.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLAllocHandle.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLAllocHandleStd.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLAllocStmt.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLBindCol.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLBindParam.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLBindParameter.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLBrowseConnect.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLBrowseConnectW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLBulkOperations.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLCancel.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLCancelHandle.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLCloseCursor.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLColAttribute.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLColAttributes.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLColAttributesW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLColAttributeW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLColumnPrivileges.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLColumnPrivilegesW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLColumns.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLColumnsW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLConnect.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLConnectW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLCopyDesc.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDataSources.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDataSourcesW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDescribeCol.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDescribeColW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDescribeParam.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDisconnect.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDriverConnect.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDriverConnectW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDrivers.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLDriversW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLEndTran.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLError.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLErrorW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLExecDirect.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLExecDirectW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLExecute.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLExtendedFetch.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLFetch.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLFetchScroll.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLForeignKeys.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLForeignKeysW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLFreeConnect.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLFreeEnv.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLFreeHandle.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLFreeStmt.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetConnectAttr.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetConnectAttrW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetConnectOption.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetConnectOptionW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetCursorName.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetCursorNameW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetData.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetDescField.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetDescFieldW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetDescRec.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetDescRecW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetDiagField.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetDiagFieldW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetDiagRec.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetDiagRecW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetEnvAttr.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetFunctions.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetInfo.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetInfoW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetStmtAttr.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetStmtAttrW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetStmtOption.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetTypeInfo.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLGetTypeInfoW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLMoreResults.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLNativeSql.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLNativeSqlW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLNumParams.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLNumResultCols.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLParamData.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLParamOptions.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLPrepare.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLPrepareW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLPrimaryKeys.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLPrimaryKeysW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLProcedureColumns.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLProcedureColumnsW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLProcedures.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLProceduresW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLPutData.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLRowCount.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetConnectAttr.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetConnectAttrW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetConnectOption.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetConnectOptionW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetCursorName.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetCursorNameW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetDescField.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetDescFieldW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetDescRec.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetEnvAttr.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetParam.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetPos.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetScrollOptions.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetStmtAttr.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetStmtAttrW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetStmtOption.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSetStmtOptionW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSpecialColumns.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLSpecialColumnsW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLStatistics.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLStatisticsW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLTablePrivileges.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLTablePrivilegesW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLTables.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLTablesW.c
|
|
${ODBC_SOURCE_DIR}/DriverManager/SQLTransact.c
|
|
|
|
${ODBC_SOURCE_DIR}/odbcinst/_logging.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/_odbcinst_ConfigModeINI.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/ODBCINSTConstructProperties.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/ODBCINSTDestructProperties.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/_odbcinst_GetEntries.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/_odbcinst_GetSections.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/ODBCINSTSetProperty.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/_odbcinst_SystemINI.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/_odbcinst_UserINI.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/ODBCINSTValidateProperties.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/ODBCINSTValidateProperty.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLConfigDataSource.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLConfigDriver.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLCreateDataSource.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/_SQLDriverConnectPrompt.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLGetAvailableDrivers.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLGetConfigMode.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/_SQLGetInstalledDrivers.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLGetInstalledDrivers.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLGetPrivateProfileString.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLGetTranslator.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLInstallDriverEx.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLInstallDriverManager.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLInstallerError.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLInstallODBC.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLInstallTranslatorEx.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLManageDataSources.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLPostInstallerError.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLReadFileDSN.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLRemoveDriver.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLRemoveDriverManager.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLRemoveDSNFromIni.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLRemoveTranslator.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLSetConfigMode.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLValidDSN.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLWriteDSNToIni.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLWriteFileDSN.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/_SQLWriteInstalledDrivers.c
|
|
${ODBC_SOURCE_DIR}/odbcinst/SQLWritePrivateProfileString.c
|
|
|
|
${ODBC_SOURCE_DIR}/ini/iniAllTrim.c
|
|
${ODBC_SOURCE_DIR}/ini/iniAppend.c
|
|
${ODBC_SOURCE_DIR}/ini/iniClose.c
|
|
${ODBC_SOURCE_DIR}/ini/iniCommit.c
|
|
${ODBC_SOURCE_DIR}/ini/iniCursor.c
|
|
${ODBC_SOURCE_DIR}/ini/iniDelete.c
|
|
${ODBC_SOURCE_DIR}/ini/_iniDump.c
|
|
${ODBC_SOURCE_DIR}/ini/iniElement.c
|
|
${ODBC_SOURCE_DIR}/ini/iniElementCount.c
|
|
${ODBC_SOURCE_DIR}/ini/iniGetBookmark.c
|
|
${ODBC_SOURCE_DIR}/ini/iniGotoBookmark.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObject.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObjectDelete.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObjectEOL.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObjectFirst.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObjectInsert.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObjectLast.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObjectNext.c
|
|
${ODBC_SOURCE_DIR}/ini/_iniObjectRead.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObjectSeek.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObjectSeekSure.c
|
|
${ODBC_SOURCE_DIR}/ini/iniObjectUpdate.c
|
|
${ODBC_SOURCE_DIR}/ini/iniOpen.c
|
|
${ODBC_SOURCE_DIR}/ini/iniProperty.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertyDelete.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertyEOL.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertyFirst.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertyInsert.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertyLast.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertyNext.c
|
|
${ODBC_SOURCE_DIR}/ini/_iniPropertyRead.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertySeek.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertySeekSure.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertyUpdate.c
|
|
${ODBC_SOURCE_DIR}/ini/iniPropertyValue.c
|
|
${ODBC_SOURCE_DIR}/ini/_iniScanUntilObject.c
|
|
${ODBC_SOURCE_DIR}/ini/iniToUpper.c
|
|
${ODBC_SOURCE_DIR}/ini/iniValue.c
|
|
|
|
${ODBC_SOURCE_DIR}/log/logClear.c
|
|
${ODBC_SOURCE_DIR}/log/logClose.c
|
|
${ODBC_SOURCE_DIR}/log/_logFreeMsg.c
|
|
${ODBC_SOURCE_DIR}/log/logOn.c
|
|
${ODBC_SOURCE_DIR}/log/logOpen.c
|
|
${ODBC_SOURCE_DIR}/log/logPeekMsg.c
|
|
${ODBC_SOURCE_DIR}/log/logPopMsg.c
|
|
${ODBC_SOURCE_DIR}/log/logPushMsg.c
|
|
|
|
${ODBC_SOURCE_DIR}/lst/_lstAdjustCurrent.c
|
|
${ODBC_SOURCE_DIR}/lst/lstAppend.c
|
|
${ODBC_SOURCE_DIR}/lst/lstClose.c
|
|
${ODBC_SOURCE_DIR}/lst/lstDelete.c
|
|
${ODBC_SOURCE_DIR}/lst/_lstDump.c
|
|
${ODBC_SOURCE_DIR}/lst/lstEOL.c
|
|
${ODBC_SOURCE_DIR}/lst/lstFirst.c
|
|
${ODBC_SOURCE_DIR}/lst/_lstFreeItem.c
|
|
${ODBC_SOURCE_DIR}/lst/lstGetBookMark.c
|
|
${ODBC_SOURCE_DIR}/lst/lstGet.c
|
|
${ODBC_SOURCE_DIR}/lst/lstGotoBookMark.c
|
|
${ODBC_SOURCE_DIR}/lst/lstGoto.c
|
|
${ODBC_SOURCE_DIR}/lst/lstInsert.c
|
|
${ODBC_SOURCE_DIR}/lst/lstLast.c
|
|
${ODBC_SOURCE_DIR}/lst/lstNext.c
|
|
${ODBC_SOURCE_DIR}/lst/_lstNextValidItem.c
|
|
${ODBC_SOURCE_DIR}/lst/lstOpen.c
|
|
${ODBC_SOURCE_DIR}/lst/lstOpenCursor.c
|
|
${ODBC_SOURCE_DIR}/lst/lstPrev.c
|
|
${ODBC_SOURCE_DIR}/lst/_lstPrevValidItem.c
|
|
${ODBC_SOURCE_DIR}/lst/lstSeek.c
|
|
${ODBC_SOURCE_DIR}/lst/lstSeekItem.c
|
|
${ODBC_SOURCE_DIR}/lst/lstSet.c
|
|
${ODBC_SOURCE_DIR}/lst/lstSetFreeFunc.c
|
|
${ODBC_SOURCE_DIR}/lst/_lstVisible.c
|
|
)
|
|
|
|
add_library(unixodbc ${SPLIT_SHARED} ${SRCS})
|
|
|
|
target_link_libraries(unixodbc ltdl)
|
|
|
|
# SYSTEM_FILE_PATH was changed to /etc
|
|
|
|
target_include_directories(unixodbc PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/linux_x86_64/private)
|
|
target_include_directories(unixodbc PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/linux_x86_64)
|
|
target_include_directories(unixodbc PUBLIC ${ODBC_SOURCE_DIR}/include)
|
|
|
|
target_compile_definitions(unixodbc PRIVATE -DHAVE_CONFIG_H)
|
|
|
|
target_compile_options(unixodbc PRIVATE -Wno-dangling-else -Wno-parentheses -Wno-misleading-indentation -Wno-unknown-warning-option -O2)
|