File: mod.bam

package info (click to toggle)
bam 0.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,552 kB
  • sloc: ansic: 21,261; python: 731; makefile: 45; sh: 35; cpp: 30
file content (18 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
s = NewSettings()
objs = Compile(s, Collect("*.c"))
lib = StaticLibrary(s, "lib", objs)
test = "OK: right variable!"

print("LIB: ", lib)

vpath = Path("")

function use(settings)
	settings.cc.includes:add(vpath)
	settings.linker.extrafiles:add(lib)
	print(include_path)
end

function get_test()
	return test
end