2019-12-16 18:12:24 +00:00
|
|
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(Informatikprojekt C)
|
|
|
|
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
|
|
|
2020-01-08 15:58:38 +00:00
|
|
|
add_executable(Informatikprojekt main.c particlesystem.h particlesystem.c init.h initOpenGL.h initOpenGL.c glad/src/glad.c)
|
2019-12-18 17:18:55 +00:00
|
|
|
|
|
|
|
# GLFW
|
2020-03-13 13:04:49 +00:00
|
|
|
|
|
|
|
include_directories(./glfw/include)
|
|
|
|
target_link_libraries(Informatikprojekt ${CMAKE_SOURCE_DIR}/glfw/lib-mingw-w64/libglfw3.a)
|
2020-01-08 15:58:38 +00:00
|
|
|
|
|
|
|
# glad
|
|
|
|
include_directories(./glad/include)
|
2019-12-20 13:24:52 +00:00
|
|
|
|
|
|
|
|