This repository was archived by the owner on May 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpremake5.lua
More file actions
54 lines (43 loc) · 1.29 KB
/
premake5.lua
File metadata and controls
54 lines (43 loc) · 1.29 KB
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
44
45
46
47
48
49
50
51
52
53
54
--[[ This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/. ]]
workspace "Asinine"
configurations { "Debug", "Release" }
includedirs { "include" }
flags { "FatalWarnings", "ShadowedVariables", "UndefinedIdentifiers" }
buildoptions {
"-std=c99",
"-ffunction-sections",
"-fvisibility=hidden",
"-fno-strict-aliasing",
"-Wno-missing-field-initializers",
"-Wno-missing-braces",
"-Wstrict-overflow",
"-Wconversion"
}
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
warnings "Extra"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "Size"
project "asinine"
kind "StaticLib"
language "C"
files { "include/asinine/*.h", "include/internal/*.h", "src/*.c" }
project "asn1"
kind "ConsoleApp"
language "C"
links { "asinine" }
files { "src/utils/asn1.c", "src/utils/hex.c", "src/utils/load.c" }
project "x509"
kind "ConsoleApp"
language "C"
links { "asinine", "mbedcrypto" }
files { "src/utils/x509.c", "src/utils/hex.c", "src/utils/load.c" }
project "tests"
kind "ConsoleApp"
language "C"
links { "asinine" }
files { "include/tests/*.h", "src/tests/*.c", "src/utils/load.c" }