CMakeLists.txt
39cafb91
 ## CMake
 cmake_minimum_required(VERSION 3.14)
 if(NOT CMAKE_BUILD_TYPE)
     set(CMAKE_BUILD_TYPE Debug)
 endif()
 
 ## Project
 project(gltest
     VERSION 1.0.0
     LANGUAGES CXX
 )
c5349b9e
 
 ## Main target
 add_library(${PROJECT_NAME})
 
 ## Common
 include(common.cmake)
 common(
     CXX_STANDARD 11
     FETCHCONTENT
         https://git.rcrnstn.net/rcrnstn/glbase
         https://git.rcrnstn.net/rcrnstn/glbackend
     DEPENDENCIES_PRIVATE
         glbase
         glbackend
     DEPENDENCIES_TESTS
         glbase
         glbackend
 )