forked from lewissbaker/cppcoro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuse.cake
More file actions
20 lines (14 loc) · 661 Bytes
/
Copy pathuse.cake
File metadata and controls
20 lines (14 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
###############################################################################
# Copyright (c) Lewis Baker
# Licenced under MIT license. See LICENSE.txt for details.
###############################################################################
import cake.path
from cake.tools import script, env, compiler, variant
compiler.addIncludePath(env.expand('${CPPCORO}/include'))
buildScript = script.get(script.cwd('build.cake'))
compiler.addLibrary(buildScript.getResult('library'))
if variant.platform == "windows":
compiler.addLibrary("Synchronization")
compiler.addLibrary("kernel32")
compiler.addLibrary("WS2_32")
compiler.addLibrary("Mswsock")