First commit
This commit is contained in:
36
build/scripts/common.lua
Normal file
36
build/scripts/common.lua
Normal file
@@ -0,0 +1,36 @@
|
||||
-- Configuration générale
|
||||
configurations
|
||||
{
|
||||
"DebugStatic",
|
||||
"ReleaseStatic",
|
||||
"DebugDLL",
|
||||
"ReleaseDLL"
|
||||
}
|
||||
|
||||
defines "NAZARA_BUILD"
|
||||
language "C++"
|
||||
includedirs
|
||||
{
|
||||
"../include",
|
||||
"../src/"
|
||||
}
|
||||
libdirs "../lib"
|
||||
targetdir "../lib"
|
||||
|
||||
configuration "Debug*"
|
||||
defines "NAZARA_DEBUG"
|
||||
flags "Symbols"
|
||||
|
||||
configuration "Release*"
|
||||
flags { "Optimize", "OptimizeSpeed" }
|
||||
|
||||
configuration "*Static"
|
||||
defines "NAZARA_STATIC"
|
||||
kind "StaticLib"
|
||||
targetsuffix "-s"
|
||||
|
||||
configuration "*DLL"
|
||||
kind "SharedLib"
|
||||
|
||||
configuration { "linux or bsd or macosx", "gmake" }
|
||||
buildoptions "-fvisibility=hidden"
|
||||
Reference in New Issue
Block a user