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
0fab28ce
Commit
0fab28ce
authored
Dec 22, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: better auto *.i targets in Makefiles
parent
da0991c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
cmake/maintainer.cmake
cmake/maintainer.cmake
+7
-0
No files found.
cmake/maintainer.cmake
View file @
0fab28ce
...
...
@@ -56,3 +56,10 @@ ELSEIF(MYSQL_MAINTAINER_MODE MATCHES "AUTO")
SET
(
CMAKE_C_FLAGS_DEBUG
"
${
CMAKE_C_FLAGS_DEBUG
}
${
MY_MAINTAINER_C_WARNINGS
}
"
)
SET
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
${
MY_MAINTAINER_CXX_WARNINGS
}
"
)
ENDIF
()
IF
(
CMAKE_C_COMPILER_ID MATCHES
"GNU"
)
STRING
(
REPLACE
" -E "
" -E -dDI "
CMAKE_C_CREATE_PREPROCESSED_SOURCE
${
CMAKE_C_CREATE_PREPROCESSED_SOURCE
}
)
ENDIF
()
IF
(
CMAKE_CXX_COMPILER_ID MATCHES
"GNU"
)
STRING
(
REPLACE
" -E "
" -E -dDI "
CMAKE_CXX_CREATE_PREPROCESSED_SOURCE
${
CMAKE_CXX_CREATE_PREPROCESSED_SOURCE
}
)
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