mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Moving source from headers into source.
This commit is contained in:
@@ -2,24 +2,18 @@
|
||||
-- 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",
|
||||
}
|
||||
|
||||
@@ -54,6 +54,10 @@ project "bx.test"
|
||||
path.join(BX_DIR, "tests/dbg.*"),
|
||||
}
|
||||
|
||||
links {
|
||||
"bx",
|
||||
}
|
||||
|
||||
configuration { "vs* or mingw*" }
|
||||
links {
|
||||
"psapi",
|
||||
@@ -109,6 +113,10 @@ project "bx.bench"
|
||||
path.join(BX_DIR, "tests/dbg.*"),
|
||||
}
|
||||
|
||||
links {
|
||||
"bx",
|
||||
}
|
||||
|
||||
configuration { "vs* or mingw*" }
|
||||
links {
|
||||
"psapi",
|
||||
|
||||
Reference in New Issue
Block a user