1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Remove VS2015 and CLion exporters

This commit is contained in:
attila 2022-05-20 12:25:31 +02:00
parent 92dda5a2d9
commit 2fdc4f6633
49 changed files with 207 additions and 28003 deletions

View file

@ -303,16 +303,6 @@ static bool isGlobalPathValid (const File& relativeTo, const Identifier& key, co
{
fileToCheckFor = {};
}
else if (key == Ids::clionExePath)
{
#if JUCE_MAC
fileToCheckFor = path.trim().endsWith (".app") ? "Contents/MacOS/clion" : "../clion";
#elif JUCE_WINDOWS
fileToCheckFor = "../clion64.exe";
#else
fileToCheckFor = "../clion.sh";
#endif
}
else if (key == Ids::androidStudioExePath)
{
#if JUCE_MAC
@ -393,29 +383,6 @@ static String getFallbackPathForOS (const Identifier& key, DependencyPathOS os)
jassertfalse;
return {};
}
else if (key == Ids::clionExePath)
{
if (os == TargetOS::windows)
{
#if JUCE_WINDOWS
auto regValue = WindowsRegistry::getValue ("HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\Applications\\clion64.exe\\shell\\open\\command\\", {}, {});
auto openCmd = StringArray::fromTokens (regValue, true);
if (! openCmd.isEmpty())
return openCmd[0].unquoted();
#endif
return "C:\\Program Files\\JetBrains\\CLion YYYY.MM.DD\\bin\\clion64.exe";
}
else if (os == TargetOS::osx)
{
return "/Applications/CLion.app";
}
else
{
return "${user.home}/clion/bin/clion.sh";
}
}
else if (key == Ids::androidStudioExePath)
{
if (os == TargetOS::windows)