Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
061f84ab
Commit
061f84ab
authored
Nov 20, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: remove unused files
parent
65d69c84
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
94 deletions
+2
-94
BUILD/cmake_configure.sh
BUILD/cmake_configure.sh
+1
-1
cmake/cat.cmake
cmake/cat.cmake
+0
-28
cmake/check_minimal_version.cmake
cmake/check_minimal_version.cmake
+0
-20
cmake/compile_flags.cmake
cmake/compile_flags.cmake
+0
-44
cmake/ctest.cmake
cmake/ctest.cmake
+1
-1
No files found.
BUILD/cmake_configure.sh
View file @
061f84ab
...
...
@@ -18,7 +18,7 @@
# MA 02110-1301, USA
# Ensure cmake and perl are there
cmake
-
P
cmake/check_minimal_version.cmake
>
/dev/null 2>&1
||
HAVE_CMAKE
=
no
cmake
-
-help
>
/dev/null 2>&1
||
HAVE_CMAKE
=
no
perl
--version
>
/dev/null 2>&1
||
HAVE_PERL
=
no
scriptdir
=
`
dirname
$0
`
if
test
"
$HAVE_CMAKE
"
=
"no"
...
...
cmake/cat.cmake
deleted
100644 → 0
View file @
65d69c84
# Copyright (c) 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#
# 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
# Concatenate files
#
# Parameters :
# IN - input files (list)
# OUT - output file
FILE
(
WRITE
${
OUT
}
""
)
FOREACH
(
FILENAME
${
IN
}
)
FILE
(
READ
${
FILENAME
}
CONTENTS
)
FILE
(
APPEND
${
OUT
}
"
${
CONTENTS
}
"
)
ENDFOREACH
()
cmake/check_minimal_version.cmake
deleted
100644 → 0
View file @
65d69c84
# Copyright (c) 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#
# 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
# This is a helper script is used to check for the minimal required version
# It helps to decide whether to use autoconf based configure or cmake's
# configure
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.6.0 FATAL_ERROR
)
cmake/compile_flags.cmake
deleted
100644 → 0
View file @
65d69c84
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
#
# 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
## ADD_COMPILE_FLAGS(<source files> COMPILE_FLAGS <flags>)
MACRO
(
ADD_COMPILE_FLAGS
)
SET
(
FILES
""
)
SET
(
FLAGS
""
)
SET
(
COMPILE_FLAGS_SEEN
)
FOREACH
(
ARG
${
ARGV
}
)
IF
(
ARG STREQUAL
"COMPILE_FLAGS"
)
SET
(
COMPILE_FLAGS_SEEN 1
)
ELSEIF
(
COMPILE_FLAGS_SEEN
)
LIST
(
APPEND FLAGS
${
ARG
}
)
ELSE
()
LIST
(
APPEND FILES
${
ARG
}
)
ENDIF
()
ENDFOREACH
()
FOREACH
(
FILE
${
FILES
}
)
FOREACH
(
FLAG
${
FLAGS
}
)
GET_SOURCE_FILE_PROPERTY
(
PROP
${
FILE
}
COMPILE_FLAGS
)
IF
(
NOT PROP
)
SET
(
PROP
${
FLAG
}
)
ELSE
()
SET
(
PROP
"
${
PROP
}
${
FLAG
}
"
)
ENDIF
()
SET_SOURCE_FILES_PROPERTIES
(
${
FILE
}
PROPERTIES COMPILE_FLAGS
"
${
PROP
}
"
)
ENDFOREACH
()
ENDFOREACH
()
ENDMACRO
()
cmake/ctest.cmake
View file @
061f84ab
...
...
@@ -5,7 +5,7 @@ MACRO(MY_ADD_TEST name)
ADD_TEST
(
${
name
}
${
name
}
-t
)
ENDMACRO
()
MACRO
(
MY_ADD_TESTS
)
MACRO
(
MY_ADD_TESTS
)
MYSQL_PARSE_ARGUMENTS
(
ARG
"LINK_LIBRARIES;EXT"
""
${
ARGN
}
)
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/include
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment