FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TF2-Source-Code/tf2_src/vpc_scripts/swig_python.vpc at master · sr2echa/TF2-Source-Code · GitHub
sr2echa
/
TF2-Source-Code
Public
Notifications
You must be signed in to change notification settings
Fork
22
Star
81
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
TF2-Source-Code
/
tf2_src
/
vpc_scripts
/
swig_python.vpc
Copy path
More file actions
More file actions
Latest commit
History
History
History
67 lines (60 loc) · 1.45 KB
Breadcrumbs
TF2-Source-Code
/
tf2_src
/
vpc_scripts
/
swig_python.vpc
Copy path
File metadata and controls
67 lines (60 loc) · 1.45 KB
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
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//-----------------------------------------------------------------------------
//
// swig_python.vpc - Compile rules for swig -> c++ for Python modules
//
// Include before defining the macro $SWIGFILE
//
// Use like this (NOTE: Do not add the .i extension):
//
// $Macro SWIGFILE "foo"
// $Include "$SRCDIR/vpc_scripts/swig_python.vpc"
//
//-----------------------------------------------------------------------------
$MacroRequired "PYTHONVER"
$MacroRequired "SWIGFILE"
$Configuration
{
$PreBuildEvent
{
$CommandLine "call $SRCDIR\vpc_scripts\swig_depend.cmd $SWIGFILE $SRCDIR $PYTHONVER" "\n" "$BASE"
}
}
$Project
{
$Folder "SWIG Source"
{
$File "$SWIGFILE.i"
{
$Configuration
{
$CustomBuildStep
{
$CommandLine "$SRCDIR\vpc_scripts\swig_python.cmd $SWIGFILE $SRCDIR $OUTBINDIR $PYTHONVER"
$AdditionalDependencies "$SWIGFILE.dep"
$Description "SWIG -> C++, $SWIGFILE.i -> swig_python$PYTHONVER\$SWIGFILE_wrap_python$PYTHONVER.cpp"
$Outputs "$QUOTE$SWIGFILE_wrap_python$PYTHONVER.cpp$QUOTE;$QUOTEswig_python$PYTHONVER\$SWIGFILE.py$QUOTE"
}
}
}
}
$Folder "Read Only"
{
$Folder "SWIG Generated Python Files"
{
$DynamicFile "$OUTBINDIR\$SWIGFILE.py"
}
$Folder "SWIG Generated Source Files"
{
$DynamicFile "$QUOTE$SWIGFILE_wrap_python$PYTHONVER.cpp$QUOTE"
{
$Configuration
{
$Compiler
{
$AdditionalOptions "/wd4127 /wd4244 /wd4505 /wd4706"
}
}
}
}
}
}
Back
|
FazBrowse Home
|
New Git URL