summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/win32/process-in-win32.py13
-rw-r--r--build/win32/vs10/gtk-gen-srcs.props2
-rw-r--r--build/win32/vs10/gtk.vcxproj.filtersin5
-rw-r--r--build/win32/vs10/gtk.vcxprojin3
-rw-r--r--build/win32/vs9/gtk-gen-srcs.vsprops2
-rw-r--r--build/win32/vs9/gtk.vcprojin9
6 files changed, 20 insertions, 14 deletions
diff --git a/build/win32/process-in-win32.py b/build/win32/process-in-win32.py
index 00c4c01938..ca5c80ad48 100644
--- a/build/win32/process-in-win32.py
+++ b/build/win32/process-in-win32.py
@@ -69,7 +69,7 @@ def main(argv):
parser.add_argument('--gtk3manifest', dest='gtk3manifest', action='store_const',
const=1,
- help='Generate libgtk3.manifest (Not used now)')
+ help='Generate libgtk3.manifest')
args = parser.parse_args()
no_args = True
@@ -85,12 +85,11 @@ def main(argv):
no_args = False
if args.gtk3manifest is not None:
- print('Not Used... Will add once gtk/libgtk3.manifest.in is added')
- #manifest = {}
- #manifest['EXE_MANIFEST_ARCHITECTURE'] = '*'
- #process_in(os.path.join(srcroot, 'gtk', 'libgtk3.manifest.in',
- # os.path.join(srcroot, 'gtk', 'libgtk3.manifest',
- # manifest)
+ manifest = {}
+ manifest['EXE_MANIFEST_ARCHITECTURE'] = '*'
+ process_in(os.path.join(srcroot, 'gtk', 'libgtk3.manifest.in'),
+ os.path.join(srcroot, 'gtk', 'libgtk3.manifest'),
+ manifest)
no_args = False
if no_args is True:
diff --git a/build/win32/vs10/gtk-gen-srcs.props b/build/win32/vs10/gtk-gen-srcs.props
index c86b6b00c7..d1f24f31e0 100644
--- a/build/win32/vs10/gtk-gen-srcs.props
+++ b/build/win32/vs10/gtk-gen-srcs.props
@@ -64,7 +64,7 @@ $(PythonPath)\python $(GlibEtcInstallRoot)\bin\gdbus-codegen --interface-prefix
cd $(SolutionDir)
</GenerateGtkDbusBuiltSources>
- <GenerateGtkWin32RC>$(PythonPath)\python ..\process-in-win32.py --gtkwin32rc</GenerateGtkWin32RC>
+ <GenerateGtkWin32RC>$(PythonPath)\python ..\process-in-win32.py --gtkwin32rc --gtk3manifest</GenerateGtkWin32RC>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>gtkgensrcsprops</_PropertySheetDisplayName>
diff --git a/build/win32/vs10/gtk.vcxproj.filtersin b/build/win32/vs10/gtk.vcxproj.filtersin
index da9351127e..654f4dd124 100644
--- a/build/win32/vs10/gtk.vcxproj.filtersin
+++ b/build/win32/vs10/gtk.vcxproj.filtersin
@@ -39,4 +39,7 @@
<ClCompile Include="..\..\..\modules\input\imviqr.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\modules\input\thai-charprop.c"><Filter>Source Files</Filter></ClCompile>
</ItemGroup>
-</Project> \ No newline at end of file
+ <ItemGroup>
+ <Manifest Include="..\..\..\gtk\libgtk3.manifest"><Filter>Resource Files</Filter></Manifest>
+ </ItemGroup>
+</Project>
diff --git a/build/win32/vs10/gtk.vcxprojin b/build/win32/vs10/gtk.vcxprojin
index 80af761ff3..dd4213b4d7 100644
--- a/build/win32/vs10/gtk.vcxprojin
+++ b/build/win32/vs10/gtk.vcxprojin
@@ -219,6 +219,9 @@
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <Manifest Include="..\..\..\gtk\libgtk3.manifest" />
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/build/win32/vs9/gtk-gen-srcs.vsprops b/build/win32/vs9/gtk-gen-srcs.vsprops
index 24ac945f79..f1833daa84 100644
--- a/build/win32/vs9/gtk-gen-srcs.vsprops
+++ b/build/win32/vs9/gtk-gen-srcs.vsprops
@@ -64,6 +64,6 @@ cd $(SolutionDir)&#x0D;&#x0A;
/>
<UserMacro
Name="GenerateGtkWin32RC"
- Value="$(PythonPath)\python ..\process-in-win32.py --gtkwin32rc"
+ Value="$(PythonPath)\python ..\process-in-win32.py --gtkwin32rc --gtk3manifest"
/>
</VisualStudioPropertySheet>
diff --git a/build/win32/vs9/gtk.vcprojin b/build/win32/vs9/gtk.vcprojin
index 3dc5477c88..5e574a22e5 100644
--- a/build/win32/vs9/gtk.vcprojin
+++ b/build/win32/vs9/gtk.vcprojin
@@ -197,32 +197,33 @@
<Tool Name="VCCustomBuildTool"
Description="Generating GTK+ Win32 Version Resource..."
CommandLine="$(GenerateGtkWin32RC)"
- Outputs="..\..\..\gtk\gtk-win32.rc"
+ Outputs="..\..\..\gtk\gtk-win32.rc;..\..\..\gtk\libgtk3.manifest"
/>
</FileConfiguration>
<FileConfiguration Name="Release|Win32">
<Tool Name="VCCustomBuildTool"
Description="Generating GTK+ Win32 Version Resource..."
CommandLine="$(GenerateGtkWin32RC)"
- Outputs="..\..\..\gtk\gtk-win32.rc"
+ Outputs="..\..\..\gtk\gtk-win32.rc;..\..\..\gtk\libgtk3.manifest"
/>
</FileConfiguration>
<FileConfiguration Name="Debug|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating GTK+ Win32 Version Resource..."
CommandLine="$(GenerateGtkWin32RC)"
- Outputs="..\..\..\gtk\gtk-win32.rc"
+ Outputs="..\..\..\gtk\gtk-win32.rc;..\..\..\gtk\libgtk3.manifest"
/>
</FileConfiguration>
<FileConfiguration Name="Release|x64">
<Tool Name="VCCustomBuildTool"
Description="Generating GTK+ Win32 Version Resource..."
CommandLine="$(GenerateGtkWin32RC)"
- Outputs="..\..\..\gtk\gtk-win32.rc"
+ Outputs="..\..\..\gtk\gtk-win32.rc;..\..\..\gtk\libgtk3.manifest"
/>
</FileConfiguration>
</File>
<File RelativePath="..\..\..\gtk\gtk-win32.rc" />
+ <File RelativePath="..\..\..\gtk\libgtk3.manifest"/>
</Filter>
<Filter
Name="Source Files"