Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pulse Physiology Suite
engine
Commits
e43d1bec
Commit
e43d1bec
authored
May 03, 2019
by
Aaron Bray
Browse files
Enable multi file compile for MSVC
parent
81a8f85f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Pulse.cmake
View file @
e43d1bec
...
...
@@ -19,9 +19,9 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set
(
CMAKE_CONFIGURATION_TYPES
"Debug"
"Release"
"RelWithDebInfo"
CACHE STRING INTERNAL FORCE
)
if
(
MSVC
)
# Using MD as that seems to be what I run into alot, you could change these to /MT and /MTd if you want...
set
(
CMAKE_CXX_FLAGS_DEBUG
"/D_DEBUG /MDd /Zi /Ob2 /Oi /Od /RTC1"
CACHE STRING INTERNAL FORCE
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"/MD"
CACHE STRING INTERNAL FORCE
)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"/MDd /Zi"
CACHE STRING INTERNAL FORCE
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"/D_DEBUG /MDd /Zi /Ob2 /Oi /Od /RTC1
/MP
"
CACHE STRING INTERNAL FORCE
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"/MD
/MP
"
CACHE STRING INTERNAL FORCE
)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"/MDd /Zi
/MP
"
CACHE STRING INTERNAL FORCE
)
endif
()
if
(
MINGW
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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