Source code for scannerpy.stdlib.build_flags

import os.path
import sys

SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))

[docs]def get_include(): return os.path.abspath(os.path.join(SCRIPT_DIR, '..', 'include'))
[docs]def get_lib(): return os.path.abspath(os.path.join(SCRIPT_DIR, '..', 'lib'))
[docs]def get_cmake(): return os.path.abspath(os.path.join(SCRIPT_DIR, '..', 'cmake', 'Op.cmake'))
[docs]def get_compile_flags(): return ( '-std=c++11 -I{include}'.format( include=get_include()))