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
6efcf9e3
Commit
6efcf9e3
authored
Feb 20, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add_executable => mysql_add_executable (just for uniformity)
parent
ab3ecf5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
libmysqld/examples/CMakeLists.txt
libmysqld/examples/CMakeLists.txt
+4
-6
No files found.
libmysqld/examples/CMakeLists.txt
View file @
6efcf9e3
...
@@ -23,7 +23,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
...
@@ -23,7 +23,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
ADD_DEFINITIONS
(
-DEMBEDDED_LIBRARY -UMYSQL_CLIENT
)
ADD_DEFINITIONS
(
-DEMBEDDED_LIBRARY -UMYSQL_CLIENT
)
ADD_EXECUTABLE
(
mysql_embedded ../../client/completion_hash.cc
MYSQL_
ADD_EXECUTABLE
(
mysql_embedded ../../client/completion_hash.cc
../../client/mysql.cc ../../client/readline.cc
)
../../client/mysql.cc ../../client/readline.cc
)
TARGET_LINK_LIBRARIES
(
mysql_embedded mysqlserver
)
TARGET_LINK_LIBRARIES
(
mysql_embedded mysqlserver
)
IF
(
UNIX
)
IF
(
UNIX
)
...
@@ -31,7 +31,7 @@ IF(UNIX)
...
@@ -31,7 +31,7 @@ IF(UNIX)
TARGET_LINK_LIBRARIES
(
mysql_embedded
${
READLINE_LIBRARY
}
)
TARGET_LINK_LIBRARIES
(
mysql_embedded
${
READLINE_LIBRARY
}
)
ENDIF
(
UNIX
)
ENDIF
(
UNIX
)
ADD_EXECUTABLE
(
mysqltest_embedded ../../client/mysqltest.cc
)
MYSQL_
ADD_EXECUTABLE
(
mysqltest_embedded ../../client/mysqltest.cc
)
TARGET_LINK_LIBRARIES
(
mysqltest_embedded mysqlserver
)
TARGET_LINK_LIBRARIES
(
mysqltest_embedded mysqlserver
)
...
@@ -44,11 +44,11 @@ IF(CMAKE_GENERATOR MATCHES "Xcode")
...
@@ -44,11 +44,11 @@ IF(CMAKE_GENERATOR MATCHES "Xcode")
COMMAND
${
CMAKE_COMMAND
}
-E touch
COMMAND
${
CMAKE_COMMAND
}
-E touch
${
CMAKE_CURRENT_BINARY_DIR
}
/mysql_client_test_embedded_dummy.cc
${
CMAKE_CURRENT_BINARY_DIR
}
/mysql_client_test_embedded_dummy.cc
)
)
ADD_EXECUTABLE
(
mysql_client_test_embedded
MYSQL_
ADD_EXECUTABLE
(
mysql_client_test_embedded
${
CMAKE_CURRENT_BINARY_DIR
}
/mysql_client_test_embedded_dummy.cc
${
CMAKE_CURRENT_BINARY_DIR
}
/mysql_client_test_embedded_dummy.cc
../../tests/mysql_client_test.c
)
../../tests/mysql_client_test.c
)
ELSE
()
ELSE
()
ADD_EXECUTABLE
(
mysql_client_test_embedded ../../tests/mysql_client_test.c
)
MYSQL_
ADD_EXECUTABLE
(
mysql_client_test_embedded ../../tests/mysql_client_test.c
)
SET_TARGET_PROPERTIES
(
mysql_client_test_embedded PROPERTIES HAS_CXX TRUE
)
SET_TARGET_PROPERTIES
(
mysql_client_test_embedded PROPERTIES HAS_CXX TRUE
)
ENDIF
()
ENDIF
()
TARGET_LINK_LIBRARIES
(
mysql_client_test_embedded mysqlserver
)
TARGET_LINK_LIBRARIES
(
mysql_client_test_embedded mysqlserver
)
...
@@ -58,5 +58,3 @@ SET_TARGET_PROPERTIES(mysql_embedded PROPERTIES ENABLE_EXPORTS TRUE)
...
@@ -58,5 +58,3 @@ SET_TARGET_PROPERTIES(mysql_embedded PROPERTIES ENABLE_EXPORTS TRUE)
SET_TARGET_PROPERTIES
(
mysqltest_embedded PROPERTIES ENABLE_EXPORTS TRUE
)
SET_TARGET_PROPERTIES
(
mysqltest_embedded PROPERTIES ENABLE_EXPORTS TRUE
)
SET_TARGET_PROPERTIES
(
mysql_client_test_embedded PROPERTIES ENABLE_EXPORTS TRUE
)
SET_TARGET_PROPERTIES
(
mysql_client_test_embedded PROPERTIES ENABLE_EXPORTS TRUE
)
ENDIF
()
ENDIF
()
INSTALL
(
TARGETS mysql_embedded mysqltest_embedded mysql_client_test_embedded DESTINATION bin
)
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