blob: 79c1165ed4d6d7bec1c12eac02ce02b6afc6133d (
plain)
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
55
56
57
58
59
|
workspace "icsohs"
architecture "x64"
startproject "icsohs"
multiprocessorcompile "On"
configurations
{
"debug",
"release",
"dist",
}
filter "system:windows"
defines "ICSOHS_WINDOWS"
filter "system:linux"
defines "ICSOHS_LINUX"
filter "system:macosx"
defines "ICSOHS_MACOS"
architecture "ARM64"
local outputdir = "%{cfg.buildcfg}-%{cfg.system}/%{prj.name}"
project "icsohs"
kind "ConsoleApp"
language "C"
staticruntime "on"
externalwarnings "Off"
targetdir ("bin/" .. outputdir)
objdir ("bin-int/" .. outputdir)
defines
{
"_CRT_SECURE_NO_WARNINGS",
}
files
{
"src/**.h",
"src/**.c",
}
includedirs "src"
filter "system:windows"
systemversion "latest"
filter "configurations:debug"
defines "ICSOHS_DEBUG"
runtime "Debug"
symbols "On"
filter "configurations:release"
defines "ICSOHS_RELEASE"
runtime "Release"
optimize "On"
filter "configurations:dist"
defines "ICSOHS_DIST"
runtime "Release"
optimize "On"
|