Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
Bonzomatic
Commits
7cbba5e6
Commit
7cbba5e6
authored
Jul 15, 2017
by
mathieu _alkama_ m
Committed by
Gargaj
Jul 15, 2017
Browse files
MacOS: compile using c++14, libc++, disabling RTTI and Exceptions
parent
73ceb33c
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7cbba5e6
...
...
@@ -48,6 +48,13 @@ if (MSVC)
endif
()
endif
()
if
(
APPLE
)
set
(
CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD
"c++14"
)
set
(
CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY
"libc++"
)
set
(
CMAKE_XCODE_ATTRIBUTE_GCC_ENABLE_CPP_EXCEPTIONS
"No"
)
set
(
CMAKE_XCODE_ATTRIBUTE_GCC_ENABLE_CPP_RTTI
"No"
)
endif
()
# Dont compile glfw and glew for windows dx targets
if
(
APPLE OR UNIX
OR
(
MSVC
AND
(
${
BONZOMATIC_WINDOWS_FLAVOR
}
MATCHES
"GLFW"
)))
##############################################################################
...
...
Write
Preview
Supports
Markdown
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