#!/usr/bin/env python


def options(opt):
	pass


def configure(conf):
	conf.check_cfg(package='libglfw', uselib_store='GLFW', args='--cflags --libs', mandatory=1)


def build(bld):
	bld(
		features = ['cxx', 'cprogram'],
		target = "ply_viewer",
		includes = '../external .. .',
		use = 'ply_mesh glQuickText',
		uselib = 'GLFW GLEW OPENGL',
		source = bld.path.ant_glob('*.cpp')
	)

