Cambios menores en archivos CMake y main

parent 1917abda
Showing with 2 additions and 3 deletions
...@@ -7,9 +7,7 @@ file( GLOB MY_FILES *.cpp ) ...@@ -7,9 +7,7 @@ file( GLOB MY_FILES *.cpp )
file( GLOB GLAD_FILES glad/src/*.c ) file( GLOB GLAD_FILES glad/src/*.c )
file( GLOB IMGUI_FILES imgui/src/*.cpp) file( GLOB IMGUI_FILES imgui/src/*.cpp)
add_executable(PAG_p1 ${MY_FILES} ${GLAD_FILES} ${IMGUI_FILES} add_executable(PAG_p1 ${MY_FILES} ${GLAD_FILES} ${IMGUI_FILES})
ShaderException.cpp
ShaderException.h)
target_include_directories(PAG_p1 PUBLIC glad/include imgui/include ) target_include_directories(PAG_p1 PUBLIC glad/include imgui/include )
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
void error_callback(int errno, const char* desc) { void error_callback(int errno, const char* desc) {
std::string aux = std::string(); std::string aux = std::string();
aux.append("Error de GLFW número ").append(std::to_string(errno)).append(desc); aux.append("Error de GLFW número ").append(std::to_string(errno)).append(desc);
std::cout << aux << std::endl;
PAG::GUI::getInstancia().registrarMensaje(aux); PAG::GUI::getInstancia().registrarMensaje(aux);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment