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
09f8941a
Commit
09f8941a
authored
Sep 18, 2018
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bb-10.2-wlad-release' into 10.2
parents
6858d534
f0ee8496
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
17 deletions
+37
-17
cmake/install_macros.cmake
cmake/install_macros.cmake
+7
-16
win/packaging/CMakeLists.txt
win/packaging/CMakeLists.txt
+12
-0
win/packaging/CPackWixConfig.cmake
win/packaging/CPackWixConfig.cmake
+1
-1
win/packaging/CPackZIPConfig.cmake
win/packaging/CPackZIPConfig.cmake
+11
-0
win/packaging/CPackZIPDebugInfoConfig.cmake
win/packaging/CPackZIPDebugInfoConfig.cmake
+6
-0
No files found.
cmake/install_macros.cmake
View file @
09f8941a
...
...
@@ -33,26 +33,17 @@ FUNCTION (INSTALL_DEBUG_SYMBOLS)
SET
(
targets
${
ARG_UNPARSED_ARGUMENTS
}
)
FOREACH
(
target
${
targets
}
)
GET_TARGET_PROPERTY
(
target_type
${
target
}
TYPE
)
IF
(
target_type MATCHES
"STATIC"
)
RETURN
()
ENDIF
()
set
(
comp
""
)
IF
(
target MATCHES
"mysqld"
OR type MATCHES
"MODULE"
)
#MESSAGE("PDB: ${targets}")
IF
((
target STREQUAL
"mysqld"
))
SET
(
comp Server
)
ENDIF
()
IF
(
NOT comp MATCHES Server
)
IF
(
ARG_COMPONENT MATCHES Development
OR ARG_COMPONENT MATCHES SharedLibraries
OR ARG_COMPONENT MATCHES Embedded
)
SET
(
comp Debuginfo
)
ENDIF
()
ENDIF
()
IF
(
NOT comp
)
SET
(
comp Debuginfo_archive_only
)
# not in MSI
ENDIF
()
IF
(
NOT target_type MATCHES
"STATIC"
)
INSTALL
(
FILES $<TARGET_PDB_FILE:
${
target
}
> DESTINATION symbols COMPONENT Debuginfo
)
IF
(
comp
)
INSTALL
(
FILES $<TARGET_PDB_FILE:
${
target
}
> DESTINATION
${
ARG_INSTALL_LOCATION
}
COMPONENT
${
comp
}
)
ENDIF
()
ENDFOREACH
()
...
...
win/packaging/CMakeLists.txt
View file @
09f8941a
...
...
@@ -202,3 +202,15 @@ ADD_CUSTOM_TARGET(
)
ADD_DEPENDENCIES
(
MSI_ESSENTIALS wixca
)
IF
(
CMAKE_GENERATOR MATCHES
"Visual Studio"
)
SET
(
CPACK_CONFIG_PARAM -C $
(
Configuration
))
ENDIF
()
ADD_CUSTOM_TARGET
(
win_package
COMMAND cpack
${
CPACK_CONFIG_PARAM
}
--config
${
CMAKE_CURRENT_SOURCE_DIR
}
/CPackZipConfig.cmake
COMMAND cpack
${
CPACK_CONFIG_PARAM
}
--config
${
CMAKE_CURRENT_SOURCE_DIR
}
/CPackZipDebugInfoConfig.cmake
WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
win/packaging/CPackWixConfig.cmake
View file @
09f8941a
...
...
@@ -9,7 +9,7 @@ IF(ESSENTIALS)
ENDIF
()
ELSE
()
SET
(
CPACK_COMPONENTS_USED
"Server;Client;Development;SharedLibraries;Documentation;Readme;
Debuginfo;
Common;VCCRT;connect-engine;ClientPlugins;gssapi-server;gssapi-client;aws-key-management;rocksdb-engine;backup"
)
"Server;Client;Development;SharedLibraries;Documentation;Readme;Common;VCCRT;connect-engine;ClientPlugins;gssapi-server;gssapi-client;aws-key-management;rocksdb-engine;backup"
)
ENDIF
()
SET
(
WIX_FEATURE_MySQLServer_EXTRA_FEATURES
"DBInstance;SharedClientServerComponents"
)
...
...
win/packaging/CPackZIPConfig.cmake
0 → 100644
View file @
09f8941a
INCLUDE
(
CPackConfig.cmake
)
SET
(
CPACK_GENERATOR ZIP
)
set
(
CPACK_ARCHIVE_COMPONENT_INSTALL ON
)
set
(
CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE
)
SET
(
CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY ON
)
FOREACH
(
it DebugBinaries Debuginfo IniFiles Junk Test SqlBench
)
list
(
FIND CPACK_COMPONENTS_ALL
"
${
it
}
"
index
)
IF
(
index GREATER 0
)
LIST
(
REMOVE_AT CPACK_COMPONENTS_ALL
${
index
}
)
ENDIF
()
ENDFOREACH
()
win/packaging/CPackZIPDebugInfoConfig.cmake
0 → 100644
View file @
09f8941a
INCLUDE
(
CPackConfig.cmake
)
set
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_FILE_NAME
}
-debugsymbols"
)
set
(
CPACK_ARCHIVE_COMPONENT_INSTALL ON
)
set
(
CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE
)
SET
(
CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY ON
)
SET
(
CPACK_COMPONENTS_ALL Debuginfo
)
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