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
d02f318f
Commit
d02f318f
authored
Jan 19, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
97cf0053
787b04d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
CMakeLists.txt
CMakeLists.txt
+14
-9
No files found.
CMakeLists.txt
View file @
d02f318f
...
@@ -19,9 +19,6 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.6)
...
@@ -19,9 +19,6 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.6)
CMAKE_POLICY
(
VERSION 2.8
)
CMAKE_POLICY
(
VERSION 2.8
)
endif
()
endif
()
IF
(
BUILD_CONFIG
)
INCLUDE
(
${
CMAKE_SOURCE_DIR
}
/cmake/build_configurations/
${
BUILD_CONFIG
}
.cmake
)
ENDIF
()
SET
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
CMAKE_SOURCE_DIR
}
/cmake
)
SET
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
CMAKE_SOURCE_DIR
}
/cmake
)
...
@@ -31,7 +28,7 @@ SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
...
@@ -31,7 +28,7 @@ SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
# is given, set CMAKE_BUILD_TYPE = Debug. Otherwise, use Relwithdebinfo.
# is given, set CMAKE_BUILD_TYPE = Debug. Otherwise, use Relwithdebinfo.
IF
(
CMAKE_BUILD_TYPE
)
IF
(
DEFINED
CMAKE_BUILD_TYPE
)
SET
(
HAVE_CMAKE_BUILD_TYPE TRUE
)
SET
(
HAVE_CMAKE_BUILD_TYPE TRUE
)
ENDIF
()
ENDIF
()
SET
(
CUSTOM_C_FLAGS $ENV{CFLAGS}
)
SET
(
CUSTOM_C_FLAGS $ENV{CFLAGS}
)
...
@@ -42,19 +39,27 @@ ENDIF()
...
@@ -42,19 +39,27 @@ ENDIF()
OPTION
(
WITH_DEBUG
"Use dbug"
OFF
)
OPTION
(
WITH_DEBUG
"Use dbug"
OFF
)
OPTION
(
WITH_DEBUG_FULL
"Use dbug and safemalloc/safemutex. Slow"
OFF
)
OPTION
(
WITH_DEBUG_FULL
"Use dbug and safemalloc/safemutex. Slow"
OFF
)
IF
(
NOT HAVE_CMAKE_BUILD_TYPE AND NOT CUSTOM_C_FLAGS
)
IF
(
NOT HAVE_CMAKE_BUILD_TYPE
)
IF
(
BUILD_CONFIG OR NOT CUSTOM_C_FLAGS
)
IF
(
WITH_DEBUG
)
IF
(
WITH_DEBUG
)
SET
(
CMAKE_BUILD_TYPE
"Debug"
CACHE STRING
"Debug build"
FORCE
)
SET
(
CMAKE_BUILD_TYPE
"Debug"
CACHE STRING
"Debug build"
FORCE
)
ELSE
()
ELSE
()
SET
(
CMAKE_BUILD_TYPE
"RelWithDebInfo"
CACHE STRING
"RelWithDebInfo build"
FORCE
)
SET
(
CMAKE_BUILD_TYPE
"RelWithDebInfo"
CACHE STRING
"RelWithDebInfo build"
FORCE
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
IF
(
WITH_DEBUG_FULL
)
IF
(
WITH_DEBUG_FULL
)
SET
(
WITH_DEBUG ON CACHE BOOL
"Use DBUG"
)
SET
(
WITH_DEBUG ON CACHE BOOL
"Use DBUG"
)
ENDIF
()
ENDIF
()
PROJECT
(
MySQL
)
PROJECT
(
MySQL
)
IF
(
BUILD_CONFIG
)
INCLUDE
(
${
CMAKE_SOURCE_DIR
}
/cmake/build_configurations/
${
BUILD_CONFIG
}
.cmake
)
ENDIF
()
IF
(
CYGWIN
)
IF
(
CYGWIN
)
SET
(
WIN32 0
)
SET
(
WIN32 0
)
ENDIF
()
ENDIF
()
...
...
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