| @@ -542,7 +542,7 @@ public: | |||||
| cl->createNewChildElement ("AdditionalIncludeDirectories")->addTextElement (includePaths.joinIntoString (";")); | cl->createNewChildElement ("AdditionalIncludeDirectories")->addTextElement (includePaths.joinIntoString (";")); | ||||
| cl->createNewChildElement ("PreprocessorDefinitions")->addTextElement (getPreprocessorDefs (config, ";") + ";%(PreprocessorDefinitions)"); | cl->createNewChildElement ("PreprocessorDefinitions")->addTextElement (getPreprocessorDefs (config, ";") + ";%(PreprocessorDefinitions)"); | ||||
| const bool runtimeDLL = shouldUseRuntimeDLL (config); | |||||
| const bool runtimeDLL = config.isUsingRuntimeLibDLL(); | |||||
| cl->createNewChildElement ("RuntimeLibrary")->addTextElement (runtimeDLL ? (isDebug ? "MultiThreadedDebugDLL" : "MultiThreadedDLL") | cl->createNewChildElement ("RuntimeLibrary")->addTextElement (runtimeDLL ? (isDebug ? "MultiThreadedDebugDLL" : "MultiThreadedDLL") | ||||
| : (isDebug ? "MultiThreadedDebug" : "MultiThreaded")); | : (isDebug ? "MultiThreadedDebug" : "MultiThreaded")); | ||||
| cl->createNewChildElement ("RuntimeTypeInfo")->addTextElement ("true"); | cl->createNewChildElement ("RuntimeTypeInfo")->addTextElement ("true"); | ||||
| @@ -1264,12 +1264,6 @@ public: | |||||
| return {}; | return {}; | ||||
| } | } | ||||
| bool shouldUseRuntimeDLL (const MSVCBuildConfiguration& config) const | |||||
| { | |||||
| return (config.config [Ids::useRuntimeLibDLL].isVoid() ? (getOwner().hasTarget (AAXPlugIn) || getOwner().hasTarget (RTASPlugIn)) | |||||
| : config.isUsingRuntimeLibDLL()); | |||||
| } | |||||
| File getVCProjFile() const { return getOwner().getProjectFile (getProjectFileSuffix(), getName()); } | File getVCProjFile() const { return getOwner().getProjectFile (getProjectFileSuffix(), getName()); } | ||||
| File getVCProjFiltersFile() const { return getOwner().getProjectFile (getFiltersFileSuffix(), getName()); } | File getVCProjFiltersFile() const { return getOwner().getProjectFile (getFiltersFileSuffix(), getName()); } | ||||