From 671a838b52e75216a4c8389be2ca569488fea8ac Mon Sep 17 00:00:00 2001 From: Arnavion Date: Sat, 10 Oct 2015 16:14:07 -0700 Subject: fe-gtk: Use manual registration for resources. --- src/fe-gtk/fe-gtk.vcxproj | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/fe-gtk/fe-gtk.vcxproj') diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj index 401518b4..7a3cfb70 100644 --- a/src/fe-gtk/fe-gtk.vcxproj +++ b/src/fe-gtk/fe-gtk.vcxproj @@ -29,8 +29,6 @@ - - false WIN32;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions) ..\common;$(HexChatLib);$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) 4244;%(DisableSpecificWarnings) @@ -43,8 +41,6 @@ - - false WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions) ..\common;$(HexChatLib);$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) 4244;4267;%(DisableSpecificWarnings) @@ -62,7 +58,8 @@ SET SOLUTIONDIR=$(SolutionDir)..\ powershell -File "$(SolutionDir)..\win32\version-template.ps1" "$(SolutionDir)..\src\fe-gtk\hexchat.rc.tt" "$(HexChatLib)hexchat.rc.utf8" REM hexchat.rc needs to be in UCS-2 or Resource Compiler will complain powershell "Get-Content -Encoding UTF8 '$(HexChatLib)hexchat.rc.utf8' | Out-File '$(HexChatLib)hexchat.rc'; Remove-Item '$(HexChatLib)hexchat.rc.utf8'" -"$(DepsRoot)\bin\glib-compile-resources.exe" --generate-source --sourcedir "$(DataDir)" --target "$(HexChatLib)resources.c" "$(DataDir)hexchat.gresource.xml" +"$(DepsRoot)\bin\glib-compile-resources.exe" --generate-header --manual-register --sourcedir "$(DataDir)" --target "$(HexChatLib)resources.h" "$(DataDir)hexchat.gresource.xml" +"$(DepsRoot)\bin\glib-compile-resources.exe" --generate-source --manual-register --sourcedir "$(DataDir)" --target "$(HexChatLib)resources.c" "$(DataDir)hexchat.gresource.xml" ]]> Build hexchat.rc and gresource file -- cgit 1.4.1