support for FAIL_REGULAR_EXPRESSION
[liba.git] / make.lua
blob1a64f42abb7d95339f0ca603f012aa6d8e0363c2
1 ---@diagnostic disable
2 local lm = require("luamake")
3 lm.workdir = WORKDIR
4 lm:source_set("a")({
5 defines = { "A_EXPORTS" },
6 includes = { "include" },
7 sources = { "src/*.c*" },
8 flags = lm.os ~= "windows" and { "-fPIC" } or {},
9 links = lm.os ~= "windows" and { "m" } or {},
11 lm:static_library("alib")({
12 basename = "a",
13 deps = { "a" },
15 lm:shared_library("liba")({
16 deps = { "a" },