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
7c1d25d9
Commit
7c1d25d9
authored
Jul 18, 2007
by
kent@mysql.com/kent-amd64.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMakeLists.txt, configure.js:
Allow to set mysqld exe suffix
parent
aa03d369
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
sql/CMakeLists.txt
sql/CMakeLists.txt
+9
-7
win/configure.js
win/configure.js
+1
-0
No files found.
sql/CMakeLists.txt
View file @
7c1d25d9
...
...
@@ -46,7 +46,8 @@ IF(DISABLE_GRANT_OPTIONS)
ADD_DEFINITIONS
(
-DDISABLE_GRANT_OPTIONS
)
ENDIF
(
DISABLE_GRANT_OPTIONS
)
ADD_EXECUTABLE
(
mysqld ../sql-common/client.c derror.cc des_key_file.cc
ADD_EXECUTABLE
(
mysqld
${
MYSQLD_EXE_SUFFIX
}
../sql-common/client.c derror.cc des_key_file.cc
discover.cc ../libmysql/errmsg.c field.cc field_conv.cc
filesort.cc gstream.cc ha_blackhole.cc
ha_archive.cc ha_heap.cc ha_myisam.cc ha_myisammrg.cc
...
...
@@ -82,7 +83,8 @@ ADD_EXECUTABLE(mysqld ../sql-common/client.c derror.cc des_key_file.cc
${
PROJECT_SOURCE_DIR
}
/include/mysql_version.h
${
PROJECT_SOURCE_DIR
}
/sql/lex_hash.h
)
TARGET_LINK_LIBRARIES
(
mysqld heap myisam myisammrg mysys yassl zlib dbug yassl
TARGET_LINK_LIBRARIES
(
mysqld
${
MYSQLD_EXE_SUFFIX
}
heap myisam myisammrg mysys yassl zlib dbug yassl
taocrypt strings vio regex wsock32
)
IF
(
EMBED_MANIFESTS
)
...
...
@@ -90,19 +92,19 @@ IF(EMBED_MANIFESTS)
ENDIF
(
EMBED_MANIFESTS
)
IF
(
WITH_EXAMPLE_STORAGE_ENGINE
)
TARGET_LINK_LIBRARIES
(
mysqld example
)
TARGET_LINK_LIBRARIES
(
mysqld
${
MYSQLD_EXE_SUFFIX
}
example
)
ENDIF
(
WITH_EXAMPLE_STORAGE_ENGINE
)
IF
(
WITH_INNOBASE_STORAGE_ENGINE
)
TARGET_LINK_LIBRARIES
(
mysqld innobase
)
TARGET_LINK_LIBRARIES
(
mysqld
${
MYSQLD_EXE_SUFFIX
}
innobase
)
ENDIF
(
WITH_INNOBASE_STORAGE_ENGINE
)
IF
(
WITH_BERKELEY_STORAGE_ENGINE
)
TARGET_LINK_LIBRARIES
(
mysqld bdb
)
TARGET_LINK_LIBRARIES
(
mysqld
${
MYSQLD_EXE_SUFFIX
}
bdb
)
ENDIF
(
WITH_BERKELEY_STORAGE_ENGINE
)
ADD_DEPENDENCIES
(
mysqld GenError
)
ADD_DEPENDENCIES
(
mysqld
${
MYSQLD_EXE_SUFFIX
}
GenError
)
# Sql Parser custom command
ADD_CUSTOM_COMMAND
(
...
...
@@ -134,7 +136,7 @@ ADD_CUSTOM_COMMAND(
COMMAND
${
GEN_LEX_HASH_EXE
}
ARGS > lex_hash.h
DEPENDS
${
GEN_LEX_HASH_EXE
}
)
ADD_DEPENDENCIES
(
mysqld gen_lex_hash
)
ADD_DEPENDENCIES
(
mysqld
${
MYSQLD_EXE_SUFFIX
}
gen_lex_hash
)
ADD_LIBRARY
(
udf_example MODULE udf_example.c udf_example.def
)
ADD_DEPENDENCIES
(
udf_example strings
)
...
...
win/configure.js
View file @
7c1d25d9
...
...
@@ -51,6 +51,7 @@ try
configfile
.
WriteLine
(
"
SET (
"
+
args
.
Item
(
i
)
+
"
TRUE)
"
);
break
;
case
"
MYSQL_SERVER_SUFFIX
"
:
case
"
MYSQLD_EXE_SUFFIX
"
:
configfile
.
WriteLine
(
"
SET (
"
+
parts
[
0
]
+
"
\"
"
+
parts
[
1
]
+
"
\"
)
"
);
break
;
...
...
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