mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
ee37c3a3a5
into trift2.:/MySQL/M51/push-5.1 BitKeeper/deleted/.del-CMakeLists.txt~2eb9019b: Auto merged BitKeeper/deleted/.del-CMakeLists.txt~86a68ea1: Auto merged BitKeeper/deleted/.del-CMakeLists.txt~99a50df6: Auto merged BitKeeper/deleted/.del-CMakeLists.txt~ef945345: Auto merged BitKeeper/deleted/.del-CMakeLists.txt~fdec1f01: Auto merged dbug/CMakeLists.txt: Auto merged tests/CMakeLists.txt: Auto merged zlib/CMakeLists.txt: Auto merged client/CMakeLists.txt: Will be re-applied using "patch". libmysql/CMakeLists.txt: Will be re-applied using "patch". mysys/CMakeLists.txt: Will be re-applied using "patch". sql/CMakeLists.txt: Will be re-applied using "patch".
27 lines
1.1 KiB
CMake
Executable file
27 lines
1.1 KiB
CMake
Executable file
# Copyright (C) 2006 MySQL AB
|
|
#
|
|
# 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
|
|
|
|
# About "mysqlclient_notls", see note in "client/CMakeLists.txt"
|
|
|
|
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX")
|
|
ADD_DEFINITIONS("-DMYSQL_CLIENT")
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
|
|
|
|
ADD_EXECUTABLE(mysql_client_test mysql_client_test.c ../mysys/my_memmem.c)
|
|
TARGET_LINK_LIBRARIES(mysql_client_test mysqlclient_notls wsock32)
|
|
|
|
ADD_EXECUTABLE(bug25714 bug25714.c)
|
|
TARGET_LINK_LIBRARIES(bug25714 mysqlclient_notls wsock32)
|