Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
31dc0599
Commit
31dc0599
authored
Mar 17, 2016
by
Edward Thomson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3687 from mstrap/CMAKE_C_FLAGS_DEBUG
CMake: do not overwrite but only append to CMAKE_C_FLAGS_DEBUG
parents
62e237e0
08f030ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
31dc0599
...
...
@@ -412,7 +412,7 @@ IF (MSVC)
# /MTd - Statically link the multithreaded debug version of the CRT
# /MDd - Dynamically link the multithreaded debug version of the CRT
# /RTC1 - Run time checks
SET
(
CMAKE_C_FLAGS_DEBUG
"/Zi /Od /D_DEBUG /RTC1
${
CRT_FLAG_DEBUG
}
"
)
SET
(
CMAKE_C_FLAGS_DEBUG
"
${
CMAKE_C_FLAGS_DEBUG
}
/Zi /Od /D_DEBUG /RTC1
${
CRT_FLAG_DEBUG
}
"
)
# /DNDEBUG - Disables asserts
# /MT - Statically link the multithreaded release version of the CRT
...
...
@@ -464,7 +464,7 @@ ELSE ()
ENDIF
()
IF
(
WIN32 AND NOT CYGWIN
)
SET
(
CMAKE_C_FLAGS_DEBUG
"-D_DEBUG"
)
SET
(
CMAKE_C_FLAGS_DEBUG
"
${
CMAKE_C_FLAGS_DEBUG
}
-D_DEBUG"
)
ENDIF
()
IF
(
MINGW
)
# MinGW always does PIC and complains if we tell it to
...
...
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