|
|
@@ -42,6 +42,7 @@ public: |
|
|
|
: ProjectExporter (p, t),
|
|
|
|
IPPLibraryValue (settings, Ids::IPPLibrary, getUndoManager()),
|
|
|
|
IPP1ALibraryValue (settings, Ids::IPP1ALibrary, getUndoManager()),
|
|
|
|
MKL1ALibraryValue (settings, Ids::MKL1ALibrary, getUndoManager()),
|
|
|
|
platformToolsetValue (settings, Ids::toolset, getUndoManager()),
|
|
|
|
targetPlatformVersion (settings, Ids::windowsTargetPlatformVersion, getUndoManager()),
|
|
|
|
manifestFileValue (settings, Ids::msvcManifestFile, getUndoManager())
|
|
|
@@ -59,6 +60,7 @@ public: |
|
|
|
//==============================================================================
|
|
|
|
String getIPPLibrary() const { return IPPLibraryValue.get(); }
|
|
|
|
String getIPP1ALibrary() const { return IPP1ALibraryValue.get(); }
|
|
|
|
String getMKL1ALibrary() const { return MKL1ALibraryValue.get(); }
|
|
|
|
String getPlatformToolset() const { return platformToolsetValue.get(); }
|
|
|
|
String getWindowsTargetPlatformVersion() const { return targetPlatformVersion.get(); }
|
|
|
|
|
|
|
@@ -446,14 +448,15 @@ public: |
|
|
|
|
|
|
|
addWindowsTargetPlatformToConfig (*e);
|
|
|
|
|
|
|
|
struct IPPLibraryInfo
|
|
|
|
struct IntelLibraryInfo
|
|
|
|
{
|
|
|
|
String libraryKind;
|
|
|
|
String configString;
|
|
|
|
};
|
|
|
|
|
|
|
|
for (const auto& info : { IPPLibraryInfo { owner.getIPPLibrary(), "UseIntelIPP" },
|
|
|
|
IPPLibraryInfo { owner.getIPP1ALibrary(), "UseIntelIPP1A" }})
|
|
|
|
for (const auto& info : { IntelLibraryInfo { owner.getIPPLibrary(), "UseIntelIPP" },
|
|
|
|
IntelLibraryInfo { owner.getIPP1ALibrary(), "UseIntelIPP1A" },
|
|
|
|
IntelLibraryInfo { owner.getMKL1ALibrary(), "UseInteloneMKL" } })
|
|
|
|
{
|
|
|
|
if (info.libraryKind.isNotEmpty())
|
|
|
|
e->createNewChildElement (info.configString)->addTextElement (info.libraryKind);
|
|
|
@@ -1501,6 +1504,11 @@ public: |
|
|
|
{ var(), "true", "Static_Library", "Dynamic_Library" }),
|
|
|
|
"Enable this to use Intel's Integrated Performance Primitives library, supplied as part of the oneAPI toolkit.");
|
|
|
|
|
|
|
|
props.add (new ChoicePropertyComponent (MKL1ALibraryValue, "Use MKL Library (oneAPI)",
|
|
|
|
{ "No", "Parallel", "Sequential", "Cluster" },
|
|
|
|
{ var(), "Parallel", "Sequential", "Cluster" }),
|
|
|
|
"Enable this to use Intel's MKL library, supplied as part of the oneAPI toolkit.");
|
|
|
|
|
|
|
|
{
|
|
|
|
auto isWindows10SDK = getVisualStudioVersion() > 14;
|
|
|
|
|
|
|
@@ -1584,7 +1592,12 @@ protected: |
|
|
|
mutable File rcFile, iconFile, packagesConfigFile;
|
|
|
|
OwnedArray<MSVCTargetBase> targets;
|
|
|
|
|
|
|
|
ValueWithDefault IPPLibraryValue, IPP1ALibraryValue, platformToolsetValue, targetPlatformVersion, manifestFileValue;
|
|
|
|
ValueWithDefault IPPLibraryValue,
|
|
|
|
IPP1ALibraryValue,
|
|
|
|
MKL1ALibraryValue,
|
|
|
|
platformToolsetValue,
|
|
|
|
targetPlatformVersion,
|
|
|
|
manifestFileValue;
|
|
|
|
|
|
|
|
File getProjectFile (const String& extension, const String& target) const
|
|
|
|
{
|
|
|
|