reorganize files and add btgui
This commit is contained in:
61
btgui/OpenGLTrueTypeFont/premake4.lua
Normal file
61
btgui/OpenGLTrueTypeFont/premake4.lua
Normal file
@@ -0,0 +1,61 @@
|
||||
|
||||
|
||||
project "OpenGL_TrueTypeFont"
|
||||
|
||||
language "C++"
|
||||
|
||||
kind "ConsoleApp"
|
||||
targetdir "../../bin"
|
||||
|
||||
|
||||
initOpenGL()
|
||||
initGlew()
|
||||
|
||||
includedirs {
|
||||
"../../src",
|
||||
".."
|
||||
}
|
||||
|
||||
|
||||
|
||||
files {
|
||||
"main.cpp",
|
||||
"../FontFiles/OpenSans.cpp",
|
||||
"../OpenGLWindow/LoadShader.cpp",
|
||||
"../OpenGLWindow/LoadShader.h",
|
||||
"../../src/BulletCommon/btAlignedAllocator.cpp",
|
||||
"../../src/BulletCommon/btQuickprof.cpp",
|
||||
"../../src/BulletCommon/btQuickprof.h" ,
|
||||
"fontstash.cpp",
|
||||
"fontstash.h",
|
||||
"opengl_fontstashcallbacks.cpp",
|
||||
"opengl_fontstashcallbacks.h",
|
||||
"stb_image_write.h",
|
||||
"stb_truetype.h",
|
||||
}
|
||||
|
||||
if os.is("Windows") then
|
||||
files{
|
||||
"../OpenGLWindow/Win32OpenGLWindow.cpp",
|
||||
"../OpenGLWindow/Win32OpenGLWindow.h",
|
||||
"../OpenGLWindow/Win32Window.cpp",
|
||||
"../OpenGLWindow/Win32Window.h",
|
||||
}
|
||||
end
|
||||
if os.is("Linux") then
|
||||
files{
|
||||
"../OpenGLWindow/X11OpenGLWindow.h",
|
||||
"../OpenGLWindow/X11OpenGLWindow.cpp"
|
||||
}
|
||||
|
||||
if os.is("MacOSX") then
|
||||
links {"BulletFileLoader"}
|
||||
links { "Cocoa.framework" }
|
||||
files{
|
||||
"../OpenGLWindow/MacOpenGLWindow.h",
|
||||
"../OpenGLWindow/MacOpenGLWindow.mm",
|
||||
}
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user