File: bam.lua

package info (click to toggle)
bam 0.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,432 kB
  • sloc: ansic: 18,755; python: 451; cpp: 30; sh: 14; makefile: 13
file content (14 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod = Import("mod/mod.bam")

test = "ERROR: wrong variable"
function get_test()
	return "ERROR: wrong function"
end

s = NewSettings()
mod.use(s)

objs = Compile(s, Collect("*.c"))
print("Error test:", mod.get_test())
exe = Link(s, "subproj", objs, mod.output)