2019-12-16 19:12:24 +01:00
|
|
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(Informatikprojekt C)
|
|
|
|
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
|
|
|
2020-01-08 16:58:38 +01:00
|
|
|
add_executable(Informatikprojekt main.c particlesystem.h particlesystem.c init.h initOpenGL.h initOpenGL.c glad/src/glad.c)
|
2019-12-18 18:18:55 +01:00
|
|
|
|
|
|
|
# GLFW
|
|
|
|
add_subdirectory(./glfw-3.3)
|
|
|
|
include_directories(./glfw-3.3/include)
|
2020-01-08 16:58:38 +01:00
|
|
|
target_link_libraries(Informatikprojekt OpenGL32 glfw ${GLFW_LIBRARIES})
|
|
|
|
|
|
|
|
# glad
|
|
|
|
include_directories(./glad/include)
|
2019-12-20 14:24:52 +01:00
|
|
|
|
|
|
|
|