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
77ec219d
Commit
77ec219d
authored
Jun 03, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: mark AIO_LIBRARY, EVENT_LIBRARY, GROFF, NROFF as advanced;
use -ggdb3 if supported
parent
57d15d62
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
1 deletion
+11
-1
CMakeLists.txt
CMakeLists.txt
+5
-0
cmake/os/WindowsCache.cmake
cmake/os/WindowsCache.cmake
+2
-1
dbug/CMakeLists.txt
dbug/CMakeLists.txt
+2
-0
storage/xtradb/CMakeLists.txt
storage/xtradb/CMakeLists.txt
+1
-0
tests/CMakeLists.txt
tests/CMakeLists.txt
+1
-0
No files found.
CMakeLists.txt
View file @
77ec219d
...
...
@@ -61,6 +61,7 @@ IF(UNIX AND NOT APPLE)
# Compiling with PIC speeds up embedded build, on PIC sensitive systems
# Predefine it to OFF in release builds, because of the performance penalty
SET
(
WITH_PIC
${
WITH_PIC_DEFAULT
}
CACHE BOOL
"Compile with PIC."
)
MARK_AS_ADVANCED
(
WITH_PIC
)
ENDIF
()
# Optionally set project name, e.g.
...
...
@@ -263,6 +264,10 @@ IF (ENABLE_GCOV AND NOT WIN32 AND NOT APPLE)
SET
(
CMAKE_EXE_LINKER_FLAGS_DEBUG
"
${
CMAKE_EXE_LINKER_FLAGS_DEBUG
}
-fprofile-arcs -ftest-coverage -lgcov"
)
ENDIF
()
MY_CHECK_C_COMPILER_FLAG
(
-ggdb3 HAVE_GGDB3
)
SET
(
CMAKE_C_FLAGS_DEBUG
"
${
CMAKE_C_FLAGS_DEBUG
}
-ggdb3"
)
SET
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-ggdb3"
)
OPTION
(
ENABLED_LOCAL_INFILE
"If we should should enable LOAD DATA LOCAL by default"
${
IF_WIN
}
)
MARK_AS_ADVANCED
(
ENABLED_LOCAL_INFILE
)
...
...
cmake/os/WindowsCache.cmake
View file @
77ec219d
...
...
@@ -370,4 +370,5 @@ SET(HAVE_SYS_UTSNAME_H CACHE INTERNAL "")
SET
(
HAVE_PTHREAD_ATTR_GETGUARDSIZE CACHE INTERNAL
""
)
SET
(
HAVE_UCONTEXT_H CACHE INTERNAL
""
)
SET
(
HAVE_SOCKPEERCRED CACHE INTERNAL
""
)
ENDIF
()
SET
(
HAVE_GGDB3 CACHE INTERNAL
""
)
ENDIF
(
MSVC
)
dbug/CMakeLists.txt
View file @
77ec219d
...
...
@@ -30,6 +30,8 @@ TARGET_LINK_LIBRARIES(factorial dbug)
IF
(
NOT WIN32 AND NOT CMAKE_GENERATOR MATCHES Xcode
)
FIND_PROGRAM
(
GROFF groff
)
FIND_PROGRAM
(
NROFF nroff
)
MARK_AS_ADVANCED
(
GROFF
)
MARK_AS_ADVANCED
(
NROFF
)
SET
(
OUTPUT_INC output1.r output2.r output3.r output4.r output5.r
)
SET
(
SOURCE_INC factorial.r main.r example1.r example2.r example3.r
)
ADD_CUSTOM_COMMAND
(
OUTPUT
${
OUTPUT_INC
}
...
...
storage/xtradb/CMakeLists.txt
View file @
77ec219d
...
...
@@ -27,6 +27,7 @@ IF(UNIX)
SET
(
CMAKE_FIND_LIBRARY_SUFFIXES .a
${
CMAKE_FIND_LIBRARY_SUFFIXES
}
)
ENDIF
()
FIND_LIBRARY
(
AIO_LIBRARY aio
)
MARK_AS_ADVANCED
(
AIO_LIBRARY
)
IF
(
AIO_LIBRARY
)
CHECK_LIBRARY_EXISTS
(
${
AIO_LIBRARY
}
io_queue_init
""
HAVE_LIBAIO
)
IF
(
HAVE_LIBAIO AND HAVE_LIBAIO_H
)
...
...
tests/CMakeLists.txt
View file @
77ec219d
...
...
@@ -31,6 +31,7 @@ INSTALL(TARGETS mysql_client_test DESTINATION ${INSTALL_BINDIR} COMPONENT Test)
CHECK_INCLUDE_FILE
(
event.h HAVE_EVENT_H
)
FIND_LIBRARY
(
EVENT_LIBRARY event
)
MARK_AS_ADVANCED
(
EVENT_LIBRARY
)
IF
(
HAVE_EVENT_H AND EVENT_LIBRARY
)
ADD_EXECUTABLE
(
async_queries async_queries.c
)
TARGET_LINK_LIBRARIES
(
async_queries mysqlclient
${
EVENT_LIBRARY
}
)
...
...
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