Change -Og to -O0 because it made a lot of problems when debugging
This commit is contained in:
		@@ -61,7 +61,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
 | 
					IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
 | 
				
			||||||
	add_definitions(-DDEBUGBUILD)
 | 
						add_definitions(-DDEBUGBUILD)
 | 
				
			||||||
	add_compile_options(-Og -g)
 | 
						add_compile_options(-O0 -g)
 | 
				
			||||||
ELSE()
 | 
					ELSE()
 | 
				
			||||||
	add_compile_options(-O3 -g)
 | 
						add_compile_options(-O3 -g)
 | 
				
			||||||
	add_link_options(-Wl,--gc-sections)
 | 
						add_link_options(-Wl,--gc-sections)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user