1
0

17 lines
413 B
CMake
Raw Normal View History

2019-12-16 19:12:24 +01:00
cmake_minimum_required(VERSION 3.15)
project(Informatikprojekt C)
set(CMAKE_C_STANDARD 11)
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)
target_link_libraries(Informatikprojekt OpenGL32 glfw ${GLFW_LIBRARIES})
# glad
include_directories(./glad/include)
2019-12-20 14:24:52 +01:00