#!/usr/bin/python import lutin.module as module import lutin.tools as tools def get_type(): return "BINARY" def get_sub_type(): return "TEST" def get_name(): return "estyle-test" def get_desc(): return "Stylizer for C++ test" def configure(target, my_module): my_module.add_depend(['estyle', 'etest', 'test-debug']) # add extra compilation flags : my_module.add_extra_flags() # add sources files my_module.add_src_file([ 'test/main.cpp', 'test/testBlock.cpp', 'test/testClass.cpp', 'test/testComment.cpp', 'test/testDoWhile.cpp', 'test/testElse.cpp', 'test/testFor.cpp', 'test/testFunction.cpp', 'test/testIf.cpp', 'test/testNamespace.cpp', 'test/testPreprocessor.cpp', 'test/testStruct.cpp', 'test/testSwitch.cpp', 'test/testTemplate.cpp', 'test/testType.cpp', 'test/testVariable.cpp', 'test/testWhile.cpp', ]) my_module.add_path("test") my_module.copy_path('data/*','test') return my_module