diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-06-03 10:57:57 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-06-03 10:57:57 +0200 |
commit | 77ec219d58fb7819ec7ce7ea5a441716c850b37b (patch) | |
tree | 1d559c9974372fcfd996d0634074bc5fc74b178f /CMakeLists.txt | |
parent | 57d15d62f15e8b17eddf0a5e6c4beee8e78c07b1 (diff) | |
download | mariadb-git-77ec219d58fb7819ec7ce7ea5a441716c850b37b.tar.gz |
cmake: mark AIO_LIBRARY, EVENT_LIBRARY, GROFF, NROFF as advanced;
use -ggdb3 if supported
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 54a93ed3791..b03cdf438a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |