mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
74efae60fc
dbug/CMakeLists.txt: Change mode to -rw-rw-r-- BitKeeper/deleted/.del-doinstall.sh: Delete: dbug/doinstall.sh BitKeeper/deleted/.del-install.sh: Delete: dbug/install.sh BitKeeper/deleted/.del-mklintlib.sh: Delete: dbug/mklintlib.sh BitKeeper/deleted/.del-qmake.cmd: Delete: dbug/qmake.cmd BitKeeper/deleted/.del-.cvsignore: Delete: dbug/.cvsignore BitKeeper/deleted/.del-vargs.h: Delete: dbug/vargs.h
24 lines
997 B
CMake
24 lines
997 B
CMake
# 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
|
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/dbug)
|
|
|
|
SET(DBUG_SOURCES dbug.c factorial.c sanity.c)
|
|
|
|
IF(NOT SOURCE_SUBLIBS)
|
|
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX")
|
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
|
|
ADD_LIBRARY(dbug ${DBUG_SOURCES})
|
|
ENDIF(NOT SOURCE_SUBLIBS)
|