12 lines
247 B
CMake
12 lines
247 B
CMake
cmake_minimum_required(VERSION 3.11)
|
|
project(glad)
|
|
set(CMAKE_C_STANDARD 99)
|
|
set(CMAKE_C_STANDARD_REQUIRED ON)
|
|
|
|
add_library(${PROJECT_NAME}
|
|
src/glad.c
|
|
)
|
|
target_include_directories(${PROJECT_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include
|
|
) |