From 2cb9b6fdc38a5df00ade737f90a9daf685ab89c3 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Thu, 13 Jul 2023 12:20:29 -0500 Subject: Init commit --- .ycm_extra_conf.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .ycm_extra_conf.py (limited to '.ycm_extra_conf.py') diff --git a/.ycm_extra_conf.py b/.ycm_extra_conf.py new file mode 100644 index 0000000..6e9c2b1 --- /dev/null +++ b/.ycm_extra_conf.py @@ -0,0 +1,21 @@ +def Settings( **kwargs ): + return { + 'flags': [ + '-Wall', '-Wextra', '-Werror', + '-target', 'wasm32-unknown-emscripten', + '-fignore-exceptions', + '-fvisibility=default', + '-mllvm', + '-combiner-global-alias-analysis=false', + '-enable-emscripten-sjlj', + '-disable-lsr', + '-DEMSCRIPTEN', + '--sysroot=/home/flu0r1ne/.emscripten_cache/sysroot', + '-Xclang -iwithsysroot/include/fakesdl', + '-Xclang -iwithsysroot/include/compat', + '-Itest/include', + '-Isrc', + '-std=c++20', + '-Wno-unused-function', + ], + } -- cgit v1.2.3