aboutsummaryrefslogtreecommitdiff
path: root/.ycm_extra_conf.py
diff options
context:
space:
mode:
Diffstat (limited to '.ycm_extra_conf.py')
-rw-r--r--.ycm_extra_conf.py21
1 files changed, 21 insertions, 0 deletions
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',
+ ],
+ }