set(THIS_TARGET_NAME gfx)

add_library(${THIS_TARGET_NAME}
    ./include/gfx/shader.hpp
    ./src/shader.cpp

    ./include/gfx/render.hpp
    ./src/render.cpp

    ./include/gfx/vao.hpp
    ./src/vao.cpp

    ./include/gfx/vbo.hpp
    ./src/vbo.cpp

    ./include/gfx/ebo.hpp
    ./src/ebo.cpp

    ./include/gfx/camera.hpp
    ./src/camera.cpp

    ./include/gfx/mesh.hpp
    ./src/mesh.cpp

    ./include/gfx/light.hpp
    #./src/light.cpp

    ./include/gfx/shapes.hpp
    ./src/shapes.cpp

    ./include/gfx/constants.hpp
    ./src/constants.cpp

    ./include/gfx/material.hpp
    #./src/material.cpp

    ./include/gfx/texture.hpp
    ./src/texture.cpp
    )

set_target_properties(${THIS_TARGET_NAME} PROPERTIES
    DEBUG_OUTPUT_NAME "${THIS_TARGET_NAME}_${CMAKE_SYSTEM_NAME}_Debug"
    RELEASE_OUTPUT_NAME "${THIS_TARGET_NAME}_${CMAKE_SYSTEM_NAME}_Release"
    RELWITHDEBINFO_OUTPUT_NAME "${THIS_TARGET_NAME}_${CMAKE_SYSTEM_NAME}_RelWithDebInfo"
    )

#install(TARGETS ${THIS_TARGET_NAME} DESTINATION "lib")
