FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node-curl/wscript at master · allert/node-curl · GitHub
allert
node-curl
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
node-curl
/
wscript
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (13 loc) · 416 Bytes
Breadcrumbs
node-curl
/
wscript
Copy path
File metadata and controls
15 lines (13 loc) · 416 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
def
set_options
(
opt
):
opt
.
tool_options
(
'compiler_cxx'
)
def
configure
(
conf
):
conf
.
check_tool
(
'compiler_cxx'
)
conf
.
check_tool
(
'node_addon'
)
conf
.
env
.
append_unique
(
'CXXFLAGS'
, [
'-Wall'
,
'-O1'
,
'-fno-inline-functions'
])
conf
.
env
[
'LIB_CURL'
]
=
'curl'
def
build
(
bld
):
obj
=
bld
.
new_task_gen
(
'cxx'
,
'shlib'
,
'node_addon'
,
uselib
=
"CURL"
)
obj
.
target
=
'node-curl'
obj
.
source
=
[
'src/node-curl.cc'
,
]
Back
|
FazBrowse Home
|
New Git URL