premake: use *.cpp insteadl of **.cpp
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
language "C++"
|
language "C++"
|
||||||
|
|
||||||
kind "ConsoleApp"
|
kind "ConsoleApp"
|
||||||
targetdir "../../bin"
|
|
||||||
|
|
||||||
includedirs {
|
includedirs {
|
||||||
".",
|
".",
|
||||||
@@ -14,7 +13,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
links{"gwen", "OpenGL_Window","BulletSoftBody","BulletDynamics","BulletCollision","LinearMath","lua-5.2.3"}
|
links{"gwen", "OpenGL_Window","BulletDynamics","BulletCollision","LinearMath","Bullet3Common","lua-5.2.3"}
|
||||||
initOpenGL()
|
initOpenGL()
|
||||||
initGlew()
|
initGlew()
|
||||||
|
|
||||||
@@ -103,8 +102,6 @@
|
|||||||
-- "../bullet2/LuaDemo/LuaDemo.h",
|
-- "../bullet2/LuaDemo/LuaDemo.h",
|
||||||
|
|
||||||
|
|
||||||
"../../src/Bullet3Common/**.cpp",
|
|
||||||
"../../src/Bullet3Common/**.h",
|
|
||||||
"../../btgui/Timing/b3Clock.cpp",
|
"../../btgui/Timing/b3Clock.cpp",
|
||||||
"../../btgui/Timing/b3Clock.h",
|
"../../btgui/Timing/b3Clock.h",
|
||||||
"../GpuDemos/gwenUserInterface.cpp",
|
"../GpuDemos/gwenUserInterface.cpp",
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
language "C++"
|
language "C++"
|
||||||
|
|
||||||
kind "ConsoleApp"
|
kind "ConsoleApp"
|
||||||
targetdir "../../bin"
|
|
||||||
|
|
||||||
includedirs {
|
includedirs {
|
||||||
".",
|
".",
|
||||||
@@ -13,16 +12,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
links{ "OpenGL_Window"}
|
links{ "OpenGL_Window","Bullet3Common"}
|
||||||
initOpenGL()
|
initOpenGL()
|
||||||
initGlew()
|
initGlew()
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"*.cpp",
|
||||||
"**.h",
|
"*.h",
|
||||||
"../../src/Bullet3Common/**.cpp",
|
|
||||||
"../../src/Bullet3Common/**.h",
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if os.is("Linux") then initX11() end
|
if os.is("Linux") then initX11() end
|
||||||
|
|||||||
@@ -11,11 +11,21 @@ end
|
|||||||
|
|
||||||
defines { "GWEN_COMPILE_STATIC" , "_HAS_EXCEPTIONS=0", "_STATIC_CPPLIB" }
|
defines { "GWEN_COMPILE_STATIC" , "_HAS_EXCEPTIONS=0", "_STATIC_CPPLIB" }
|
||||||
defines { "DONT_USE_GLUT"}
|
defines { "DONT_USE_GLUT"}
|
||||||
targetdir "../../lib"
|
|
||||||
includedirs {
|
includedirs {
|
||||||
".",".."
|
".",".."
|
||||||
}
|
}
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"*.cpp",
|
||||||
"**.h"
|
"*.h",
|
||||||
|
"Controls/*.cpp",
|
||||||
|
"Controls/*.h",
|
||||||
|
"Controls/Dialog/*.cpp",
|
||||||
|
"Controls/Dialogs/*.h",
|
||||||
|
"Controls/Layout/*.h",
|
||||||
|
"Controls/Property/*.h",
|
||||||
|
"Input/*.h",
|
||||||
|
"Platforms/*.cpp",
|
||||||
|
"Renderers/*.cpp",
|
||||||
|
"Skins/*.cpp",
|
||||||
|
"Skins/*.h"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,8 +17,11 @@
|
|||||||
--}
|
--}
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"*.cpp",
|
||||||
"**.h",
|
"*.h",
|
||||||
|
"OpenGLWindow/*.c",
|
||||||
|
"OpenGLWindow/*.h",
|
||||||
|
"OpenGLWindow/GL/*.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
if not os.is("Windows") then
|
if not os.is("Windows") then
|
||||||
|
|||||||
@@ -7,6 +7,6 @@
|
|||||||
includedirs {".."}
|
includedirs {".."}
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"*.cpp",
|
||||||
"**.h"
|
"*.h"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
project "BulletCollision"
|
project "BulletCollision"
|
||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
targetdir "../../lib"
|
|
||||||
includedirs {
|
includedirs {
|
||||||
"..",
|
"..",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,21 @@
|
|||||||
project "BulletDynamics"
|
project "BulletDynamics"
|
||||||
|
kind "StaticLib"
|
||||||
kind "StaticLib"
|
includedirs {
|
||||||
targetdir "../../lib"
|
"..",
|
||||||
includedirs {
|
}
|
||||||
"..",
|
files {
|
||||||
}
|
"Dynamics/*.cpp",
|
||||||
files {
|
"Dynamics/*.h",
|
||||||
"**.cpp",
|
"ConstraintSolver/*.cpp",
|
||||||
"**.h"
|
"ConstraintSolver/*.h",
|
||||||
}
|
"Featherstone/*.cpp",
|
||||||
|
"Featherstone/*.h",
|
||||||
|
"MLCPSolvers/*.cpp",
|
||||||
|
"MLCPSolvers/*.h",
|
||||||
|
"Vehicle/*.cpp",
|
||||||
|
"Vehicle/*.h",
|
||||||
|
"Character/*.cpp",
|
||||||
|
"Character/*.h"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
project "LinearMath"
|
project "LinearMath"
|
||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
targetdir "../../lib"
|
|
||||||
includedirs {
|
includedirs {
|
||||||
"..",
|
"..",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user