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
b56262f6
Commit
b56262f6
authored
Mar 26, 2017
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-12328, attempt to fix windows packaging
parent
23d72bf3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
14 deletions
+10
-14
cmake/build_configurations/mysql_release.cmake
cmake/build_configurations/mysql_release.cmake
+1
-1
plugin/aws_key_management/CMakeLists.txt
plugin/aws_key_management/CMakeLists.txt
+8
-12
win/packaging/CMakeLists.txt
win/packaging/CMakeLists.txt
+1
-1
No files found.
cmake/build_configurations/mysql_release.cmake
View file @
b56262f6
...
...
@@ -29,7 +29,7 @@ IF(SIZEOF_VOIDP EQUAL 8)
ENDIF
()
# include aws_key_management plugin in release builds
SET
(
PLUGIN_AWS_KEY_MANAGEMENT DYNAMIC
)
OPTION
(
AWS_SDK_EXTERNAL_PROJECT
"Allow download and build AWS C++ SDK"
ON
)
SET
(
FEATURE_SET
"community"
CACHE STRING
" Selection of features. Options are
...
...
plugin/aws_key_management/CMakeLists.txt
View file @
b56262f6
...
...
@@ -12,21 +12,11 @@
# Give message why the building this plugin is skipped (only if -DVERBOSE is defined)
# or if plugin is explicitly requested to build. Then bail out.
MACRO
(
SKIP_AWS_PLUGIN msg
)
IF
(
VERBOSE OR
"
${
PLUGIN_AWS_KEY_MANAGEMENT
}
"
MATCHES
"^(STATIC|DYNAMIC)$"
)
MESSAGE
(
STATUS
"Can't build aws_key_management -
${
msg
}
"
)
ENDIF
()
IF
(
TARGET aws_key_management
)
MESSAGE
(
FATAL_ERROR
"Error configuring aws_key_management - aborting"
)
ENDIF
()
MESSAGE_ONCE
(
SKIP_AWS_PLUGIN
"Skip aws_key_management -
${
msg
}
"
)
RETURN
()
ENDMACRO
()
MYSQL_ADD_PLUGIN
(
aws_key_management aws_key_management_plugin.cc DISABLED
COMPONENT aws-key-management
)
IF
(
NOT TARGET aws_key_management
)
RETURN
()
ENDIF
()
# This plugin needs recent C++ compilers (AWS C++ SDK header files are using C++11 features)
SET
(
CXX11_FLAGS
)
...
...
@@ -67,6 +57,10 @@ IF(AWS_CPP_SDK_CORE AND AWS_CPP_SDK_KMS AND HAVE_AWS_HEADERS)
# AWS C++ SDK installed
SET
(
AWS_SDK_LIBS
${
AWS_CPP_SDK_CORE
}
${
AWS_CPP_SDK_KMS
}
)
ELSE
()
OPTION
(
AWS_SDK_EXTERNAL_PROJECT
"Allow download and build AWS C++ SDK"
OFF
)
IF
(
NOT AWS_SDK_EXTERNAL_PROJECT
)
SKIP_AWS_PLUGIN
(
"AWS_SDK_EXTERNAL_PROJECT is not set"
)
ENDIF
()
# Build from source, using ExternalProject_Add
# AWS C++ SDK requires cmake 2.8.12
IF
(
CMAKE_VERSION VERSION_LESS
"2.8.12"
)
...
...
@@ -95,7 +89,7 @@ ELSE()
ENDIF
()
ENDIF
()
IF
(
MSVC
)
SET
(
EXTRA_SDK_CMAKE_FLAGS -DCMAKE_CXX_FLAGS_DEBUGOPT=
""
-DCMAKE_EXE_LINKER_FLAGS_DEBUGOPT=
""
"-DCMAKE_CXX_FLAGS=/wd4530 /WX-"
)
SET
(
EXTRA_SDK_CMAKE_FLAGS -DCMAKE_CXX_FLAGS_DEBUGOPT=
""
-DCMAKE_EXE_LINKER_FLAGS_DEBUGOPT=
""
"-DCMAKE_CXX_FLAGS=/wd4530 /
wd4577 /
WX-"
)
ENDIF
()
IF
(
CMAKE_CXX_COMPILER
)
SET
(
EXTRA_SDK_CMAKE_FLAGS
${
EXTRA_SDK_CMAKE_FLAGS
}
-DCMAKE_CXX_COMPILER=
${
CMAKE_CXX_COMPILER
}
)
...
...
@@ -143,6 +137,8 @@ ELSE()
INCLUDE_DIRECTORIES
(
${
CMAKE_BINARY_DIR
}
/aws_sdk_cpp/include
)
ENDIF
()
MYSQL_ADD_PLUGIN
(
aws_key_management aws_key_management_plugin.cc
COMPONENT aws-key-management
)
ADD_DEFINITIONS
(
${
SSL_DEFINES
}
)
# Need to know whether openssl should be initialized
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
CXX11_FLAGS
}
"
)
TARGET_LINK_LIBRARIES
(
aws_key_management
${
AWS_SDK_LIBS
}
)
win/packaging/CMakeLists.txt
View file @
b56262f6
...
...
@@ -51,7 +51,7 @@ IF(MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1700 )
SET
(
WIX_MSVC_SUFFIX
"VS2010"
)
ELSEIF
(
MSVC_VERSION EQUAL 1800
)
SET
(
WIX_MSVC_SUFFIX
"VS2013"
)
ELSE
IF
(
MSVC_VERSION EQUAL 1900
)
ELSE
(
)
SET
(
WIX_MSVC_SUFFIX
"VS2015"
)
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