1 diff --git a/SMP/smp.props b/SMP/smp.props
2 index e2ed214..fc70bd8 100644
6 <PropertyGroup Label="UserMacros" />
7 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
8 <TargetName>lib$(RootNamespace)d</TargetName>
9 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
10 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
11 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
12 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
13 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
16 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
17 <TargetName>lib$(RootNamespace)d</TargetName>
18 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
19 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
20 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
21 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
22 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
25 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
26 <TargetName>$(RootNamespace)d</TargetName>
27 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
28 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
29 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
30 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
31 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
34 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'">
35 <TargetName>$(RootNamespace)d</TargetName>
36 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
37 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
38 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
39 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
40 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
43 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
44 <TargetName>lib$(RootNamespace)</TargetName>
45 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
46 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
47 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
48 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
49 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
52 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
53 <TargetName>lib$(RootNamespace)</TargetName>
54 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
55 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
56 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
57 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
58 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
61 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
62 <TargetName>$(RootNamespace)</TargetName>
63 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
64 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
65 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
66 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
67 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
70 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
71 <TargetName>$(RootNamespace)</TargetName>
72 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
73 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
74 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
75 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
76 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
77 diff --git a/SMP/smp_winrt.props b/SMP/smp_winrt.props
78 index 9b453a5..cb5f090 100644
79 --- a/SMP/smp_winrt.props
80 +++ b/SMP/smp_winrt.props
82 <PropertyGroup Label="UserMacros" />
83 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugWinRT|Win32'">
84 <TargetName>lib$(RootNamespace)d_winrt</TargetName>
85 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
86 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
87 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
88 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
89 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
92 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugWinRT|x64'">
93 <TargetName>lib$(RootNamespace)d_winrt</TargetName>
94 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
95 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
96 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
97 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
98 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
101 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLLWinRT|Win32'">
102 <TargetName>$(RootNamespace)d_winrt</TargetName>
103 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
104 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
105 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
106 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
107 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
110 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLLWinRT|x64'">
111 <TargetName>$(RootNamespace)d_winrt</TargetName>
112 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
113 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
114 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
115 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
116 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
119 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWinRT|Win32'">
120 <TargetName>lib$(RootNamespace)_winrt</TargetName>
121 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
122 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
123 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
124 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
125 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
128 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWinRT|x64'">
129 <TargetName>lib$(RootNamespace)_winrt</TargetName>
130 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
131 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
132 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
133 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
134 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
137 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLLWinRT|Win32'">
138 <TargetName>$(RootNamespace)_winrt</TargetName>
139 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
140 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
141 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
142 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
143 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
146 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLLWinRT|x64'">
147 <TargetName>$(RootNamespace)_winrt</TargetName>
148 - <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
149 + <OutDir>$(ProjectDir)..\msvc\</OutDir>
150 <IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
151 <GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
152 <CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
153 diff --git a/gmp.pc.in b/gmp.pc.in
154 index bf1c799..d0c81be 100644
157 @@ -8,4 +8,4 @@ Description: GNU Multiple Precision Arithmetic Library
158 URL: https://gmplib.org
159 Version: @PACKAGE_VERSION@
160 Cflags: -I${includedir}
161 -Libs: -L${libdir} -lgmp
162 +Libs: -L${libdir} @LIBS@
163 diff --git a/gmpxx.pc.in b/gmpxx.pc.in
164 index 181cc70..2b697ce 100644
167 @@ -9,4 +9,4 @@ URL: https://gmplib.org
168 Version: @PACKAGE_VERSION@
170 Cflags: -I${includedir}
171 -Libs: -L${libdir} -lgmpxx
172 +Libs: -L${libdir} @LIBS@