Moving source from headers into source.

This commit is contained in:
Branimir Karadžić
2017-01-08 15:14:59 -08:00
parent a27af76cb4
commit 979ff72b2a
4 changed files with 430 additions and 375 deletions

View File

@@ -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",
}

View File

@@ -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",