Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: a6ed241193
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (41 sloc) 1.075 kB
function initOpenGL()
configuration {}
configuration {"Windows"}
links {"opengl32"}
configuration {"MacOSX"}
links { "OpenGL.framework"}
configuration {"not Windows", "not MacOSX"}
links {"GL","GLU"}
configuration{}
end
function initGlut()
configuration {}
configuration {"Windows"}
includedirs {
projectRootDir .. "rendering/GlutGlewWindows"
}
libdirs { projectRootDir .. "rendering/GlutGlewWindows"}
configuration {"Windows", "x32"}
links {"glut32"}
configuration {"Windows", "x64"}
links {"glut64"}
configuration {"MacOSX"}
links { "Glut.framework" }
configuration {"not Windows", "not MacOSX"}
links {"glut"}
configuration{}
end
function initGlew()
configuration {}
configuration {"Windows"}
defines { "GLEW_STATIC"}
includedirs {
projectRootDir .. "rendering/GlutGlewWindows"
}
libdirs { projectRootDir .. "rendering/GlutGlewWindows"}
configuration {"Windows", "x32"}
links {"glew32s"}
configuration {"Windows", "x64"}
links {"glew64s"}
configuration{}
end
Jump to Line
Something went wrong with that request. Please try again.