forked from platformio/platformio-core
Use C++11 by default for CLion IDE based projects // Resolve #873
This commit is contained in:
@ -24,6 +24,8 @@ PlatformIO 3.0
|
||||
and `platformio run <http://docs.platformio.org/page/userguide/cmd_run.html>`__
|
||||
commands
|
||||
(`issue #850 <https://github.com/platformio/platformio-core/issues/850>`_)
|
||||
* Use C++11 by default for CLion IDE based projects
|
||||
(`pull #873 <https://github.com/platformio/platformio-core/pull/873>`_)
|
||||
|
||||
-------
|
||||
|
||||
|
2
examples
2
examples
Submodule examples updated: d32be42b60...463f855761
@ -5,6 +5,7 @@ SET(CMAKE_C_COMPILER "{{cc_path.replace("\\", "/")}}")
|
||||
SET(CMAKE_CXX_COMPILER "{{cxx_path.replace("\\", "/")}}")
|
||||
SET(CMAKE_CXX_FLAGS_DISTRIBUTION "{{cxx_flags}}")
|
||||
SET(CMAKE_C_FLAGS_DISTRIBUTION "{{cc_flags}}")
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
% for define in defines:
|
||||
add_definitions(-D{{!define}})
|
||||
|
Reference in New Issue
Block a user