2013-11-09 20:12:33 +00:00
|
|
|
|
|
|
|
project "App_ImplicitCloth"
|
|
|
|
|
|
|
|
language "C++"
|
|
|
|
|
|
|
|
kind "ConsoleApp"
|
|
|
|
targetdir "../../bin"
|
|
|
|
|
|
|
|
includedirs {
|
|
|
|
".",
|
2013-11-10 22:15:23 +00:00
|
|
|
"../../src",
|
2013-11-09 20:12:33 +00:00
|
|
|
"../../btgui"
|
|
|
|
}
|
|
|
|
|
|
|
|
initOpenGL()
|
|
|
|
initGlew()
|
|
|
|
|
|
|
|
--links{"gwen"}
|
|
|
|
|
|
|
|
files {
|
|
|
|
"**.cpp",
|
|
|
|
"**.h",
|
|
|
|
"../../btgui/OpenGLWindow/SimpleOpenGL3App.cpp",
|
|
|
|
"../../btgui/OpenGLWindow/SimpleOpenGL3App.h",
|
|
|
|
"../../btgui/OpenGLWindow/TwFonts.cpp",
|
|
|
|
"../../btgui/OpenGLWindow/TwFonts.h",
|
|
|
|
"../../btgui/OpenGLWindow/LoadShader.cpp",
|
|
|
|
"../../btgui/OpenGLWindow/LoadShader.h",
|
|
|
|
"../../btgui/OpenGLWindow/GLPrimitiveRenderer.cpp",
|
|
|
|
"../../btgui/OpenGLWindow/GLPrimitiveRenderer.h",
|
|
|
|
"../../btgui/OpenGLWindow/GwenOpenGL3CoreRenderer.h",
|
|
|
|
"../../btgui/OpenGLWindow/GLInstancingRenderer.cpp",
|
|
|
|
"../../btgui/OpenGLWindow/GLInstancingRenderer.h",
|
|
|
|
"../../btgui/OpenGLWindow/GLRenderToTexture.cpp",
|
|
|
|
"../../btgui/OpenGLWindow/GLRenderToTexture.h",
|
|
|
|
"../../btgui/OpenGLWindow/TwFonts.cpp",
|
|
|
|
"../../btgui/OpenGLWindow/TwFonts.h",
|
|
|
|
"../../btgui/FontFiles/OpenSans.cpp",
|
|
|
|
"../../btgui/OpenGLTrueTypeFont/fontstash.cpp",
|
|
|
|
"../../btgui/OpenGLTrueTypeFont/fontstash.h",
|
|
|
|
"../../btgui/OpenGLTrueTypeFont/opengl_fontstashcallbacks.cpp",
|
|
|
|
"../../btgui/OpenGLTrueTypeFont/opengl_fontstashcallbacks.h",
|
2013-11-10 22:15:23 +00:00
|
|
|
"../../src/Bullet3Common/**.cpp",
|
|
|
|
"../../src/Bullet3Common/**.h",
|
2013-11-09 20:12:33 +00:00
|
|
|
"../../btgui/Timing/b3Clock.cpp",
|
|
|
|
"../../btgui/Timing/b3Clock.h"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if os.is("Windows") then
|
|
|
|
files {
|
|
|
|
"../../btgui/OpenGLWindow/Win32OpenGLWindow.cpp",
|
|
|
|
"../../btgui/OpenGLWindow/Win32OpenGLWindow.h",
|
|
|
|
"../../btgui/OpenGLWindow/Win32Window.cpp",
|
|
|
|
"../../btgui/OpenGLWindow/Win32Window.h",
|
|
|
|
}
|
|
|
|
end
|
|
|
|
if os.is("Linux") then
|
|
|
|
links ("X11")
|
|
|
|
files{
|
|
|
|
"../../btgui/OpenGLWindow/X11OpenGLWindow.h",
|
|
|
|
"../../btgui/OpenGLWindow/X11OpenGLWindow.cpp"
|
|
|
|
}
|
2014-05-05 20:47:00 +00:00
|
|
|
links{"pthread"}
|
2013-11-09 20:12:33 +00:00
|
|
|
end
|
|
|
|
if os.is("MacOSX") then
|
|
|
|
links{"Cocoa.framework"}
|
|
|
|
files{
|
|
|
|
"../../btgui/OpenGLWindow/MacOpenGLWindow.mm",
|
|
|
|
"../../btgui/OpenGLWindow/MacOpenGLWindow.h",
|
|
|
|
}
|
|
|
|
end
|