mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
* Adjustment: Initial CMake reworking.
This commit is contained in:
parent
516163fd5d
commit
d7cdf54661
5394 changed files with 2615532 additions and 8711 deletions
50
Engine/lib/bullet/examples/OpenGLWindow/premake4.lua
Normal file
50
Engine/lib/bullet/examples/OpenGLWindow/premake4.lua
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
|
||||
project "OpenGL_Window"
|
||||
|
||||
language "C++"
|
||||
|
||||
kind "StaticLib"
|
||||
|
||||
initOpenGL()
|
||||
initGlew()
|
||||
|
||||
includedirs {
|
||||
|
||||
"../../src",
|
||||
}
|
||||
|
||||
--links {
|
||||
--}
|
||||
|
||||
files {
|
||||
"*.cpp",
|
||||
"*.h",
|
||||
"OpenGLWindow/*.c",
|
||||
"OpenGLWindow/*.h",
|
||||
"OpenGLWindow/GL/*.h"
|
||||
}
|
||||
|
||||
if not os.is("Windows") then
|
||||
excludes {
|
||||
"Win32OpenGLWindow.cpp",
|
||||
"Win32OpenGLWindow.h",
|
||||
"Win32Window.cpp",
|
||||
"Win32Window.h",
|
||||
}
|
||||
end
|
||||
if os.is("Linux") then
|
||||
initX11()
|
||||
end
|
||||
if not os.is("Linux") then
|
||||
excludes {
|
||||
"X11OpenGLWindow.cpp",
|
||||
"X11OpenGLWindows.h"
|
||||
}
|
||||
end
|
||||
if os.is("MacOSX") then
|
||||
files
|
||||
{
|
||||
"../OpenGLWindow/MacOpenGLWindow.h",
|
||||
"../OpenGLWindow/MacOpenGLWindow.mm",
|
||||
}
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue