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
ff832e0d
Commit
ff832e0d
authored
May 24, 2016
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore COMPONENT Embedded for Windows embedded libs.
parent
221adbc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
libmysqld/CMakeLists.txt
libmysqld/CMakeLists.txt
+7
-3
No files found.
libmysqld/CMakeLists.txt
View file @
ff832e0d
...
@@ -108,8 +108,12 @@ ADD_DEPENDENCIES(sql_embedded GenError GenServerSource)
...
@@ -108,8 +108,12 @@ ADD_DEPENDENCIES(sql_embedded GenError GenServerSource)
# On Unix, it is libmysqld.a
# On Unix, it is libmysqld.a
IF
(
WIN32
)
IF
(
WIN32
)
SET
(
MYSQLSERVER_OUTPUT_NAME mysqlserver
)
SET
(
MYSQLSERVER_OUTPUT_NAME mysqlserver
)
SET
(
COMPONENT_MYSQLSERVER
"Embedded"
)
SET
(
COMPONENT_LIBMYSQLD
"Embedded"
)
ELSE
()
ELSE
()
SET
(
MYSQLSERVER_OUTPUT_NAME mysqld
)
SET
(
MYSQLSERVER_OUTPUT_NAME mysqld
)
SET
(
COMPONENT_MYSQLSERVER
"Development"
)
SET
(
COMPONENT_LIBMYSQLD
"Server"
)
ENDIF
()
ENDIF
()
...
@@ -134,9 +138,9 @@ FOREACH(LIB ${LIBS})
...
@@ -134,9 +138,9 @@ FOREACH(LIB ${LIBS})
ENDFOREACH
()
ENDFOREACH
()
MERGE_LIBRARIES
(
mysqlserver STATIC
${
EMBEDDED_LIBS
}
MERGE_LIBRARIES
(
mysqlserver STATIC
${
EMBEDDED_LIBS
}
OUTPUT_NAME
${
MYSQLSERVER_OUTPUT_NAME
}
COMPONENT
Development
)
OUTPUT_NAME
${
MYSQLSERVER_OUTPUT_NAME
}
COMPONENT
${
COMPONENT_MYSQLSERVER
}
)
INSTALL
(
FILES embedded_priv.h DESTINATION
${
INSTALL_INCLUDEDIR
}
/private COMPONENT
Development
)
INSTALL
(
FILES embedded_priv.h DESTINATION
${
INSTALL_INCLUDEDIR
}
/private COMPONENT
${
COMPONENT_MYSQLSERVER
}
)
# Visual Studio users need debug static library
# Visual Studio users need debug static library
IF
(
MSVC
)
IF
(
MSVC
)
...
@@ -163,7 +167,7 @@ ENDFOREACH()
...
@@ -163,7 +167,7 @@ ENDFOREACH()
IF
(
NOT DISABLE_SHARED
)
IF
(
NOT DISABLE_SHARED
)
MERGE_LIBRARIES
(
libmysqld SHARED mysqlserver EXPORTS
${
EMBEDDED_API
}
MERGE_LIBRARIES
(
libmysqld SHARED mysqlserver EXPORTS
${
EMBEDDED_API
}
COMPONENT
Server
)
COMPONENT
${
COMPONENT_LIBMYSQLD
}
)
IF
(
UNIX
)
IF
(
UNIX
)
# Name the shared library, handle versioning (provides same api as client
# Name the shared library, handle versioning (provides same api as client
# library hence the same version)
# library hence the same version)
...
...
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