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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
36081eed
Commit
36081eed
authored
Sep 29, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename CMAKE_PARSE_ARGUMENTS macro to avoid name collision
with CMake 2.8.3 builtin macro
parent
7f552e46
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
cmake/cmake_parse_arguments.cmake
cmake/cmake_parse_arguments.cmake
+1
-1
cmake/install_macros.cmake
cmake/install_macros.cmake
+3
-3
cmake/libutils.cmake
cmake/libutils.cmake
+1
-1
cmake/mysql_add_executable.cmake
cmake/mysql_add_executable.cmake
+1
-1
cmake/plugin.cmake
cmake/plugin.cmake
+1
-1
No files found.
cmake/cmake_parse_arguments.cmake
View file @
36081eed
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Handy macro to parse macro arguments
# Handy macro to parse macro arguments
MACRO
(
CMAKE
_PARSE_ARGUMENTS prefix arg_names option_names
)
MACRO
(
MYSQL
_PARSE_ARGUMENTS prefix arg_names option_names
)
SET
(
DEFAULT_ARGS
)
SET
(
DEFAULT_ARGS
)
FOREACH
(
arg_name
${
arg_names
}
)
FOREACH
(
arg_name
${
arg_names
}
)
SET
(
${
prefix
}
_
${
arg_name
}
)
SET
(
${
prefix
}
_
${
arg_name
}
)
...
...
cmake/install_macros.cmake
View file @
36081eed
...
@@ -83,7 +83,7 @@ FUNCTION(INSTALL_MANPAGE file)
...
@@ -83,7 +83,7 @@ FUNCTION(INSTALL_MANPAGE file)
ENDFUNCTION
()
ENDFUNCTION
()
FUNCTION
(
INSTALL_SCRIPT
)
FUNCTION
(
INSTALL_SCRIPT
)
CMAKE
_PARSE_ARGUMENTS
(
ARG
MYSQL
_PARSE_ARGUMENTS
(
ARG
"DESTINATION;COMPONENT"
"DESTINATION;COMPONENT"
""
""
${
ARGN
}
${
ARGN
}
...
@@ -205,7 +205,7 @@ ENDMACRO()
...
@@ -205,7 +205,7 @@ ENDMACRO()
#
#
FUNCTION
(
MYSQL_INSTALL_TARGETS
)
FUNCTION
(
MYSQL_INSTALL_TARGETS
)
CMAKE
_PARSE_ARGUMENTS
(
ARG
MYSQL
_PARSE_ARGUMENTS
(
ARG
"DESTINATION;COMPONENT"
"DESTINATION;COMPONENT"
""
""
${
ARGN
}
${
ARGN
}
...
@@ -249,7 +249,7 @@ SET(DEBUGBUILDDIR "${BINARY_PARENTDIR}/debug" CACHE INTERNAL "Directory of debug
...
@@ -249,7 +249,7 @@ SET(DEBUGBUILDDIR "${BINARY_PARENTDIR}/debug" CACHE INTERNAL "Directory of debug
FUNCTION
(
INSTALL_DEBUG_TARGET target
)
FUNCTION
(
INSTALL_DEBUG_TARGET target
)
CMAKE
_PARSE_ARGUMENTS
(
ARG
MYSQL
_PARSE_ARGUMENTS
(
ARG
"DESTINATION;RENAME;PDB_DESTINATION;COMPONENT"
"DESTINATION;RENAME;PDB_DESTINATION;COMPONENT"
""
""
${
ARGN
}
${
ARGN
}
...
...
cmake/libutils.cmake
View file @
36081eed
...
@@ -213,7 +213,7 @@ ENDMACRO()
...
@@ -213,7 +213,7 @@ ENDMACRO()
# [OUTPUT_NAME output_name]
# [OUTPUT_NAME output_name]
#)
#)
MACRO
(
MERGE_LIBRARIES
)
MACRO
(
MERGE_LIBRARIES
)
CMAKE
_PARSE_ARGUMENTS
(
ARG
MYSQL
_PARSE_ARGUMENTS
(
ARG
"EXPORTS;OUTPUT_NAME;COMPONENT"
"EXPORTS;OUTPUT_NAME;COMPONENT"
"STATIC;SHARED;MODULE;NOINSTALL"
"STATIC;SHARED;MODULE;NOINSTALL"
${
ARGN
}
${
ARGN
}
...
...
cmake/mysql_add_executable.cmake
View file @
36081eed
...
@@ -28,7 +28,7 @@ INCLUDE(cmake_parse_arguments)
...
@@ -28,7 +28,7 @@ INCLUDE(cmake_parse_arguments)
FUNCTION
(
MYSQL_ADD_EXECUTABLE
)
FUNCTION
(
MYSQL_ADD_EXECUTABLE
)
# Pass-through arguments for ADD_EXECUTABLE
# Pass-through arguments for ADD_EXECUTABLE
CMAKE
_PARSE_ARGUMENTS
(
ARG
MYSQL
_PARSE_ARGUMENTS
(
ARG
"WIN32;MACOSX_BUNDLE;EXCLUDE_FROM_ALL;DESTINATION;COMPONENT"
"WIN32;MACOSX_BUNDLE;EXCLUDE_FROM_ALL;DESTINATION;COMPONENT"
""
""
${
ARGN
}
${
ARGN
}
...
...
cmake/plugin.cmake
View file @
36081eed
...
@@ -28,7 +28,7 @@ INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/cmake_parse_arguments.cmake)
...
@@ -28,7 +28,7 @@ INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/cmake_parse_arguments.cmake)
# [DEPENDENCIES target1...targetN]
# [DEPENDENCIES target1...targetN]
MACRO
(
MYSQL_ADD_PLUGIN
)
MACRO
(
MYSQL_ADD_PLUGIN
)
CMAKE
_PARSE_ARGUMENTS
(
ARG
MYSQL
_PARSE_ARGUMENTS
(
ARG
"LINK_LIBRARIES;DEPENDENCIES;MODULE_OUTPUT_NAME;STATIC_OUTPUT_NAME"
"LINK_LIBRARIES;DEPENDENCIES;MODULE_OUTPUT_NAME;STATIC_OUTPUT_NAME"
"STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;MANDATORY;DEFAULT;DISABLED;RECOMPILE_FOR_EMBEDDED"
"STORAGE_ENGINE;STATIC_ONLY;MODULE_ONLY;MANDATORY;DEFAULT;DISABLED;RECOMPILE_FOR_EMBEDDED"
${
ARGN
}
${
ARGN
}
...
...
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