Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Diego Pérez Peña
/
PAG_p1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bf4c072a
authored
Sep 26, 2025
by
Diego Pérez Peña
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Cambios menores en archivos CMake y main
parent
1917abda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
CMakeLists.txt
main.cpp
CMakeLists.txt
View file @
bf4c072a
...
@@ -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
)
...
...
main.cpp
View file @
bf4c072a
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment