Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FreeBSD sconscript file
01-06-2008, 04:34 PM,
#1
FreeBSD sconscript file
First of all i want to say that i don't know the right way to write freebsd part of sconscript file, i mean that it's a dirty hack..

So freebsd section:
Code:
if (sys.platform == 'freebsd5') or (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7'):
    LOCALBASE = '/usr/local/'
    X11BASE = '/usr/X11R6/'
    env = Environment(ENV = os.environ,
        CPPPATH = ['#include',LOCALBASE + '/include', LOCALBASE + '/include/AL',X11BASE + '/include', '#bullet-2.64/src'],
        LIBPATH = ['.', '#lib', LOCALBASE + '/lib', X11BASE + '/lib', '#bullet-2.64/out/freebsd/optimize/libs'],
        LINKFLAGS = ['-pthread','-lintl'],
        options = opts)
    check_headers = ['GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_net.h', 'SDL/SDL_rotozoom.h','vorbis/vorbisfile.h' ]
    CC = 'cc'
    CXX = 'gcc'
    CXXFLAGS = '-Wall -O2'

And of course you need sdl_gfx, sdl_image, sdl_net,.. installed.

p.s. sorry for my English
Reply


Messages In This Thread
FreeBSD sconscript file - by nomoo - 01-06-2008, 04:34 PM
[No subject] - by nomoo - 01-08-2008, 06:22 PM
[No subject] - by thelusiv - 01-21-2008, 06:31 PM
[No subject] - by nomoo - 01-22-2008, 08:58 AM
[No subject] - by thelusiv - 01-22-2008, 12:21 PM
[No subject] - by nomoo - 01-22-2008, 04:24 PM
[No subject] - by thelusiv - 01-22-2008, 04:53 PM
[No subject] - by nomoo - 01-23-2008, 02:45 PM
[No subject] - by thelusiv - 01-23-2008, 05:40 PM
[No subject] - by thelusiv - 01-24-2008, 12:38 PM
[No subject] - by nomoo - 01-24-2008, 01:10 PM
[No subject] - by thelusiv - 01-26-2008, 05:25 PM
[No subject] - by nomoo - 02-03-2008, 06:17 PM
[No subject] - by thelusiv - 02-03-2008, 06:20 PM
[No subject] - by nomoo - 02-09-2008, 06:55 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-09-2008, 04:01 PM
[No subject] - by nomoo - 02-11-2008, 03:35 PM
[No subject] - by nomoo - 02-11-2008, 03:50 PM
[No subject] - by thelusiv - 02-13-2008, 05:44 PM
[No subject] - by nomoo - 02-28-2008, 05:54 PM
[No subject] - by thelusiv - 02-28-2008, 06:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)