Skip to content

Commit

Permalink
Demo app with just sphere drawn inside OpenGL with GGG (but cmake fai…
Browse files Browse the repository at this point in the history
…ls to produce project files)
  • Loading branch information
denizdiktas committed Jun 5, 2023
1 parent 81d4592 commit 890395a
Show file tree
Hide file tree
Showing 5 changed files with 1,240 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Arrangement_on_surface_2/demo/earth/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Projects Settings
cmake_minimum_required (VERSION 3.1)
#set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} )

project (earth)

# The main executable
add_executable(earth
main.cpp
)

find_package(OpenGL REQUIRED)

find_package(GLM REQUIRED)
include_directories(${GLM_INCLUDE_DIRS})
link_libraries(${GLM_LIBRARIES})

find_package(GLFW REQUIRED)
include_directories(${GLFW_INCLUDE_DIR})
link_directories(${GLFW_LIBRARY})


find_package(GLEW REQUIRED)
include_directories(${GLEW_INCLUDE_DIRS})
link_libraries(${GLEW_LIBRARIES})


target_link_libraries(earth
opengl32
glu32
glfw3
GLEW::GLEW
glm::glm
)
Loading

0 comments on commit 890395a

Please sign in to comment.