aboutsummaryrefslogtreecommitdiff
path: root/src/zenhorde/xmake.lua
blob: 48d028e8694249c57197c4b7a3c58b745acfb15d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- Copyright Epic Games, Inc. All Rights Reserved.

target('zenhorde')
    set_kind("static")
    set_group("libs")
    add_headerfiles("**.h")
    add_files("**.cpp")
    add_includedirs("include", {public=true})
    add_deps("zencore", "zenhttp", "zencompute", "zenutil")
    add_packages("asio", "json11")

    if is_plat("windows") then
        add_syslinks("Ws2_32", "Bcrypt")
    end

    if is_plat("linux") or is_plat("macosx") then
        add_packages("openssl")
    end

    if is_os("macosx") then
        add_cxxflags("-Wno-deprecated-declarations")
    end