Author: tfaber
Date: Sat Jul 20 10:23:07 2013
New Revision: 59534
URL:
http://svn.reactos.org/svn/reactos?rev=59534&view=rev
Log:
[CMAKE]
- And here's finally a reason why we shouldn't use g++'s host-headers and
libraries
- Switch back to wishy-washy-what's-a-standard mode for C++ globally, and enable C++11
only for netshell
Modified:
trunk/reactos/cmake/gcc.cmake
trunk/reactos/dll/win32/netshell/CMakeLists.txt
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=59534&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Sat Jul 20 10:23:07 2013
@@ -15,7 +15,7 @@
add_compile_flags("-mstackrealign")
endif()
-add_compile_flags_language("-fno-rtti -fno-exceptions -std=gnu++11"
"CXX")
+add_compile_flags_language("-fno-rtti -fno-exceptions" "CXX")
#bug
#file(TO_NATIVE_PATH ${REACTOS_SOURCE_DIR} REACTOS_SOURCE_DIR_NATIVE)
Modified: trunk/reactos/dll/win32/netshell/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/netshell/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/CMakeLists.txt [iso-8859-1] Sat Jul 20 10:23:07 2013
@@ -1,5 +1,10 @@
set_cpp(WITH_RUNTIME)
+
+if(NOT MSVC)
+ # HACK: this should be enabled globally!
+ add_compile_flags_language("-std=c++11" "CXX")
+endif()
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)