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
1407b6f1
Commit
1407b6f1
authored
Dec 01, 2009
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build errors
parent
8b90176a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
11 deletions
+21
-11
cmake/dtrace.cmake
cmake/dtrace.cmake
+7
-1
mysys/CMakeLists.txt
mysys/CMakeLists.txt
+3
-3
plugin/semisync/CMakeLists.txt
plugin/semisync/CMakeLists.txt
+8
-4
sql/CMakeLists.txt
sql/CMakeLists.txt
+3
-3
No files found.
cmake/dtrace.cmake
View file @
1407b6f1
...
@@ -86,7 +86,13 @@ MACRO (DTRACE_INSTRUMENT target)
...
@@ -86,7 +86,13 @@ MACRO (DTRACE_INSTRUMENT target)
-P
${
CMAKE_SOURCE_DIR
}
/cmake/dtrace_prelink.cmake
-P
${
CMAKE_SOURCE_DIR
}
/cmake/dtrace_prelink.cmake
WORKING_DIRECTORY
${
objdir
}
WORKING_DIRECTORY
${
objdir
}
)
)
SET_TARGET_PROPERTIES
(
${
target
}
PROPERTIES LINK_FLAGS
"
${
outfile
}
"
)
GET_TARGET_PROPERTY
(
target_link_flags
${
target
}
LINK_FLAGS
)
IF
(
NOT target_link_flags
)
SET
(
target_link_flags
)
ENDIF
()
SET_TARGET_PROPERTIES
(
${
target
}
PROPERTIES LINK_FLAGS
"
${
target_link_flags
}
${
outfile
}
"
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
ENDMACRO
()
ENDMACRO
()
mysys/CMakeLists.txt
View file @
1407b6f1
...
@@ -48,10 +48,10 @@ IF(CMAKE_COMPILER_IS_GNUCC AND NOT HAVE_CXX_NEW)
...
@@ -48,10 +48,10 @@ IF(CMAKE_COMPILER_IS_GNUCC AND NOT HAVE_CXX_NEW)
ADD_DEFINITIONS
(
-DUSE_MYSYS_NEW
)
ADD_DEFINITIONS
(
-DUSE_MYSYS_NEW
)
ENDIF
()
ENDIF
()
IF
(
CMAKE_
C_COMPILER MATCHES SunPro
)
IF
(
CMAKE_
SYSTEM_NAME MATCHES
"SunOS"
AND CMAKE_C_COMPILER_ID MATCHES
"SunPro"
)
# Inline assembly template for rdtsc
# Inline assembly template for rdtsc
SET_SOURCE_FILE_PROPERTIES
(
my_rdtsc.c
SET_SOURCE_FILE
S
_PROPERTIES
(
my_rdtsc.c
PROPERTIES COMPILE_FLAGS
${
CMAKE_CURRENT_SOURCE_DIR
}
/my_timer_cycles.il
)
PROPERTIES COMPILE_FLAGS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/my_timer_cycles.il"
)
ENDIF
()
ENDIF
()
IF
(
HAVE_LARGE_PAGES
)
IF
(
HAVE_LARGE_PAGES
)
...
...
plugin/semisync/CMakeLists.txt
View file @
1407b6f1
...
@@ -15,11 +15,15 @@
...
@@ -15,11 +15,15 @@
SET
(
SEMISYNC_MASTER_SOURCES semisync.cc semisync_master.cc semisync_master_plugin.cc
SET
(
SEMISYNC_MASTER_SOURCES
semisync.cc semisync_master.cc semisync_master_plugin.cc
semisync.h semisync_master.h
)
semisync.h semisync_master.h
)
MYSQL_ADD_PLUGIN
(
semisync_master
${
SEMISYNC_MASTER_SOURCES
}
MODULE_ONLY MODULE_OUTPUT_NAME
"semisync_master"
)
MYSQL_ADD_PLUGIN
(
semisync_master
${
SEMISYNC_MASTER_SOURCES
}
MODULE_ONLY MODULE_OUTPUT_NAME
"semisync_master"
)
SET
(
SEMISYNC_SLAVE_SOURCES semisync.cc semisync_slave.cc semisync_slave_plugin.cc semisync.h semisync_slave.h
)
SET
(
SEMISYNC_SLAVE_SOURCES semisync.cc semisync_slave.cc
MYSQL_ADD_PLUGIN
(
semisync_slave
${
SEMISYNC_MASTER_SOURCES
}
MODULE_ONLY MODULE_OUTPUT_NAME
"semisync_slave"
)
semisync_slave_plugin.cc semisync.h semisync_slave.h
)
MYSQL_ADD_PLUGIN
(
semisync_slave
${
SEMISYNC_SLAVE_SOURCES
}
MODULE_ONLY MODULE_OUTPUT_NAME
"semisync_slave"
)
sql/CMakeLists.txt
View file @
1407b6f1
...
@@ -96,8 +96,7 @@ IF(MSVC)
...
@@ -96,8 +96,7 @@ IF(MSVC)
OUTPUT mysqld_dummy.cc
OUTPUT mysqld_dummy.cc
COMMAND cmake ARGS -E touch mysqld_dummy.cc
COMMAND cmake ARGS -E touch mysqld_dummy.cc
VERBATIM
)
VERBATIM
)
SET
(
MYSQLD_CORE_LIBS
${
MYSQLD_CORE_LIBS
}
sql
)
SET
(
SQL_LIB sql
)
ELSE
()
ELSE
()
ADD_EXECUTABLE
(
mysqld
${
SQL_SOURCE
}
)
ADD_EXECUTABLE
(
mysqld
${
SQL_SOURCE
}
)
DTRACE_INSTRUMENT
(
mysqld
)
DTRACE_INSTRUMENT
(
mysqld
)
...
@@ -129,7 +128,8 @@ ENDIF()
...
@@ -129,7 +128,8 @@ ENDIF()
SET_TARGET_PROPERTIES
(
mysqld PROPERTIES ENABLE_EXPORTS TRUE
)
SET_TARGET_PROPERTIES
(
mysqld PROPERTIES ENABLE_EXPORTS TRUE
)
SET_TARGET_PROPERTIES
(
mysqld PROPERTIES OUTPUT_NAME mysqld
${
MYSQLD_EXE_SUFFIX
}
)
SET_TARGET_PROPERTIES
(
mysqld PROPERTIES OUTPUT_NAME mysqld
${
MYSQLD_EXE_SUFFIX
}
)
TARGET_LINK_LIBRARIES
(
mysqld
${
MYSQLD_STATIC_PLUGIN_LIBS
}
sql mysys dbug strings vio regex
${
MYSQLD_CORE_LIBS
}
TARGET_LINK_LIBRARIES
(
mysqld
${
MYSQLD_STATIC_PLUGIN_LIBS
}
mysys dbug strings vio regex
${
SQL_LIB
}
${
LIBWRAP_LIBRARY
}
${
ZLIB_LIBRARY
}
${
SSL_LIBRARIES
}
)
${
LIBWRAP_LIBRARY
}
${
ZLIB_LIBRARY
}
${
SSL_LIBRARIES
}
)
INSTALL
(
TARGETS mysqld DESTINATION bin
)
INSTALL
(
TARGETS mysqld DESTINATION bin
)
INSTALL_DEBUG_SYMBOLS
(
mysqld
)
INSTALL_DEBUG_SYMBOLS
(
mysqld
)
...
...
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