-
-
Notifications
You must be signed in to change notification settings - Fork 451
Expand file tree
/
Copy pathNativeLibrary.cs
More file actions
33 lines (25 loc) · 823 Bytes
/
Copy pathNativeLibrary.cs
File metadata and controls
33 lines (25 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
namespace ImageMagick;
internal static class NativeLibrary
{
public const string Name = "Magick.Native";
public const string QuantumName = Quantum + OpenMP;
public const string X86Name = Name + "-" + QuantumName + "-x86.dll";
public const string X64Name = Name + "-" + QuantumName + "-x64.dll";
public const string Arm64Name = Name + "-" + QuantumName + "-arm64.dll";
#if Q8
private const string Quantum = "Q8";
#elif Q16
private const string Quantum = "Q16";
#elif Q16HDRI
private const string Quantum = "Q16-HDRI";
#else
#error Not implemented!
#endif
#if OPENMP
private const string OpenMP = "-OpenMP";
#else
private const string OpenMP = "";
#endif
}