2022-10-05 21:10:51 +05:00
|
|
|
|
|
|
|
include_directories(
|
|
|
|
../hyplib
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(hyporo-gpu STATIC
|
|
|
|
# Source files
|
2022-10-28 21:16:03 +05:00
|
|
|
buffer.cpp
|
|
|
|
context.cpp
|
2022-11-04 18:38:39 +05:00
|
|
|
device.cpp
|
2022-10-28 21:16:03 +05:00
|
|
|
opengl/buffer.cpp
|
|
|
|
opengl/context.cpp
|
2022-11-04 18:38:39 +05:00
|
|
|
opengl/device.cpp
|
2022-10-28 21:16:03 +05:00
|
|
|
opengl/shader.cpp
|
|
|
|
opengl/shader_program.cpp
|
2022-11-04 18:38:39 +05:00
|
|
|
opengl/texture.cpp
|
|
|
|
shader.cpp
|
2022-10-28 21:16:03 +05:00
|
|
|
shader_program.cpp
|
2022-11-04 18:38:39 +05:00
|
|
|
texture.cpp
|
2022-10-05 21:10:51 +05:00
|
|
|
|
|
|
|
# Header files
|
2022-10-28 21:16:03 +05:00
|
|
|
context.hpp
|
|
|
|
shader.hpp
|
|
|
|
shader_program.hpp
|
|
|
|
buffer.hpp
|
2022-11-04 18:38:39 +05:00
|
|
|
device.hpp
|
2022-10-28 21:16:03 +05:00
|
|
|
texture.hpp
|
|
|
|
opengl/context.hpp
|
|
|
|
opengl/shader.hpp
|
|
|
|
opengl/shader_program.hpp
|
|
|
|
opengl/buffer.hpp
|
2022-11-04 18:38:39 +05:00
|
|
|
opengl/device.hpp
|
2022-10-28 21:16:03 +05:00
|
|
|
opengl/texture.hpp
|
2022-11-04 18:38:39 +05:00
|
|
|
|
2022-10-05 21:10:51 +05:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(hyporo-gpu
|
|
|
|
glad
|
2022-11-18 21:50:49 +05:00
|
|
|
stb
|
2022-10-05 21:10:51 +05:00
|
|
|
hyporo-hyplib
|
|
|
|
)
|