--- CMakeLists.txt.orig	2024-06-25 05:13:56 UTC
+++ CMakeLists.txt
@@ -294,7 +294,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX)
     # TODO: These warnings should be properly addressed and these compiler options removed
     add_compile_options(-Wno-overloaded-virtual -Wno-alloc-size-larger-than -Wno-dangling-pointer)
   endif()
-  set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
+  set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG")
   set(CMAKE_CXX_FLAGS_DEBUG "-g -fno-omit-frame-pointer -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls")
   if(DART_FAST_DEBUG)
     set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O1")
@@ -322,7 +322,7 @@ elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
   if("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
   endif()
-  set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")
+  set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG")
   set(CMAKE_CXX_FLAGS_DEBUG "-g -fno-omit-frame-pointer -fno-inline-functions -fno-optimize-sibling-calls")
   if(DART_FAST_DEBUG)
     set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O1")
@@ -390,20 +390,20 @@ if(TARGET dart)
   if(MSVC)
     add_subdirectory(examples)
   else()
-    add_subdirectory(examples EXCLUDE_FROM_ALL)
-    get_property(examples GLOBAL PROPERTY DART_EXAMPLES)
-    add_custom_target(examples DEPENDS ${examples})
+    #add_subdirectory(examples EXCLUDE_FROM_ALL)
+    #get_property(examples GLOBAL PROPERTY DART_EXAMPLES)
+    #add_custom_target(examples DEPENDS ${examples})
   endif()
 
   if(DART_VERBOSE)
     message(STATUS "")
     message(STATUS "[ Examples ]")
-    foreach(example ${examples})
-      message(STATUS "Adding example: ${example}")
-    endforeach(example ${examples})
-  else(DART_VERBOSE)
-    list(LENGTH examples examples_length)
-    message(STATUS "Adding ${examples_length} examples")
+    #foreach(example ${examples})
+    #  message(STATUS "Adding example: ${example}")
+    #endforeach(example ${examples})
+  #else(DART_VERBOSE)
+    #list(LENGTH examples examples_length)
+    #message(STATUS "Adding ${examples_length} examples")
   endif(DART_VERBOSE)
 
   # Add a "tutorials" target to build tutorials.
