summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bx/scripts/genie.lua
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2023-01-04 23:29:18 -0500
committer GitHub <noreply@github.com>2023-01-04 23:29:18 -0500
commit94b1e168b2b97b48b81f7a8f64406b0a6f64184e (patch)
treef57362a0fa01bfe8f0ad75a447c4c9e10bc15756 /3rdparty/bx/scripts/genie.lua
parent5581eaa50a42256242f32569f59ce10d70ddd8c2 (diff)
Revert "Update BGFX, BX and BIMG (#10750)" (#10787)
This reverts commit 5581eaa50a42256242f32569f59ce10d70ddd8c2 due to link failure on macOS.
Diffstat (limited to '3rdparty/bx/scripts/genie.lua')
-rw-r--r--3rdparty/bx/scripts/genie.lua24
1 files changed, 6 insertions, 18 deletions
diff --git a/3rdparty/bx/scripts/genie.lua b/3rdparty/bx/scripts/genie.lua
index 5a7b3281bd9..8801b224ad2 100644
--- a/3rdparty/bx/scripts/genie.lua
+++ b/3rdparty/bx/scripts/genie.lua
@@ -1,6 +1,6 @@
--
--- Copyright 2010-2022 Branimir Karadzic. All rights reserved.
--- License: https://github.com/bkaradzic/bx/blob/master/LICENSE
+-- Copyright 2010-2021 Branimir Karadzic. All rights reserved.
+-- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
--
newoption {
@@ -51,21 +51,19 @@ project "bx.test"
}
includedirs {
+ path.join(BX_DIR, "include"),
BX_THIRD_PARTY_DIR,
}
- defines {
- "CATCH_AMALGAMATED_CUSTOM_MAIN",
- }
-
files {
- path.join(BX_DIR, "3rdparty/catch/catch_amalgamated.cpp"),
path.join(BX_DIR, "tests/*_test.cpp"),
path.join(BX_DIR, "tests/*.h"),
path.join(BX_DIR, "tests/dbg.*"),
}
- using_bx()
+ links {
+ "bx",
+ }
configuration { "vs* or mingw*" }
links {
@@ -133,16 +131,6 @@ project "bx.bench"
"Cocoa.framework",
}
- configuration { "Debug" }
- defines {
- "BX_CONFIG_DEBUG=1",
- }
-
- configuration { "Release" }
- defines {
- "BX_CONFIG_DEBUG=0",
- }
-
configuration {}
strip()