-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
51 lines (42 loc) · 1.02 KB
/
premake5.lua
File metadata and controls
51 lines (42 loc) · 1.02 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
project "grpc"
kind "StaticLib"
language "C++"
staticruntime "off"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
files
{
"src/cpp/**.cpp",
"src/cpp/**.h",
"src/cpp/**.cc",
}
protoc -I=$PWD/googleapis --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` $PWD/googleapis/google/logging/v2/logging.proto
includedirs
{
".",
"include",
"src/core/ext/upb-gen",
"third_party/abseil-cpp",
"third_party/protobuf/src",
"third_party/boringssl-with-bazel/src/include",
"third_party\opentelemetry-cpp\sdk\include",
"third_party/upb",
"third_party/re2",
}
filter "system:windows"
systemversion "latest"
cppdialect "C++17"
filter "system:linux"
pic "On"
systemversion "latest"
cppdialect "C++17"
filter "configurations:Debug"
runtime "Debug"
symbols "on"
filter "configurations:Release"
runtime "Release"
optimize "on"
filter "configurations:Dist"
runtime "Release"
optimize "on"
symbols "off"