2020-06-12 18:52:38 +03:00
|
|
|
#
|
|
|
|
|
# YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
2024-02-24 02:20:02 +03:00
|
|
|
# Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
2020-06-12 18:52:38 +03:00
|
|
|
#
|
2020-11-03 08:57:12 +03:00
|
|
|
# SPDX-License-Identifier: MIT
|
2020-06-12 18:52:38 +03:00
|
|
|
#
|
|
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# version is now passed into the bot dll
|
2024-01-19 00:03:45 +03:00
|
|
|
project(
|
2020-12-15 15:28:58 +03:00
|
|
|
'yapb',
|
|
|
|
|
'cpp',
|
2024-02-10 22:50:53 +03:00
|
|
|
version: '4.5',
|
2020-12-15 15:28:58 +03:00
|
|
|
license: 'MIT',
|
|
|
|
|
default_options: [
|
|
|
|
|
'buildtype=release',
|
|
|
|
|
'b_ndebug=if-release',
|
2023-05-02 09:42:43 +03:00
|
|
|
'cpp_std=c++17',
|
2020-12-15 15:28:58 +03:00
|
|
|
'warning_level=3',
|
|
|
|
|
'werror=true',
|
|
|
|
|
'backend=ninja',
|
|
|
|
|
'optimization=3',
|
|
|
|
|
'default_library=static',
|
2021-09-08 20:09:23 +03:00
|
|
|
'cpp_eh=none',
|
2023-04-02 12:17:12 +03:00
|
|
|
'cpp_rtti=false',
|
2021-09-11 02:03:49 +03:00
|
|
|
'b_vscrt=static_from_buildtype',
|
2021-09-12 13:07:11 +03:00
|
|
|
'b_lto=true',
|
2023-04-02 12:17:12 +03:00
|
|
|
'b_lto_mode=default',
|
2021-09-12 16:29:49 +03:00
|
|
|
'b_lundef=true',
|
2020-12-15 15:28:58 +03:00
|
|
|
],
|
2023-04-02 12:17:12 +03:00
|
|
|
meson_version: '>=0.58.0')
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
find_program('ninja', required: true)
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
compiler= meson.get_compiler('cpp')
|
|
|
|
|
cross = meson.is_cross_build ()
|
|
|
|
|
os = host_machine.system()
|
|
|
|
|
cpu = host_machine.cpu_family()
|
|
|
|
|
cxx = compiler.get_id()
|
|
|
|
|
build_type = get_option ('buildtype')
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-06-09 06:27:04 +03:00
|
|
|
opt_64bit = get_option('64bit')
|
|
|
|
|
opt_native = get_option('native')
|
2023-06-27 14:20:23 +03:00
|
|
|
opt_winxp = get_option('winxp')
|
2024-10-27 20:51:37 +03:00
|
|
|
opt_nosimd = get_option('nosimd')
|
2023-06-09 06:27:04 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# cpp and ldflags from scratch
|
|
|
|
|
cxxflags = []
|
|
|
|
|
ldflags = []
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# custom flags
|
|
|
|
|
flags_versioned = ['-DVERSION_GENERATED']
|
2021-09-08 20:09:23 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# git is optional, but it's setups our version info
|
|
|
|
|
git = find_program('git', required: false)
|
2021-09-08 20:09:23 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
if git.found()
|
|
|
|
|
run_command('git', 'config', '--global', '--add', 'safe.directory', '*', check: false)
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# get the commit data
|
|
|
|
|
count = run_command('git', 'rev-list', '--count', 'HEAD', check: false).stdout().strip()
|
|
|
|
|
hash = run_command ('git', 'rev-parse', '--short', 'HEAD', check: false).stdout().strip()
|
|
|
|
|
author = run_command ('git', 'log', '--pretty="%ae"', '-1', check: false).stdout().strip()
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
hostname = find_program('hostname', required: false)
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
if hostname.found()
|
|
|
|
|
machine = run_command('hostname', check: false).stdout().strip()
|
|
|
|
|
else
|
|
|
|
|
machine = 'unknown'
|
|
|
|
|
endif
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
bot_version = meson.project_version()
|
|
|
|
|
cxx_version = compiler.version()
|
2021-09-08 20:09:23 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
if os == 'windows'
|
|
|
|
|
winver = ','.join(bot_version.split('.'))
|
|
|
|
|
else
|
|
|
|
|
winver = bot_version
|
|
|
|
|
endif
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
cxxflags += flags_versioned
|
|
|
|
|
version_data = configuration_data()
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2024-01-19 00:03:45 +03:00
|
|
|
version_data.set('BUILD_COUNT', count)
|
|
|
|
|
version_data.set('BUILD_HASH', hash)
|
|
|
|
|
version_data.set('BUILD_AUTHOR', author)
|
|
|
|
|
version_data.set('BUILD_MACHINE', machine)
|
|
|
|
|
version_data.set('BUILD_VERSION', bot_version)
|
|
|
|
|
version_data.set('BUILD_WINVER', winver)
|
|
|
|
|
version_data.set('BUILD_COMPILER', '@0@ @1@'.format(cxx, cxx_version))
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2024-01-19 00:03:45 +03:00
|
|
|
configure_file(input: 'inc/version.h.in', output: 'version.build.h', configuration: version_data)
|
2023-04-02 12:17:12 +03:00
|
|
|
endif
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-06-09 06:27:04 +03:00
|
|
|
# define crlib native build
|
|
|
|
|
if opt_native
|
|
|
|
|
cxxflags += ['-DCR_NATIVE_BUILD']
|
|
|
|
|
endif
|
|
|
|
|
|
2024-10-27 20:51:37 +03:00
|
|
|
# globally disables all simd optimizations
|
|
|
|
|
if opt_nosimd
|
|
|
|
|
cxxflags += ['-DCR_DISABLE_SIMD']
|
|
|
|
|
endif
|
|
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# configure flags gcc and clang
|
|
|
|
|
if cxx == 'clang' or cxx == 'gcc'
|
|
|
|
|
cxxflags += [
|
2025-02-28 00:39:52 +03:00
|
|
|
'-pipe',
|
|
|
|
|
'-fno-threadsafe-statics',
|
|
|
|
|
'-pthread'
|
2020-12-15 15:28:58 +03:00
|
|
|
]
|
2021-09-11 02:03:49 +03:00
|
|
|
|
2024-01-19 00:03:45 +03:00
|
|
|
if not opt_native and cpu != 'arm' and not cpu.startswith('ppc')
|
2023-06-09 06:27:04 +03:00
|
|
|
cxxflags += '-mtune=generic'
|
|
|
|
|
endif
|
|
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
if cpu == 'aarch64'
|
|
|
|
|
cxxflags += [
|
|
|
|
|
'-march=armv8-a+fp+simd',
|
|
|
|
|
]
|
2024-01-19 00:03:45 +03:00
|
|
|
elif cpu != 'arm' and not cpu.startswith('ppc')
|
2024-10-27 20:51:37 +03:00
|
|
|
if not opt_nosimd
|
|
|
|
|
cxxflags += [
|
2025-02-28 00:39:52 +03:00
|
|
|
'-msse', '-msse2', '-msse3', '-msse3', '-mfpmath=sse'
|
2024-10-27 20:51:37 +03:00
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
2023-06-09 06:27:04 +03:00
|
|
|
if opt_native
|
|
|
|
|
cxxflags += '-march=native'
|
2024-10-27 20:51:37 +03:00
|
|
|
elif opt_64bit
|
2023-06-09 06:27:04 +03:00
|
|
|
cxxflags += '-march=x86-64'
|
2024-10-27 20:51:37 +03:00
|
|
|
else
|
|
|
|
|
cxxflags += '-march=i686'
|
2023-06-09 06:27:04 +03:00
|
|
|
endif
|
2020-12-15 15:28:58 +03:00
|
|
|
endif
|
2025-02-28 00:39:52 +03:00
|
|
|
|
|
|
|
|
cxx_version = compiler.version()
|
2021-09-11 02:03:49 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# setup optimization flags
|
|
|
|
|
if build_type == 'release'
|
|
|
|
|
cxxflags += [
|
2024-11-15 20:15:05 +03:00
|
|
|
'-funroll-loops', '-fomit-frame-pointer', '-fno-stack-protector', '-fvisibility=hidden', '-fvisibility-inlines-hidden', '-fno-math-errno'
|
2023-04-02 12:17:12 +03:00
|
|
|
]
|
|
|
|
|
|
2024-01-19 00:03:45 +03:00
|
|
|
if os != 'darwin' and os != 'windows' and cpu != 'aarch64' and cpu != 'arm' and not cpu.startswith('ppc')
|
2023-04-02 12:17:12 +03:00
|
|
|
cxxflags += [
|
|
|
|
|
'-fdata-sections',
|
2023-04-13 03:23:59 +03:00
|
|
|
'-ffunction-sections',
|
2024-10-27 20:51:37 +03:00
|
|
|
'-fcf-protection=none',
|
|
|
|
|
'-fno-plt'
|
2023-04-02 12:17:12 +03:00
|
|
|
]
|
2021-09-11 02:03:49 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
ldflags += [
|
2024-02-24 02:20:02 +03:00
|
|
|
'-Wl,--version-script=' + meson.project_source_root() + '/ext/ldscripts/version.lds',
|
2023-04-02 12:17:12 +03:00
|
|
|
'-Wl,--gc-sections'
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if cxx == 'gcc'
|
|
|
|
|
cxxflags += [
|
|
|
|
|
'-fgraphite-identity', '-floop-nest-optimize'
|
|
|
|
|
]
|
2021-09-11 02:03:49 +03:00
|
|
|
ldflags += [
|
2023-07-03 17:18:42 +03:00
|
|
|
'-fgraphite-identity', '-floop-nest-optimize'
|
2021-09-11 02:03:49 +03:00
|
|
|
]
|
|
|
|
|
endif
|
2020-12-15 15:28:58 +03:00
|
|
|
endif
|
2023-07-03 17:18:42 +03:00
|
|
|
|
2023-07-03 17:29:08 +03:00
|
|
|
# disable lto partitioning on gcc to get symver working
|
2025-02-28 00:39:52 +03:00
|
|
|
if os != 'darwin' and os != 'windows' and cxx == 'gcc' and cxx_version.version_compare('<11.0')
|
2023-07-03 17:18:42 +03:00
|
|
|
ldflags += [
|
|
|
|
|
'-flto-partition=none'
|
|
|
|
|
]
|
|
|
|
|
endif
|
2023-04-02 12:17:12 +03:00
|
|
|
else
|
|
|
|
|
cxxflags += ['-g3', '-ggdb', '-DDEBUG', '-D_FORTIFY_SOURCE=2']
|
2020-12-15 15:28:58 +03:00
|
|
|
endif
|
2024-10-27 20:51:37 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# special script for mingw-64 builds
|
2025-02-28 00:39:52 +03:00
|
|
|
if os == 'windows' and cxx == 'gcc' and cxx_version.version_compare('<12.0')
|
2020-12-15 15:28:58 +03:00
|
|
|
ldflags += [
|
2024-02-24 02:20:02 +03:00
|
|
|
'-Xlinker', '--script', '-Xlinker', meson.project_source_root() + '/ext/ldscripts/i386pe.lds'
|
2020-12-15 15:28:58 +03:00
|
|
|
]
|
|
|
|
|
endif
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# always statically link libgcc on non darwin platforms
|
|
|
|
|
if os != 'darwin'
|
|
|
|
|
if cross or (cxx != 'clang' and os == 'windows')
|
|
|
|
|
ldflags += '-static-libgcc'
|
|
|
|
|
endif
|
|
|
|
|
else
|
|
|
|
|
cxxflags += '-mmacosx-version-min=10.9'
|
|
|
|
|
|
2020-12-15 15:28:58 +03:00
|
|
|
ldflags += [
|
2023-04-02 12:17:12 +03:00
|
|
|
'-lstdc++', '-mmacosx-version-min=10.9'
|
2020-12-15 15:28:58 +03:00
|
|
|
]
|
|
|
|
|
endif
|
2021-09-11 02:03:49 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# by default we buid 32bit binaries
|
2024-01-19 00:03:45 +03:00
|
|
|
if not opt_64bit and cpu != 'aarch64' and cpu != 'arm' and not cpu.startswith('ppc')
|
2023-04-02 12:17:12 +03:00
|
|
|
cxxflags += '-m32'
|
|
|
|
|
ldflags += '-m32'
|
|
|
|
|
|
|
|
|
|
if cross and cxx == 'clang' and os == 'windows'
|
|
|
|
|
ldflags += '-Wl,/MACHINE:X86'
|
|
|
|
|
cxxflags += '-Wl,/MACHINE:X86'
|
2021-09-11 02:03:49 +03:00
|
|
|
endif
|
2023-04-25 00:06:24 +03:00
|
|
|
else
|
|
|
|
|
cxxflags += '-fPIC'
|
|
|
|
|
ldflags += '-fPIC'
|
2023-04-02 12:17:12 +03:00
|
|
|
endif
|
2021-09-11 02:03:49 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# link needed libraries
|
|
|
|
|
if os == 'linux'
|
|
|
|
|
ldflags += [
|
2023-06-05 20:44:33 +03:00
|
|
|
'-lm', '-ldl', '-lpthread'
|
2023-04-02 12:17:12 +03:00
|
|
|
]
|
|
|
|
|
elif os == 'windows'
|
|
|
|
|
if cxx == 'gcc' or (cross and cxx == 'clang')
|
|
|
|
|
ldflags += '-Wl,--kill-at'
|
2021-09-08 20:09:23 +03:00
|
|
|
endif
|
2023-04-02 12:17:12 +03:00
|
|
|
|
|
|
|
|
ldflags += [
|
|
|
|
|
'-luser32', '-lws2_32'
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
elif os == 'windows' and (cxx =='msvc' or cxx == 'clang-cl')
|
2023-06-27 14:20:23 +03:00
|
|
|
|
|
|
|
|
# define for building on winxp on msvc
|
|
|
|
|
if opt_winxp
|
|
|
|
|
cxxflags += [
|
|
|
|
|
'/TP', '/DCR_HAS_WINXP_SUPPORT', '/D_WIN32_WINNT=0x0501', '/D_USING_V110_SDK71_'
|
|
|
|
|
]
|
|
|
|
|
ldflags += ['/SUBSYSTEM:WINDOWS,5.01']
|
|
|
|
|
endif
|
|
|
|
|
|
2023-06-09 06:27:04 +03:00
|
|
|
if not opt_64bit and cxx == 'clang'
|
2023-04-02 12:17:12 +03:00
|
|
|
cxxflags += '/MACHINE:X86'
|
|
|
|
|
ldflags += '/MACHINE:X86'
|
2020-12-15 15:28:58 +03:00
|
|
|
endif
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# minor optimizations for release build
|
|
|
|
|
if build_type == 'release'
|
|
|
|
|
cxxflags += [
|
2023-06-27 14:20:23 +03:00
|
|
|
'/Zc:threadSafeInit-', '/GS-', '/Ob2', '/Oy', '/Oi', '/Ot', '/fp:precise', '/GF', '/Gw', '/arch:SSE2', '/Zi', '/guard:ehcont-', '/guard:cf-'
|
2020-12-15 15:28:58 +03:00
|
|
|
]
|
2023-04-02 12:17:12 +03:00
|
|
|
|
|
|
|
|
# add wpo if msvc
|
|
|
|
|
if cxx == 'msvc'
|
|
|
|
|
cxxflags += [
|
2023-05-13 22:40:26 +03:00
|
|
|
'/GL', '/DEBUG'
|
2023-04-02 12:17:12 +03:00
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# add linker flags
|
2020-12-15 15:28:58 +03:00
|
|
|
ldflags += [
|
2023-06-27 14:20:23 +03:00
|
|
|
'/OPT:REF,ICF', '/GUARD:NO ', '/LTCG', 'delayimp.lib', '/DELAYLOAD:user32.dll', '/DELAYLOAD:ws2_32.dll',
|
2023-04-02 12:17:12 +03:00
|
|
|
]
|
2020-12-15 15:28:58 +03:00
|
|
|
endif
|
2023-04-02 12:17:12 +03:00
|
|
|
|
2020-12-15 15:28:58 +03:00
|
|
|
ldflags += [
|
2023-04-02 12:17:12 +03:00
|
|
|
'user32.lib', 'ws2_32.lib'
|
2020-12-15 15:28:58 +03:00
|
|
|
]
|
2020-06-12 18:52:38 +03:00
|
|
|
endif
|
|
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# pass our hell to meson
|
2023-05-02 09:42:43 +03:00
|
|
|
add_global_arguments(cxxflags, language: 'cpp')
|
|
|
|
|
add_global_link_arguments(ldflags, language: 'cpp')
|
2020-06-12 18:52:38 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# add the sources
|
2023-05-02 09:42:43 +03:00
|
|
|
sources = files(
|
|
|
|
|
'src/analyze.cpp',
|
2020-12-15 15:28:58 +03:00
|
|
|
'src/botlib.cpp',
|
|
|
|
|
'src/chatlib.cpp',
|
|
|
|
|
'src/combat.cpp',
|
|
|
|
|
'src/config.cpp',
|
|
|
|
|
'src/control.cpp',
|
|
|
|
|
'src/engine.cpp',
|
2024-05-22 11:13:52 +03:00
|
|
|
'src/fakeping.cpp',
|
2020-12-15 15:28:58 +03:00
|
|
|
'src/graph.cpp',
|
2024-01-19 00:03:45 +03:00
|
|
|
'src/hooks.cpp',
|
2020-12-15 15:28:58 +03:00
|
|
|
'src/linkage.cpp',
|
|
|
|
|
'src/manager.cpp',
|
|
|
|
|
'src/module.cpp',
|
|
|
|
|
'src/message.cpp',
|
|
|
|
|
'src/navigate.cpp',
|
2023-05-02 09:42:43 +03:00
|
|
|
'src/planner.cpp',
|
|
|
|
|
'src/practice.cpp',
|
aim: verify camp angles from nav data before using them
aim: tweaked a bit grenade handling, so bots should use them more
aim: reduce time between selecting grenade and throwing it away
aim: removed hacks in look angles code, due to removing yb_whoose_your_daddy cvar
aim: use direct enemy origin from visibility check, and not re-calculate it
aim: update enemy prediction, so it now depends on frame interval for a bot
aim: additional height offset are tweaked, and now used only for difficulty 4
nav: tweaked a bit player avoidance code, and it's not preventing bot from checking terrain
nav: do not check banned nodes, when bucket sizes re too low
nav: cover nodes are now selected depending on total bots on server
nav: let bot enter pause task after long jump
nav: extend velocity by a little for a jump, like it was in first versions of bot
nav: stuck checking is now taken in account lower minimal speed if bot is ducking
fix: navigation reachability timers, so bots will have correct current node index while camping
fix: bots are unable to finish pickup or destroy breakable task, if target is not reachable
fix: cover nodes are now calculated as they should
fix: manual calling bots add_[t/ct] now ignores yb_join_team cvar
bot: tweaked a little difficulty levels, so level 4 is now nightmare level, and 3 is very heard
bot: minor refactoring and moving functions to correct source file
bot: add yb_economics_disrespect_percent, so bots can ignore economics and buy more different guns
bot: add yb_check_darkness that allows to disable darkness checks for bot, thus disallowing usage of flashlight
bot: camp buttons are now lightly depends on bot health
chat: welcome chat message from bots is now sent during first freeze time period
crlib: switch over to stdint.h and remove crlib-own types
crlib: fixed alignment in sse code
2023-04-07 14:46:49 +03:00
|
|
|
'src/sounds.cpp',
|
2023-05-02 09:42:43 +03:00
|
|
|
'src/storage.cpp',
|
|
|
|
|
'src/support.cpp',
|
2023-05-10 09:08:34 +03:00
|
|
|
'src/tasks.cpp',
|
|
|
|
|
'src/vision.cpp',
|
2023-05-02 09:42:43 +03:00
|
|
|
'src/vistable.cpp'
|
2020-06-12 18:52:38 +03:00
|
|
|
)
|
|
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# add the include directories
|
2023-05-02 09:42:43 +03:00
|
|
|
includes = include_directories([
|
2023-05-12 20:00:06 +03:00
|
|
|
'.', 'inc', 'ext', 'ext/crlib', 'ext/linkage'
|
2020-06-12 18:52:38 +03:00
|
|
|
], is_system: true)
|
|
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# if have git and on windows add windows-specific version info
|
|
|
|
|
if os == 'windows' and git.found()
|
2023-05-02 09:42:43 +03:00
|
|
|
sources += import('windows').compile_resources(
|
2020-12-15 15:28:58 +03:00
|
|
|
'vc/yapb.rc',
|
|
|
|
|
include_directories: includes,
|
2023-04-02 12:17:12 +03:00
|
|
|
args: flags_versioned
|
2020-12-15 15:28:58 +03:00
|
|
|
)
|
2020-06-12 18:52:38 +03:00
|
|
|
endif
|
|
|
|
|
|
2025-02-15 15:55:16 +03:00
|
|
|
target_name = meson.project_name()
|
|
|
|
|
|
|
|
|
|
# xash specific postfix for binaries
|
|
|
|
|
if cpu == 'aarch64'
|
|
|
|
|
target_name += '_arm64'
|
|
|
|
|
elif opt_64bit
|
|
|
|
|
target_name += '_amd64'
|
|
|
|
|
endif
|
|
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
# instruct meson we're want our little shared lib bot
|
|
|
|
|
shared_library(
|
2025-02-15 15:55:16 +03:00
|
|
|
target_name,
|
2020-12-15 15:28:58 +03:00
|
|
|
sources,
|
|
|
|
|
include_directories: includes,
|
|
|
|
|
gnu_symbol_visibility: 'hidden',
|
2023-04-13 03:23:59 +03:00
|
|
|
name_prefix: ''
|
|
|
|
|
)
|
2020-11-11 16:54:58 +03:00
|
|
|
|
2023-04-02 12:17:12 +03:00
|
|
|
run_target('package',
|
2023-07-03 17:18:42 +03:00
|
|
|
command: ['python3', meson.project_source_root() + '/package.py', '@0@.@1@'.format(bot_version, count)])
|