#! /usr/bin/env python
# This is an automatically generated variants file, for creating all your experimental variants.
# In contrast to most automatically generated files, feel free to edit this one; that what it's for.
# The script creating this file will only be created it if it doesn't exists yet, so your file will
# not be overwritten.
from waflib.Configure import conf
import sferes

def build(bld):
    uselib_ = 'TBB BOOST EIGEN'
    cxxflags_kdtree = bld.get_env()['CXXFLAGS', '-I.', '-DLIBSSRCKDTREE_HAVE_BOOST']

    # Basic version of the maze problem, for quickly testing that everything compiles correctly.
    if(True):
        sferes.create_variants(bld,
        source = 'cmoea_example.cpp',
        use = 'sferes2',
        uselib = uselib_,
        target = 'maze',
        cxxflags = cxxflags_kdtree,
        variants = ['RLS CMOEA'])
