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
366fd652
Commit
366fd652
authored
Mar 04, 2020
by
Michael Erickson
Committed by
Sergei Petrunia
Mar 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify xpand CMakeLists.txt
We don't need the MSVC hacks used by Spider.
parent
b79a921f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
19 deletions
+1
-19
storage/xpand/CMakeLists.txt
storage/xpand/CMakeLists.txt
+1
-19
No files found.
storage/xpand/CMakeLists.txt
View file @
366fd652
#*****************************************************************************
# Copyright (c) 20
19
, MariaDB Corporation.
# Copyright (c) 20
20
, MariaDB Corporation.
#****************************************************************************/
IF
(
MSVC
)
# Temporarily disable "conversion from size_t .."
IF
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/wd4267"
)
ENDIF
()
ENDIF
()
SET
(
XPAND_PLUGIN_STATIC
"xpand"
)
SET
(
XPAND_PLUGIN_DYNAMIC
"ha_xpand"
)
SET
(
XPAND_SOURCES ha_xpand.cc xpand_connection.cc ha_xpand_pushdown.cc
)
MYSQL_ADD_PLUGIN
(
xpand
${
XPAND_SOURCES
}
STORAGE_ENGINE
)
IF
(
MSVC
)
IF
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
ADD_CUSTOM_COMMAND
(
TARGET xpand
POST_BUILD
COMMAND if not exist ..\\..\\sql\\lib mkdir ..\\..\\sql\\lib\\plugin
COMMAND copy Debug\\ha_xpand.dll ..\\..\\sql\\lib\\plugin\\ha_xpand.dll
)
ENDIF
()
ENDIF
()
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