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
817670ee
Commit
817670ee
authored
Apr 04, 2007
by
df@pippilotta.erinye.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build fixes for 5.1.17
parent
e572025b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
7 deletions
+29
-7
CMakeLists.txt
CMakeLists.txt
+8
-0
scripts/make_win_bin_dist
scripts/make_win_bin_dist
+21
-7
No files found.
CMakeLists.txt
View file @
817670ee
...
...
@@ -114,6 +114,14 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR
STRING
(
REPLACE
"/MDd"
"/MTd"
CMAKE_CXX_FLAGS_DEBUG
${
CMAKE_CXX_FLAGS_DEBUG
}
)
STRING
(
REPLACE
"/MD"
"/MT"
CMAKE_CXX_FLAGS_RELWITHDEBINFO
${
CMAKE_CXX_FLAGS_RELWITHDEBINFO
}
)
STRING
(
REPLACE
"/MD"
"/MT"
CMAKE_C_FLAGS_RELWITHDEBINFO
${
CMAKE_C_FLAGS_RELWITHDEBINFO
}
)
# generate .map files
SET
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
/MAP /MAPINFO:EXPORTS"
)
# remove support for Exception handling
STRING
(
REPLACE
"/GX"
""
CMAKE_CXX_FLAGS
${
CMAKE_CXX_FLAGS
}
)
STRING
(
REPLACE
"/EHsc"
""
CMAKE_CXX_FLAGS
${
CMAKE_CXX_FLAGS
}
)
...
...
scripts/make_win_bin_dist
View file @
817670ee
...
...
@@ -126,6 +126,15 @@ if [ -e $DESTDIR ] ; then
usage
fi
# ----------------------------------------------------------------------
# Adjust target name if needed, release with debug info has another name
# ----------------------------------------------------------------------
if
[
x
"
$TARGET
"
=
x
"release"
-a
-f
"client/relwithdebinfo/mysql.exe"
]
then
TARGET
=
"relwithdebinfo"
fi
# ----------------------------------------------------------------------
# Copy executables, and client DLL (FIXME why?)
# ----------------------------------------------------------------------
...
...
@@ -134,18 +143,20 @@ trap 'echo "Clearning up and exiting..." ; rm -fr $DESTDIR; exit 1' ERR
mkdir
$DESTDIR
mkdir
$DESTDIR
/bin
cp
client/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
extra/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
storage/myisam/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
server-tools/instance-manager/
$TARGET
/
*
.
exe
$DESTDIR
/bin/
cp
tests/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
libmysql/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
libmysql/
$TARGET
/libmysql.dll
$DESTDIR
/bin/
cp
client/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
extra/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
storage/myisam/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
server-tools/instance-manager/
$TARGET
/
*
.
{
exe,map,pdb
}
$DESTDIR
/bin/
cp
tests/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
libmysql/
$TARGET
/
*
.exe
$DESTDIR
/bin/
cp
libmysql/
$TARGET
/libmysql.dll
$DESTDIR
/bin/
# FIXME really needed?!
mv
$DESTDIR
/bin/comp_err.exe
$DESTDIR
/bin/comp-err.exe
cp
sql/
$TARGET
/mysqld.exe
$DESTDIR
/bin/mysqld
$EXE_SUFFIX
.exe
cp
sql/
$TARGET
/mysqld.pdb
$DESTDIR
/bin/mysqld
$EXE_SUFFIX
.pdb
cp
sql/
$TARGET
/mysqld.map
$DESTDIR
/bin/mysqld
$EXE_SUFFIX
.map
if
[
x
"
$PACK_DEBUG
"
=
""
-a
-f
"sql/debug/mysqld.exe"
-o
\
x
"
$PACK_DEBUG
"
=
"yes"
]
;
then
...
...
@@ -342,6 +353,9 @@ done
cp
-pR
sql/share
$DESTDIR
/
# The SQL initiation code is really expected to be in "share"
mv
$DESTDIR
/scripts/
*
.sql
$DESTDIR
/share/
||
true
# ----------------------------------------------------------------------
# Copy other files specified on command line DEST=SOURCE
# ----------------------------------------------------------------------
...
...
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