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
CMake
CMake
Commits
0310cb10
Commit
0310cb10
authored
Sep 16, 2016
by
Brad King
Browse files
Utilities/Release: Build Linux and OS X binaries as C++14
The toolchains we use to build on these platforms support it.
parent
00fd64d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Utilities/Release/linux64_release.cmake
View file @
0310cb10
...
...
@@ -21,7 +21,7 @@ set(qt_xcb_libs
set
(
INITIAL_CACHE
"
CMAKE_BUILD_TYPE:STRING=Release
CMAKE_C_STANDARD:STRING=11
CMAKE_CXX_STANDARD:STRING=1
1
CMAKE_CXX_STANDARD:STRING=1
4
CMAKE_C_FLAGS:STRING=-D_POSIX_C_SOURCE=199506L -D_POSIX_SOURCE=1 -D_SVID_SOURCE=1 -D_BSD_SOURCE=1
CMAKE_EXE_LINKER_FLAGS:STRING=-static-libstdc++ -static-libgcc
CURSES_LIBRARY:FILEPATH=/home/kitware/ncurses-5.9/lib/libncurses.a
...
...
Utilities/Release/osx_release.cmake
View file @
0310cb10
...
...
@@ -14,7 +14,7 @@ set(CXXFLAGS "-stdlib=libc++")
set
(
INITIAL_CACHE
"
CMAKE_BUILD_TYPE:STRING=Release
CMAKE_C_STANDARD:STRING=11
CMAKE_CXX_STANDARD:STRING=1
1
CMAKE_CXX_STANDARD:STRING=1
4
CMAKE_OSX_ARCHITECTURES:STRING=x86_64
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.7
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
...
...
Brad King
@brad.king
mentioned in commit
009bb013
·
Sep 19, 2016
mentioned in commit
009bb013
mentioned in commit 009bb0139deb32d7ab9d08f15a7364b4c37c5960
Toggle commit list
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