import os
import ycm_core

flags = [
#        "-std=gnu++1y",
        "-std=gnu++1z",
        "-x", "c++",
        "-isystem","/usr/include/c++/7/",
        "-isystem","/usr/include/c++/7/x86_64-suse-linux/",
        "-I/usr/include",
        "-I.",
        "-Wall",
        "-stdlib=libcstd++",
        "-Iexternals",
        "-Iexternals/LIBRARY",
        "-Iexternals/INCLUDE",
        "-Iexternals/xerces-c/xerces_3_1_1/include",
        "-Iexternals/boost/boost_1_51_0/include/",
        "-DBOOST_PARAMETER_MAX_ARITY=15",
        "-Iexternals/zlib/zlib/include/",
        "-Iexternals/bz2lib/bz2lib/include/",
        "-Iexternals/snappy/snappy/include/",
        "-Iexternals/xzlib/xzlib/include/",
        "-Iexternals/cityhash/cityhash/include/",
#        "-Duint8_t=int8_t",
#        "-Duint16_t=int16_t",
#        "-Duint32_t=int32_t",
#        "-Duint64_t=int64_t",
        ]

#let g:clang_user_options="-x c++ -std=gnu++11 -I.. -I../.. -Iexternals -Iexternals/xerces-c/xerces_3_1_1/include -Iexternals/boost/boost_1_51_0/include/" 

def Settings( **kwargs ):
    return {
        "flags" : flags,
        "do_cache" : True
        }
# vim: tabstop=4 shiftwidth=4 expandtab ft=python
