## CMake
cmake_minimum_required(VERSION 3.14)
if(NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Debug)
endif()

## Project
project(gltraits
    VERSION 1.0.0
    LANGUAGES CXX
)

## Main target
add_library(${PROJECT_NAME} INTERFACE)

## Common
include(common.cmake)
common(
    CXX_STANDARD 14
    DISABLE_CPPCHECK # GLTRAITS_TEST_OBJECT(template gen_objects<Args...>)
    PACKAGES
        glm
    FETCHCONTENT
        https://git.rcrnstn.net/rcrnstn/glbase
    DEPENDENCIES_TESTS
        glm::glm
        glbase
)