forked from wjwwood/serial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
44 lines (35 loc) · 858 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
project "libSerial"
cppdialect "C++17"
kind "StaticLib"
language "C++"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
includedirs
{
"include",
"src"
}
files
{
"src/serial.cpp",
"src/impl/win.cpp",
"src/impl/list_ports/list_ports_win.cpp",
"include/serial/serial.h",
"include/serial/v8stdint.h",
"include/serial/impl/win.h"
}
links
{
"setupapi.lib"
}
filter "system:windows"
systemversion "latest"
staticruntime "Off"
filter "configurations:Debug"
systemversion "latest"
runtime "Debug"
symbols "on"
filter "configurations:Release"
systemversion "latest"
runtime "Release"
optimize "on"