-
-
Save nemethdani/6b59c7fb8b64966b1e93ef6d96d7f6ad to your computer and use it in GitHub Desktop.
grafhazi cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.5) | |
project(grafhazi) | |
set(SOURCE_FILES grafhazi.cpp framework.cpp) | |
set(CMAKE_CXX_STANDARD 11) | |
find_package(OpenGL REQUIRED) | |
find_package(GLUT REQUIRED) | |
find_package(GLEW REQUIRED) | |
include_directories(${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} ${GLEW_INCLUDE_DIRS}) | |
link_libraries(${OPENGL_LIBRARIES} ${GLUT_LIBRARY} ${GLEW_LIBRARIES}) | |
add_executable(grafhazi ${SOURCE_FILES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment