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
2f957b56
Commit
2f957b56
authored
Jan 13, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
5cddb6c1
7e7965ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
CMakeLists.txt
CMakeLists.txt
+8
-3
No files found.
CMakeLists.txt
View file @
2f957b56
...
...
@@ -103,17 +103,22 @@ IF(WITH_ERROR_INJECT)
SET
(
CMAKE_C_FLAGS_DEBUG
"
${
CMAKE_C_FLAGS_DEBUG
}
-DERROR_INJECT_SUPPORT"
)
ENDIF
()
OPTION
(
ENABLE_LOCAL_INFILE
"If we should should enable LOAD DATA LOCAL by default"
${
IF_WIN
}
)
MARK_AS_ADVANCED
(
ENABLE_LOCAL_INFILE
)
# Set DBUG_OFF for non-debug project types.
OPTION
(
WITH_FAST_MUTEXES
"Compile with fast mutexes"
OFF
)
MARK_AS_ADVANCED
(
WITH_FAST_MUTEXES
)
# Set DBUG_OFF and other optional release-only flags for non-debug project types
FOREACH
(
BUILD_TYPE RELEASE RELWITHDEBINFO MINSIZEREL
)
FOREACH
(
LANG C CXX
)
SET
(
CMAKE_
${
LANG
}
_FLAGS_
${
BUILD_TYPE
}
"
${
CMAKE_
${
LANG
}
_FLAGS_
${
BUILD_TYPE
}}
-DDBUG_OFF"
)
IF
(
WITH_FAST_MUTEXES
)
SET
(
CMAKE_
${
LANG
}
_FLAGS_
${
BUILD_TYPE
}
"
${
CMAKE_
${
LANG
}
_FLAGS_
${
BUILD_TYPE
}}
-DMY_PTHREAD_FASTMUTEX=1"
)
ENDIF
()
ENDFOREACH
()
ENDFOREACH
()
...
...
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