
set(hdrs
	include/pw/visual/shader.hpp
	include/pw/visual/pipeline.hpp
	include/pw/visual/texture.hpp
	include/pw/visual/vertex_array.hpp
	)

set(srcs
	src/shader.cpp
	src/context.cpp
	src/pipeline.cpp
	src/texture.cpp
	src/vertex_array.cpp
	)


set(srcs_shader
	src/shader/unlit_vs.glsl
	src/shader/unlit_fs.glsl
	)

add_library(pwvisual
	STATIC
	${hdrs}
	${srcs}
	${srcs_shader}
	)

target_include_directories(
	pwvisual
	PUBLIC
	include
	)

target_link_libraries(pwvisual pwscene glad)

#add_subdirectory(tests)
