Skip to content

Instantly share code, notes, and snippets.

@halirutan
Created May 30, 2020 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halirutan/b9926c893518305d8a6b53fc901d7646 to your computer and use it in GitHub Desktop.
Save halirutan/b9926c893518305d8a6b53fc901d7646 to your computer and use it in GitHub Desktop.
Late Night Coding OpenGL Particles
cmake_minimum_required(VERSION 3.16)
project(LateNightCodingOpenGL)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR})
find_package(OpenGL REQUIRED)
find_package(glfw3 REQUIRED)
find_package(GLEW REQUIRED)
set(CMAKE_CXX_STANDARD 17)
add_executable(LateNightCodingOpenGL
GLTexture2D.cpp
Tesselation.cpp
GLBuffer.cpp
GLProgram.cpp
GLEnv.cpp
main.cpp
Mat4.cpp
Vec3.cpp
ParticleSystem.cpp
Rand.cpp
)
target_link_libraries(LateNightCodingOpenGL glfw OpenGL::GL ${GLEW_LIBRARIES})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment