FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
agg/src/makefile at main · cppfw/agg · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
cppfw
/
agg
Public
Notifications
You must be signed in to change notification settings
Fork
8
Star
46
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
agg
/
src
/
makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (25 loc) · 1.18 KB
Breadcrumbs
agg
/
src
/
makefile
Copy path
File metadata and controls
38 lines (25 loc) · 1.18 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
include
prorab.mk
this_out_dir
:= build
this_name
:=
$(
shell
cat
$(
d
)
../name.txt)
this_soname
:=
$(
shell
cat
$(
d
)
../soname.txt)
this_headers_dir
:= agg/include/agg
this_install_cxx_hdrs
:=
$(
patsubst
$(
d
)
%
,
%
,
$(
wildcard
$(
d
)$(
this_headers_dir
)
/
*
.h)
)
#
exclude gpc.h dependent functionality from the library
this_install_cxx_hdrs
:=
$(
filter-out
%
agg_conv_gpc.h,
$(
this_install_cxx_hdrs
)
)
this_headers_install_dir
:= agg
#
TODO: make it $(this_name) when library is renamed to agg
this_srcs
+=
$(
patsubst
$(
d
)
%
,
%
,
$(
wildcard
$(
d
)
agg/src/
*
.cpp)
)
this_cxxflags
+= -I
$(
d
)
agg/include/agg
this_cxxflags
+= -fstrict-aliasing
#
in order to comply with the c++ standard more strictly
this_cxxflags += -fPIC
#
On CI build fails with:
#
error: argument unused during compilation: '-fstack-clash-protection' [clang-diagnostic-unused-command-line-argument,-warnings-as-errors]
#
Disable the warning.
this_cxxflags
+= -Wno-unused-command-line-argument
this_ldlibs
+= -lstdc++
#
Run lint only on Debian, because Ubuntu's version can be unstable
ifeq
(
$(
os
)
,linux)
ifeq ($(shell lsb_release --short --id),Debian)
this_lint_cmd
=
$(
prorab_lint_cmd_clang_tidy
)
endif
endif
$(eval $(prorab-build-lib))
Back
|
FazBrowse Home
|
New Git URL