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
abf48953
Commit
abf48953
authored
Aug 04, 2007
by
kent@mysql.com/kent-amd64.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMakeLists.txt:
Removed space between '-D' and symbol
parent
a6d082f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
CMakeLists.txt
CMakeLists.txt
+14
-14
No files found.
CMakeLists.txt
View file @
abf48953
...
...
@@ -22,8 +22,8 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/include/mysql_version.h.in
${
CMAKE_SOURCE_DIR
}
/include/mysql_version.h @ONLY
)
# Set standard options
ADD_DEFINITIONS
(
-D
CMAKE_BUILD
)
ADD_DEFINITIONS
(
-D
HAVE_YASSL
)
ADD_DEFINITIONS
(
-DCMAKE_BUILD
)
ADD_DEFINITIONS
(
-DHAVE_YASSL
)
# Set debug options
SET
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
-DFORCE_INIT_OF_VARS"
)
...
...
@@ -31,27 +31,27 @@ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DFORCE_INIT_OF_VARS")
# Note that some engines are always compiled in, MyISAM, MyISAMMRG, HEAP
IF
(
WITH_ARCHIVE_STORAGE_ENGINE
)
ADD_DEFINITIONS
(
-D
HAVE_ARCHIVE_DB
)
ADD_DEFINITIONS
(
-DHAVE_ARCHIVE_DB
)
ENDIF
(
WITH_ARCHIVE_STORAGE_ENGINE
)
IF
(
WITH_BERKELEY_STORAGE_ENGINE
)
ADD_DEFINITIONS
(
-D
HAVE_BERKELEY_DB
)
ADD_DEFINITIONS
(
-DHAVE_BERKELEY_DB
)
ENDIF
(
WITH_BERKELEY_STORAGE_ENGINE
)
IF
(
WITH_BLACKHOLE_STORAGE_ENGINE
)
ADD_DEFINITIONS
(
-D
HAVE_BLACKHOLE_DB
)
ADD_DEFINITIONS
(
-DHAVE_BLACKHOLE_DB
)
ENDIF
(
WITH_BLACKHOLE_STORAGE_ENGINE
)
IF
(
WITH_EXAMPLE_STORAGE_ENGINE
)
ADD_DEFINITIONS
(
-D
HAVE_EXAMPLE_DB
)
ADD_DEFINITIONS
(
-DHAVE_EXAMPLE_DB
)
ENDIF
(
WITH_EXAMPLE_STORAGE_ENGINE
)
IF
(
WITH_FEDERATED_STORAGE_ENGINE
)
ADD_DEFINITIONS
(
-D
HAVE_FEDERATED_DB
)
ADD_DEFINITIONS
(
-DHAVE_FEDERATED_DB
)
ENDIF
(
WITH_FEDERATED_STORAGE_ENGINE
)
IF
(
WITH_INNOBASE_STORAGE_ENGINE
)
ADD_DEFINITIONS
(
-D
HAVE_INNOBASE_DB
)
ADD_DEFINITIONS
(
-DHAVE_INNOBASE_DB
)
ENDIF
(
WITH_INNOBASE_STORAGE_ENGINE
)
SET
(
localstatedir
"C:
\\
mysql
\\
data"
)
...
...
@@ -67,14 +67,14 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/support-files/my-small.cnf.sh
${
CMAKE_SOURCE_DIR
}
/support-files/my-small.ini @ONLY
)
IF
(
__NT__
)
ADD_DEFINITIONS
(
-D
__NT__
)
ADD_DEFINITIONS
(
-D__NT__
)
ENDIF
(
__NT__
)
# in some places we use DBUG_OFF
SET
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-D
DBUG_OFF"
)
SET
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"
${
CMAKE_CXX_FLAGS_RELWITHDEBINFO
}
-D
DBUG_OFF"
)
SET
(
CMAKE_C_FLAGS_RELEASE
"
${
CMAKE_C_FLAGS_RELEASE
}
-D
DBUG_OFF"
)
SET
(
CMAKE_C_FLAGS_RELWITHDEBINFO
"
${
CMAKE_C_FLAGS_RELWITHDEBINFO
}
-D
DBUG_OFF"
)
SET
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-DDBUG_OFF"
)
SET
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"
${
CMAKE_CXX_FLAGS_RELWITHDEBINFO
}
-DDBUG_OFF"
)
SET
(
CMAKE_C_FLAGS_RELEASE
"
${
CMAKE_C_FLAGS_RELEASE
}
-DDBUG_OFF"
)
SET
(
CMAKE_C_FLAGS_RELWITHDEBINFO
"
${
CMAKE_C_FLAGS_RELWITHDEBINFO
}
-DDBUG_OFF"
)
IF
(
CMAKE_GENERATOR MATCHES
"Visual Studio 8"
)
SET
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
/wd4996"
)
...
...
@@ -112,7 +112,7 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR
ENDIF
(
CMAKE_GENERATOR MATCHES
"Visual Studio 7"
OR
CMAKE_GENERATOR MATCHES
"Visual Studio 8"
)
ADD_DEFINITIONS
(
"-D_WINDOWS -D__WIN__ -D
_CRT_SECURE_NO_DEPRECATE"
)
ADD_DEFINITIONS
(
"-D_WINDOWS -D__WIN__ -D_CRT_SECURE_NO_DEPRECATE"
)
IF
(
EMBED_MANIFESTS
)
# Search for the tools (mt, makecat, signtool) necessary for embedding
...
...
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