summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: d566887d87878d3fdff8c547c3dbfaf71c345d64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cmake_minimum_required(VERSION 3.2)
project(honey_engine_demo)

find_package(OpenGL REQUIRED)

add_executable(honey_engine_demo demo.c)

add_library(honey_shader "src/shader.c")
add_library(glad "src/glad.c")
add_library(stb_image "src/stb_image.c")

set(LIBRARIES honey_shader glfw GL dl m glad stb_image)
target_link_libraries(honey_engine_demo ${LIBRARIES})