/// <summary> /// Adds a define to the config. /// </summary> /// <param name="define">the define to add</param> /// <param name="config">the config (can be RELEASE, DEBUG or BOTH)</param> public void AddDefine(string define, string config) { if (qtPro == null) { throw new QtVSException(commonError); } qtPro.AddDefine(define, GetBuildConfigFromName(config)); }