final commit, removed scripts and reset meson.build

This commit is contained in:
Nikita Edel 2026-03-10 20:27:11 +01:00
parent af16088015
commit da3d69b5bd
3 changed files with 0 additions and 28 deletions

View file

@ -1,6 +0,0 @@
#!/bin/bash
CC=clang CXX=clang++ meson compile -C build && \
cd build/Minecraft.Client/ && \
gdb -tui ./Minecraft.Client && \
cd ../..

View file

@ -12,9 +12,6 @@ pymod = import('python')
python = pymod.find_installation('python3', required: true)
cc = meson.get_compiler('cpp')
buildtype = get_option('buildtype')
#langs cant sadly be set before calling project
langs = ['cpp', 'c']
# system deps
gl_dep = dependency('gl')
@ -24,19 +21,6 @@ png_dep = dependency('libpng')
thread_dep = dependency('threads')
dl_dep = cc.find_library('dl')
if buildtype.startswith('debug')
strAsan = '-fsanitize=address'
strLsan = '-fsanitize=leak'
if cc.has_argument(strAsan)
add_project_arguments(strAsan, language: langs)
add_project_link_arguments(strAsan, language: langs)
endif
if cc.has_argument(strLsan)
add_project_arguments(strLsan, language: langs)
add_project_link_arguments(strLsan, language: langs)
endif
endif
# compile flags (chagne ts juicey)
global_cpp_args = [
'-fpermissive',

6
run.sh
View file

@ -1,6 +0,0 @@
#!/bin/bash
CC=clang CXX=clang++ meson compile -C build && \
cd build/Minecraft.Client/ && \
./Minecraft.Client && \
cd ../..