def instance(cls, params): installer = Eigen3() if Parameter.DEST_DIR in params: installer.arg_dest = params[Parameter.DEST_DIR] else: raise ParameterError(Parameter.DEST_DIR + ' parameter is missing!') return installer
def instance(cls, params): installer = MneCpp() if Parameter.DEST_DIR in params: installer.arg_dest = params[Parameter.DEST_DIR] else: raise ParameterError(Parameter.DEST_DIR + ' parameter is missing!') if installer.PARAM_QMAKE5 in params: installer.arg_qmake5 = params[installer.PARAM_QMAKE5] return installer
def instance(cls, params): installer = Pcl() if Parameter.DEST_DIR in params: installer.arg_dest = params[Parameter.DEST_DIR] else: raise ParameterError(Parameter.DEST_DIR + ' parameter is missing!') if Parameter.VERSION in params: installer.arg_version = params[Parameter.VERSION] return installer