blob: ae1154d36e5bc18071f90d241f55996892d6a8e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import os
import builder
let sourceDir = expandFilename("/tmp/source-libtommath")
let libtommath = newStaticLibrary("tommath", sourceDir)
addSourceFilesWithPattern(libtommath, sourceDir / "*.c")
addIncludeDirectory(libtommath, sourceDir)
addPublicHeaders(libtommath, "include",
sourceDir / "tommath.h",
sourceDir / "tommath_class.h",
sourceDir / "tommath_superclass.h")
if build(libtommath):
install(libtommath, getAppDir() / ".." / "src" / "tommath" / "private")
|