Merge pull request #3415 from Beep6581/eclipse_c++11
Add full support of c++11 to the Eclipse IDE
This commit is contained in:
@@ -4,6 +4,13 @@ else (WIN32)
|
|||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
|
# must stay before the 'project' command
|
||||||
|
if(${CMAKE_EXTRA_GENERATOR} MATCHES "Eclipse CDT4")
|
||||||
|
set(CMAKE_CXX_COMPILER_ARG1 "-std=c++11" CACHE STRING "C++ version for eclipse" FORCE)
|
||||||
|
# users building with Eclipse should set CMAKE_ECLIPSE_VERSION through the command line to their current version of Eclipse
|
||||||
|
#set(CMAKE_ECLIPSE_VERSION "4.6.0" CACHE STRING "Eclipse version" FORCE)
|
||||||
|
endif()
|
||||||
|
|
||||||
PROJECT(RawTherapee)
|
PROJECT(RawTherapee)
|
||||||
|
|
||||||
# the default target is 'Debug'
|
# the default target is 'Debug'
|
||||||
|
Reference in New Issue
Block a user