You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-09-13 21:02:01 +03:00
* make is usable as a CMake sub-project * put options in a separate namespace * but use parent project values when specified * always specify COMPONENT when INSTALLing * don't use PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR Also * fix out-of-source builds (don't generate files in the CMAKE_SOURCE_DIR, always do it in CMAKE_BINARY_DIR) * make subsequence cmake runs less verbose, use MESSAGE1 to avoid repeating messages that didn't change
20 lines
828 B
CMake
20 lines
828 B
CMake
# Copyright (C) 2007 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(${CC_SOURCE_DIR}/include ${CC_SOURCE_DIR}/zlib
|
|
${CC_BINARY_DIR}/include)
|
|
ADD_LIBRARY(cctap tap.c)
|