Skip to content

Commit 4eefd47

Browse files
committed
Renombrar cada uno de los proyectos de la serie de tutoriales OpenGL Moderno
1 parent bcb1456 commit 4eefd47

File tree

10 files changed

+21
-18
lines changed

10 files changed

+21
-18
lines changed

CMake/Modules/FindGLFW3.cmake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
find_path(GLFW3_INCLUDE_DIRS GLFW/glfw3.h HINTS $ENV{GLFW3_DIR} PATH_SUFFIXES include)
2-
find_library(GLFW3_LIBRARY NAMES glfw3 HINTS $ENV{GLFW3_DIR} PATH_SUFFIXES lib64 lib)
1+
set(GLFW3_DIR $ENV{GLFW3_DIR} CACHE PATH "GLFW3 Directorio de instalacion")
2+
3+
find_path(GLFW3_INCLUDE_DIRS GLFW/glfw3.h HINTS ${GLFW3_DIR} PATH_SUFFIXES include)
4+
find_library(GLFW3_LIBRARY NAMES glfw3 HINTS ${GLFW3_DIR} PATH_SUFFIXES lib64 lib)
35

46
include(FindPackageHandleStandardArgs)
57
find_package_handle_standard_args(GLFW3 DEFAULT_MSG GLFW3_LIBRARY GLFW3_INCLUDE_DIRS)

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ add_subdirectory(Tutorial-04)
2525
add_subdirectory(Tutorial-05)
2626
add_subdirectory(Tutorial-06)
2727
add_subdirectory(Tutorial-07)
28+
add_subdirectory(Tutorial-08)

Tutorial-00/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
add_executable( Tutorial-00 ventana-opengl.cpp ../common/openglwindow.hpp)
1+
add_executable( 00-Ventana ventana-opengl.cpp ../common/openglwindow.hpp)
22

3-
target_link_libraries( Tutorial-00 ${GRAPHIC_LIBS} )
3+
target_link_libraries( 00-Ventana ${GRAPHIC_LIBS} )

Tutorial-01/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
file(COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
22

3-
add_executable( Tutorial-01 shader-opengl.cpp
3+
add_executable( 01-Shader shader-opengl.cpp
44
shaders/simple.vertex_shader
55
shaders/simple.fragment_shader
66
../common/openglwindow.hpp
77
../common/openglshader.hpp )
88

9-
target_link_libraries( Tutorial-01 ${GRAPHIC_LIBS} )
9+
target_link_libraries( 01-Shader ${GRAPHIC_LIBS} )

Tutorial-02/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
file(COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
22

3-
add_executable( Tutorial-02 data-opengl.cpp
3+
add_executable( 02-VertexBufferObject data-opengl.cpp
44
shaders/simple.vertex_shader
55
shaders/simple.fragment_shader
66
../common/openglwindow.hpp
77
../common/openglshader.hpp )
88

9-
target_link_libraries( Tutorial-02 ${GRAPHIC_LIBS} )
9+
target_link_libraries( 02-VertexBufferObject ${GRAPHIC_LIBS} )

Tutorial-03/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
file(COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
22

3-
add_executable( Tutorial-03 3d-opengl.cpp
3+
add_executable( 03-Render3D 3d-opengl.cpp
44
shaders/simple.vertex_shader
55
shaders/simple.fragment_shader
66
../common/openglwindow.hpp
77
../common/openglshader.hpp )
88

9-
target_link_libraries( Tutorial-03 ${GRAPHIC_LIBS} )
9+
target_link_libraries( 03-Render3D ${GRAPHIC_LIBS} )

Tutorial-04/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
file(COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
22
file(COPY lena.bmp baboon.bmp DESTINATION textures)
33

4-
add_executable( Tutorial-04 texturas.cpp
4+
add_executable( 04-Texturas texturas.cpp
55
shaders/simple.vertex_shader
66
shaders/simple.fragment_shader
77
../common/openglwindow.hpp
88
../common/openglshader.hpp )
99

10-
target_link_libraries( Tutorial-04 ${GRAPHIC_LIBS} )
10+
target_link_libraries( 04-Texturas ${GRAPHIC_LIBS} )

Tutorial-05/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
file(COPY simple.vertex_shader simple.fragment_shader DESTINATION shaders)
22
file(COPY cubo.obj cubo.bmp cyborg.obj cyborg.bmp DESTINATION model)
33

4-
add_executable( Tutorial-05 modelo_obj.cpp
4+
add_executable( 05-FormatoOBJ modelo_obj.cpp
55
shaders/simple.vertex_shader
66
shaders/simple.fragment_shader
77
../common/openglwindow.hpp
88
../common/openglshader.hpp )
99

10-
target_link_libraries( Tutorial-05 ${GRAPHIC_LIBS} )
10+
target_link_libraries( 05-FormatoOBJ ${GRAPHIC_LIBS} )

Tutorial-06/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ file(COPY roboto.ttf DESTINATION font)
44

55
include_directories(../includes)
66

7-
add_executable( Tutorial-06 texto-opengl.cpp
7+
add_executable( 06-Texto2D texto-opengl.cpp
88
shaders/simple.vertex_shader
99
shaders/simple.fragment_shader
1010
shaders/text.vertex_shader
@@ -13,4 +13,4 @@ add_executable( Tutorial-06 texto-opengl.cpp
1313
../common/openglshader.hpp
1414
../common/opengltext.hpp )
1515

16-
target_link_libraries( Tutorial-06 ${GRAPHIC_LIBS} )
16+
target_link_libraries( 06-Texto2D ${GRAPHIC_LIBS} )

Tutorial-07/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ file(COPY gouraud.vertex_shader gouraud.fragment_shader DESTINATION shaders)
22
file(COPY phong.vertex_shader phong.fragment_shader DESTINATION shaders)
33
file(COPY cubo.obj ball.obj DESTINATION model)
44

5-
add_executable( Tutorial-07 iluminacion.cpp
5+
add_executable( 07-Iluminacion_phong iluminacion.cpp
66
shaders/gouraud.vertex_shader
77
shaders/gouraud.fragment_shader
88
shaders/phong.vertex_shader
99
shaders/phong.fragment_shader
1010
../common/openglwindow.hpp
1111
../common/openglshader.hpp )
1212

13-
target_link_libraries( Tutorial-07 ${GRAPHIC_LIBS} )
13+
target_link_libraries( 07-Iluminacion_phong ${GRAPHIC_LIBS} )

0 commit comments

Comments
 (0)