Use the CheckPIESupported output in the CMakeLists.txt, file and replace the .svgz logo with a .svg one.

This commit is contained in:
Username404 2021-06-11 07:25:18 +02:00
parent a9d137fab6
commit bbc980c6a9
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
3 changed files with 492 additions and 2 deletions

View File

@ -18,10 +18,10 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_EXTENSIONS OFF)
include(CheckPIESupported) include(CheckPIESupported)
check_pie_supported(OUTPUT_VARIABLE output LANGUAGES CXX) check_pie_supported(OUTPUT_VARIABLE pie_output LANGUAGES CXX)
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
if (NOT CMAKE_CXX_LINK_PIE_SUPPORTED) if (NOT CMAKE_CXX_LINK_PIE_SUPPORTED)
message(WARNING "Link-time PIE not supported") message(WARNING "Link-time PIE not supported: ${pie_output}.\n")
endif() endif()
set(CMAKE_CXX_FLAGS "-Wall") set(CMAKE_CXX_FLAGS "-Wall")

490
resources/Yerbacon.svg Normal file
View File

@ -0,0 +1,490 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="2048.2278"
height="2047.9427"
viewBox="-0.4 0 541.92697 541.85152"
version="1.1"
id="svg8"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
sodipodi:docname="Yerbacon.svg"
inkscape:export-filename="/home/username404/CLionProjects/Yerbacon/resources/Yerbacon.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs2">
<linearGradient
inkscape:collect="always"
id="linearGradient3215">
<stop
style="stop-color:#cc9004;stop-opacity:1;"
offset="0"
id="stop3211" />
<stop
style="stop-color:#743800;stop-opacity:1"
offset="1"
id="stop3213" />
</linearGradient>
<inkscape:path-effect
effect="interpolate_points"
id="path-effect3025"
is_visible="true"
lpeversion="1"
interpolator_type="CentripetalCatmullRom" />
<inkscape:path-effect
effect="interpolate_points"
id="path-effect3023"
is_visible="true"
lpeversion="1"
interpolator_type="CentripetalCatmullRom" />
<inkscape:path-effect
effect="vonkoch"
id="path-effect3021"
is_visible="true"
lpeversion="1"
ref_path="m 128.94336,207.24509 h 5.99015"
generator="m 128.94336,211.02333 h 1.99672 m 1.99671,0 h 1.99672"
similar_only="false"
nbgenerations="1"
drawall="true"
maxComplexity="1000" />
<inkscape:path-effect
effect="transform_2pts"
start="128.94336,207.24509"
end="134.93351,207.24509"
id="path-effect3019"
is_visible="true"
lpeversion="1"
first_knot="1"
last_knot="2"
helper_size="3"
stretch="1"
offset="0"
elastic="false"
from_original_width="true"
flip_vertical="false"
flip_horizontal="false"
lock_length="false"
lock_angle="false" />
<inkscape:path-effect
effect="rough_hatches"
id="path-effect3017"
is_visible="true"
lpeversion="1"
direction="131.93844,202.24509 , 1.4975375,0"
dist_rdm="75;1"
growth="0"
do_bend="true"
bender="131.93844,207.24509 , 5,0"
bottom_edge_variation="0.755648;1"
top_edge_variation="0.755648;1"
bottom_tgt_variation="0;1"
top_tgt_variation="0;1"
scale_bf="1"
scale_bb="1"
scale_tf="1"
scale_tb="1"
top_smth_variation="0;1"
bottom_smth_variation="0;1"
fat_output="true"
stroke_width_top="1"
stroke_width_bottom="1"
front_thickness="1"
back_thickness="0.25" />
<inkscape:path-effect
effect="envelope"
id="path-effect3015"
is_visible="true"
lpeversion="1"
yy="true"
xx="true"
bendpath1="m 128.94336,203.46685 h 5.99015"
bendpath2="m 134.93351,203.46685 v 7.55648"
bendpath3="m 128.94336,211.02333 h 5.99015"
bendpath4="m 128.94336,203.46685 v 7.55648" />
<inkscape:path-effect
effect="simplify"
id="path-effect3013"
is_visible="true"
lpeversion="1"
steps="1"
threshold="0.002"
smooth_angles="0"
helper_size="5"
simplify_individual_paths="false"
simplify_just_coalesce="false" />
<inkscape:path-effect
effect="ruler"
id="path-effect3011"
is_visible="true"
lpeversion="1"
unit="px"
mark_distance="20.5"
mark_length="19"
minor_mark_length="13"
major_mark_steps="5"
shift="0"
offset="0"
mark_dir="left"
border_marks="both" />
<inkscape:path-effect
effect="attach_path"
id="path-effect3009"
lpeversion="1"
is_visible="true"
startpath=""
startposition="0"
startcurvestart="0,0 , 20,0"
startcurveend="0,0 , 20,0"
endpath=""
endposition="0"
endcurvestart="0,0 , 20,0"
endcurveend="0,0 , 20,0" />
<inkscape:path-effect
effect="gears"
id="path-effect3007"
is_visible="true"
lpeversion="1"
teeth="10"
phi="5"
min_radius="5" />
<inkscape:path-effect
effect="sketch"
id="path-effect3005"
is_visible="true"
lpeversion="1"
nbiter_approxstrokes="5"
strokelength="100"
strokelength_rdm="0.3;1"
strokeoverlap="0.3"
strokeoverlap_rdm="0.3;1"
ends_tolerance="0.1;1"
parallel_offset="5;1"
tremble_size="5;1"
tremble_frequency="1"
nbtangents="5"
tgt_places_rdmness="1;1"
tgtscale="10"
tgtlength="100"
tgtlength_rdm="0.3;1" />
<inkscape:path-effect
effect="knot"
id="path-effect3003"
is_visible="true"
lpeversion="1"
switcher_size="17"
interruption_width="3"
prop_to_stroke_width="true"
add_stroke_width="inkscape_1.0_and_up"
both="false"
inverse_width="false"
add_other_stroke_width="inkscape_1.0_and_up"
crossing_points_vector="" />
<inkscape:path-effect
effect="dashed_stroke"
id="path-effect3001"
is_visible="true"
lpeversion="1"
numberdashes="3"
holefactor="0"
splitsegments="true"
halfextreme="true"
unifysegment="true"
message="Ajoutez du remplissage avec l'effet &lt;b&gt;« Remplir dans les nuées »&lt;/b&gt;." />
<inkscape:path-effect
effect="interpolate_points"
id="path-effect2999"
is_visible="true"
lpeversion="1"
interpolator_type="CentripetalCatmullRom" />
<inkscape:path-effect
effect="offset"
id="path-effect2997"
is_visible="true"
lpeversion="1"
linejoin_type="miter-clip"
unit="mm"
offset="2.8"
miter_limit="4"
attempt_force_join="true"
update_on_knot_move="true" />
<inkscape:path-effect
effect="offset"
id="path-effect2995"
is_visible="true"
lpeversion="1"
linejoin_type="miter"
unit="mm"
offset="0"
miter_limit="4"
attempt_force_join="true"
update_on_knot_move="true" />
<inkscape:path-effect
effect="show_handles"
id="path-effect2993"
is_visible="true"
lpeversion="1"
nodes="true"
handles="true"
original_path="true"
show_center_node="false"
original_d="false"
scale_nodes_and_handles="10" />
<inkscape:path-effect
effect="roughen"
id="path-effect2991"
is_visible="true"
lpeversion="1"
method="size"
max_segment_size="0.0599015"
segments="2"
displace_x="0.0599015;1"
displace_y="0.0755648;1"
global_randomize="1;1625292872"
handles="along"
shift_nodes="true"
fixed_displacement="true"
spray_tool_friendly="true" />
<inkscape:path-effect
effect="bend_path"
id="path-effect2989"
is_visible="true"
lpeversion="1"
bendpath="m 128.94336,207.24509 h 5.99015"
prop_scale="1"
scale_y_rel="false"
vertical="false"
hide_knot="false" />
<inkscape:path-effect
effect="lattice2"
gridpoint0="128.94336,203.46685"
gridpoint1="134.93351,203.46685"
gridpoint2="128.94336,211.02333"
gridpoint3="134.93351,211.02333"
gridpoint4="130.4409,203.46685"
gridpoint5="133.43597,203.46685"
gridpoint6="130.4409,211.02333"
gridpoint7="133.43597,211.02333"
gridpoint8x9="131.93844,203.46685"
gridpoint10x11="131.93844,211.02333"
gridpoint12="128.94336,205.35597"
gridpoint13="134.93351,205.35597"
gridpoint14="128.94336,209.13421"
gridpoint15="134.93351,209.13421"
gridpoint16="130.4409,205.35597"
gridpoint17="133.43597,205.35597"
gridpoint18="130.4409,209.13421"
gridpoint19="133.43597,209.13421"
gridpoint20x21="131.93844,205.35597"
gridpoint22x23="131.93844,209.13421"
gridpoint24x26="128.94336,207.24509"
gridpoint25x27="134.93351,207.24509"
gridpoint28x30="130.4409,207.24509"
gridpoint29x31="133.43597,207.24509"
gridpoint32x33x34x35="131.93844,207.24509"
id="path-effect2987"
is_visible="true"
lpeversion="1"
horizontal_mirror="false"
vertical_mirror="false"
perimetral="false"
live_update="true" />
<inkscape:path-effect
effect="knot"
id="path-effect2985"
is_visible="true"
lpeversion="1"
switcher_size="15"
interruption_width="3"
prop_to_stroke_width="true"
add_stroke_width="inkscape_1.0_and_up"
both="false"
inverse_width="false"
add_other_stroke_width="inkscape_1.0_and_up"
crossing_points_vector="" />
<inkscape:path-effect
effect="construct_grid"
id="path-effect2983"
is_visible="true"
lpeversion="1"
nr_x="5"
nr_y="5" />
<inkscape:path-effect
effect="interpolate_points"
id="path-effect2981"
is_visible="true"
lpeversion="1"
interpolator_type="CentripetalCatmullRom" />
<inkscape:path-effect
effect="rough_hatches"
id="path-effect2979"
is_visible="true"
lpeversion="1"
direction="131.93844,202.24509 , 1.4975375,0"
dist_rdm="75;1"
growth="0"
do_bend="true"
bender="131.93844,207.24509 , 5,0"
bottom_edge_variation="0.755648;1"
top_edge_variation="0.755648;1"
bottom_tgt_variation="0;1"
top_tgt_variation="0;1"
scale_bf="1"
scale_bb="1"
scale_tf="1"
scale_tb="1"
top_smth_variation="0;1"
bottom_smth_variation="0;1"
fat_output="true"
stroke_width_top="1"
stroke_width_bottom="1"
front_thickness="1"
back_thickness="0.25" />
<inkscape:path-effect
effect="pts2ellipse"
id="path-effect2977"
is_visible="true"
lpeversion="1"
method="auto"
gen_arc="false"
arc_other="false"
slice_arc="false"
gen_isometric_frame="false"
draw_axes="false"
gen_perspective_frame="false"
draw_perspective_axes="false"
rot_axes="0"
draw_ori_path="false" />
<inkscape:path-effect
effect="mirror_symmetry"
start_point="134.93351,203.46685"
end_point="134.93351,211.02333"
center_point="134.93351,207.24509"
id="path-effect2975"
is_visible="true"
lpeversion="1"
mode="free"
discard_orig_path="false"
fuse_paths="false"
oposite_fuse="false"
split_items="false" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 270.9182 : 1"
inkscape:vp_y="0 : 999.99999 : 0"
inkscape:vp_z="541.86696 : 270.9182 : 1"
inkscape:persp3d-origin="270.93348 : 180.60709 : 1"
id="perspective873" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3215"
id="linearGradient3217"
x1="132.24084"
y1="208.93588"
x2="135.91957"
y2="202.31866"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3215"
id="linearGradient3221"
gradientUnits="userSpaceOnUse"
x1="128.78537"
y1="207.82217"
x2="135.09093"
y2="207.82217" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3215"
id="linearGradient3231"
gradientUnits="userSpaceOnUse"
x1="132.24084"
y1="208.93588"
x2="135.91957"
y2="202.31866" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3215"
id="linearGradient3233"
gradientUnits="userSpaceOnUse"
x1="128.78537"
y1="207.82217"
x2="135.09093"
y2="207.82217" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#000000"
bordercolor="#231b96"
borderopacity="1"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="1385.3845"
inkscape:cy="884.69732"
inkscape:document-units="px"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
inkscape:snap-page="false"
units="px"
inkscape:pagecheckerboard="true"
inkscape:window-width="2560"
inkscape:window-height="1378"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
viewbox-x="-0.4"
lock-margins="false"
borderlayer="false"
showborder="true" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(53.882174,62.901445)">
<rect
style="fill:none;fill-rule:evenodd;stroke-width:0.264583"
id="rect1953"
width="541.867"
height="541.86664"
x="-50.88966"
y="-50.792233"
ry="0" />
<g
aria-label="Y"
transform="matrix(85.944286,0,0,66.662595,-11122.649,-13607.329)"
id="text891"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.5833px;line-height:1.25;font-family:'Noto Sans';-inkscape-font-specification:'Noto Sans, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre;inline-size:13.5682;opacity:0.81403658;mix-blend-mode:soft-light;fill:url(#linearGradient3217);fill-opacity:1;stroke:url(#linearGradient3221);stroke-width:0.264583;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:path-effect="#path-effect3025">
<path
d="m 131.93843,207.18159 c 0.32808,-0.61912 1.28803,-3.30522 1.9685,-3.71474 0.33626,-0.20236 0.90273,-0.20847 1.02658,0 0.28051,0.47218 -2.16007,3.21609 -2.51883,4.62491 -0.26767,1.05112 0.35478,2.57679 0,2.93157 -0.20223,0.20223 -0.75081,0.20169 -0.9525,0 -0.35128,-0.35128 0.26316,-1.84751 0,-2.88924 -0.35654,-1.41138 -2.80344,-4.19021 -2.51882,-4.66724 0.12587,-0.21095 0.69853,-0.2043 1.03716,0 0.68136,0.41109 1.63159,3.09562 1.95791,3.71474"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.5833px;font-family:'Noto Sans';-inkscape-font-specification:'Noto Sans, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:url(#linearGradient3231);fill-opacity:1;stroke:url(#linearGradient3233);stroke-width:0.264583;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path2972"
inkscape:original-d="m 131.93843,207.18159 1.9685,-3.71474 h 1.02658 l -2.51883,4.62491 v 2.93157 h -0.9525 v -2.88924 l -2.51882,-4.66724 h 1.03716 z" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.