Sat, 03 Aug 2019 11:02:55 +0200
make targets without name and prefix possible
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package de.unixwork.uwproj; import java.util.List; import java.util.LinkedList; /** * * @author olaf */ public class OptionValue { Option option; String value; TargetData targetData = new TargetData(); public OptionValue(Option opt) { option = opt; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public List<String> getDependencies() { return targetData.getDependencies(); } public List<Define> getDefines() { return targetData.getDefines(); } public void setTargetData(TargetData data) { targetData = data; } public String getFunc() { return option.getValueFunc(value); } public String getMake() { return targetData.getMake(); } public boolean hasMake() { return targetData.getMake().trim().length() > 0; } }