Skip to content

Commit

Permalink
Added SDK project (#64)
Browse files Browse the repository at this point in the history
* Added SDK project

* Restored filter reset

* Update for Client_SDK premake5
  • Loading branch information
Necktrox authored and Jusonex committed Sep 2, 2016
1 parent 117eef5 commit c1d623d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 9 deletions.
17 changes: 9 additions & 8 deletions Client/game_sa/premake5.lua
Expand Up @@ -17,20 +17,21 @@ project "Game SA"
includedirs { "../../vendor/sparsehash/current/src/windows" }

filter {}
includedirs {
"../sdk",
"../../vendor/sparsehash/current/src/"
}

includedirs {
"../sdk/",
"../../vendor/sparsehash/current/src/"
}

files {
"premake5.lua",
"*.h",
"*.hpp",
"*.cpp"
"**.h",
"**.hpp",
"**.cpp"
}

filter "architecture:x64"
flags { "ExcludeFromBuild" }

filter "system:not windows"
flags { "ExcludeFromBuild" }
flags { "ExcludeFromBuild" }
33 changes: 33 additions & 0 deletions Client/sdk/premake5.lua
@@ -0,0 +1,33 @@
project "Client_SDK"
language "C++"
kind "StaticLib"
targetname "Client_SDK"

pchheader "StdInc.h"
pchsource "StdInc.cpp"

vpaths {
["Headers/*"] = { "**.h", "**.hpp" },
["Sources/*"] = "**.cpp",
["*"] = "premake5.lua"
}

includedirs {
"../../vendor/sparsehash/current/src/"
}

files {
"premake5.lua",
"**.h",
"**.hpp",
"**.cpp"
}

filter "system:windows"
includedirs { "../../vendor/sparsehash/current/src/windows" }

filter "architecture:x64"
flags { "ExcludeFromBuild" }

filter "system:not windows"
flags { "ExcludeFromBuild" }
2 changes: 1 addition & 1 deletion premake5.lua
Expand Up @@ -83,6 +83,7 @@ workspace "MTASA"
include "Client/ceflauncher_DLL"
include "Client/core"
include "Client/game_sa"
include "Client/sdk"
include "Client/gui"
include "Client/launch"
include "Client/loader"
Expand Down Expand Up @@ -127,4 +128,3 @@ workspace "MTASA"
include "vendor/unrar"
include "vendor/zip"
include "vendor/zlib"

0 comments on commit c1d623d

Please sign in to comment.