This commit is contained in:
Riyyi
2019-12-21 15:00:45 +01:00
parent dfbcc0ff0a
commit b6f96b3e38
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -20,6 +20,7 @@ if(DEBUG)
# -Og = Optimizations that do not interfere with debugging
# -Wall = All warnings about contructions that are easily avoidable
# -Wextra = Extra warning flags not covered by -Wall
# -g = Produce debugging information in OS's native format
# -pg = Generate profile information for analysis with gprof
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Og -Wall -Wextra -g -pg")
# gprof <GAME> gmon.out > profile-data.txt
-2
View File
@@ -1,8 +1,6 @@
#ifndef SHADER_H
#define SHADER_H
#define INFO_LOG_SIZE 512
#include <cstdint> // std::int32_t, std::uint32_t
#include <string> // std::string