diff options
author | 2017-02-05 13:56:35 +0100 | |
---|---|---|
committer | 2017-02-05 13:56:35 +0100 | |
commit | 1607745432f50099711d7aee355111111e66ff51 (patch) | |
tree | c4eaec8008f6e0283ca652cdffb55a34eca9b9bb /3rdparty/bx/scripts/bx.lua | |
parent | 193e8c8a89a4be5c63909cdbbcca4d9d6f8fee02 (diff) |
Update BGFX and BX (nw)
Diffstat (limited to '3rdparty/bx/scripts/bx.lua')
-rw-r--r-- | 3rdparty/bx/scripts/bx.lua | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/3rdparty/bx/scripts/bx.lua b/3rdparty/bx/scripts/bx.lua index 2f1e4e57585..b62ee4bae5f 100644 --- a/3rdparty/bx/scripts/bx.lua +++ b/3rdparty/bx/scripts/bx.lua @@ -2,24 +2,23 @@ -- Copyright 2010-2017 Branimir Karadzic. All rights reserved. -- License: https://github.com/bkaradzic/bx#license-bsd-2-clause -- - + project "bx" - uuid "4db0b09e-d6df-11e1-a0ec-65ccdd6a022f" kind "StaticLib" - configuration { "osx or ios" } - -- OSX ar doesn't like creating archive without object files - -- here is object file... - prebuildcommands { - "@echo \"void dummy() {}\" > /tmp/dummy.cpp", - } - files { - "/tmp/dummy.cpp", - } - - configuration {} + includedirs { + "../include", + } files { "../include/**.h", "../include/**.inl", + "../src/**.cpp", } + + configuration { "linux-*" } + buildoptions { + "-fPIC", + } + + configuration {} |