CMake/Tutorials/C++11Flags: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Remove leading space rectangles from preformatted blocks)
(Replace content with link to new CMake community wiki)
 
Line 1: Line 1:
<source lang=cmake>
{{CMake/Template/Moved}}
cmake_minimum_required(VERSION 2.6)


PROJECT(Test)
This page has moved [https://gitlab.kitware.com/cmake/community/wikis/doc/tutorials/C++11Flags here].
 
if(UNIX)
<pre>
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++0x")
</pre>
endif()
 
# MSVC does not require any special flags
 
</source>
 
{{CMake/Template/Footer}}

Latest revision as of 15:40, 30 April 2018


The CMake community Wiki has moved to the Kitware GitLab Instance.

This page has moved here.