Skip to content

Instantly share code, notes, and snippets.

@predat
Created October 9, 2013 11:51
Show Gist options
  • Select an option

  • Save predat/6900036 to your computer and use it in GitHub Desktop.

Select an option

Save predat/6900036 to your computer and use it in GitHub Desktop.
host.sconf
##
## Sconf configuration for macosx with homebrew
## Status Wip
##
##
## Specific site directories
##
import os
homebrew_base = '/usr/local'
homebrew_include = os.path.join(homebrew_base, 'include')
#todo make the incdir specification worthless for frameworks
incdir_corefoundation = '/System/Library/Frameworks/CoreFoundation.framework/Headers'
fwkdir_corefoundation = True
dir_boost = homebrew_base
lib_boost_filesystem = 'boost_filesystem-mt'
lib_boost_program_options = 'boost_program_options-mt'
lib_boost_python = 'boost_python-mt'
lib_boost_regex = 'boost_regex-mt'
lib_boost_system = 'boost_system-mt'
lib_boost_serialization = 'boost_serialization-mt'
lib_boost_unit_test_framework = 'boost_unit_test_framework-mt'
lib_boost_thread = 'boost_thread-mt'
lib_boost_date_time = 'boost_date_time-mt'
lib_boost_chrono = 'boost_chrono-mt'
lib_boost_log = 'boost_log-mt'
extern = '#3rdParty'
dir_ctl = join(extern, 'ctl','CTL')
modules_ctl = ['IlmCtlSimd', 'IlmCtl', 'IlmCtlMath']
incdir_ctl = [join(dir_ctl,inc) for inc in modules_ctl]
libdir_ctl = [join(dir_ctl,inc,'.libs') for inc in modules_ctl]
dir_ffmpeg = homebrew_base
dir_caca = homebrew_base
dir_freetype = homebrew_base
incdir_freetype = os.path.join(homebrew_include, 'freetype2')
dir_gl = '/usr/X11'
lib_gl = 'GL'
dir_GLU = '/usr/X11'
dir_glut = homebrew_base
dir_glew = homebrew_base
dir_xlibs = '/usr/X11'
incdir_imagemagick = os.path.join(homebrew_include, "ImageMagick-6")
libdir_imagemagick = os.path.join(homebrew_base, "lib/ImageMagick")
lib_imagemagick = "libMagickCore-6.Q16"
dir_jpeg = homebrew_base
dir_littlecms = homebrew_base
dir_lcms = homebrew_base
dir_half = homebrew_base
incdir_half = os.path.join(homebrew_include, 'OpenExr')
dir_ilmbase = homebrew_base
incdir_openexr = os.path.join(homebrew_include, 'OpenEXR/')
dir_opencolorio = homebrew_base
dir_openimageio = homebrew_base
incdir_openimageio = os.path.join(homebrew_include, 'OpenImageIO')
incdir_openjpeg = os.path.join(homebrew_include,'openjpeg-1.5')
libdir_openjpeg = os.path.join(homebrew_base, 'lib')
incdir_python = '/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/'
dir_numpy = '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core'
dir_png = homebrew_base
dir_raw = homebrew_base
dir_tiff = homebrew_base
dir_turbojpeg = os.path.join(homebrew_base, 'opt', 'jpeg-turbo')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment