-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
46 lines (35 loc) · 889 Bytes
/
premake5.lua
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
-- premake5.lua
workspace "pi_stream"
architecture "x64"
configurations { "Debug", "Release" }
platforms {"x64", "ARM", "ARM64" }
project "pi_stream"
kind "ConsoleApp"
language "C++"
targetdir "bin/%{cfg.buildcfg}"
files { "src/**.h", "src/**.hpp", "src/**.cpp", "include/**.h" }
includedirs {
"/usr/include/opencv4/",
"/usr/include/",
"include/"
}
links {
"opencv_core",
"opencv_imgproc",
"opencv_imgcodecs",
"opencv_features2d",
"opencv_highgui",
"opencv_videoio",
}
filter "platforms:x64"
architecture "x64"
filter "platforms:ARM"
architecture "ARM"
filter "platforms:ARM64"
architecture "ARM64"
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"