-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.kmake
More file actions
43 lines (36 loc) · 982 Bytes
/
project.kmake
File metadata and controls
43 lines (36 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//Build script for use with kalamake. Read more at https://github.com/kalakit/kalamake
#version 1.0
#references
name_bin: kalaserver
dir_release: build/release-
dir_debug: build/debug-
#global
compilerlauncher: ccache
standard: c++20
binarytype: static
sources: "src"
headers: "include", "../external-shared/KalaHeaders"
defines: LIB_STATIC
warninglevel: normal
customflags: export-compile-commands, export-vscode-sln
#profile debug-windows
binaryname: ${name_bin}d
compiler: clang-cl
buildtype: debug
buildpath: "${dir_debug}windows"
#profile release-windows
binaryname: ${name_bin}
compiler: clang-cl
buildtype: minsizerel
buildpath: "${dir_release}windows"
#profile debug-linux
binaryname: lib${name_bin}d
compiler: clang++
buildtype: debug
buildpath: "${dir_debug}linux"
#profile release-linux
binaryname: lib${name_bin}
compiler: clang++
buildtype: minsizerel
buildpath: "${dir_release}linux"
postbuildaction: strip --strip-unneeded ${dir_release}linux/lib${name_bin}.a