From 9858784eb6369dc189836f8971791af5238145ea Mon Sep 17 00:00:00 2001 From: Arnavion Date: Wed, 11 Feb 2015 10:01:29 -0800 Subject: Better project files. - Output directly to rel\ instead of to bin\ and then copying files over. - Deduped Win32 vs x64 configs - Moved some common properties to hexchat.props - All build intermediates (except htm's intermediates) are no longer emitted in the source directory --- src/common/common.vcxproj | 80 ++++++++++------------------------------------- 1 file changed, 16 insertions(+), 64 deletions(-) (limited to 'src/common/common.vcxproj') diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj index b52b06c7..28a4da11 100644 --- a/src/common/common.vcxproj +++ b/src/common/common.vcxproj @@ -2,6 +2,7 @@ v120 + StaticLibrary @@ -23,7 +24,7 @@ - + @@ -36,8 +37,8 @@ - - + + @@ -56,7 +57,7 @@ - + @@ -76,7 +77,7 @@ - + {87554B59-006C-4D94-9714-897B27067BA3} @@ -84,83 +85,34 @@ common - - StaticLibrary - false - true - MultiByte - - - StaticLibrary - false - true - MultiByte - - - - - - - - - - - - - - $(HexChatBin) - $(HexChatObj)$(ProjectName)\ - - - $(HexChatBin) - $(HexChatObj)$(ProjectName)\ + + + + $(HexChatLib) - - - true - true WIN32;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions) - $(SolutionDir)..;$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) - true + $(HexChatLib);$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) - - Windows - true - true - true - - - - true - true WIN32;_WIN64;_AMD64_;NDEBUG;_LIB;$(OwnFlags);%(PreprocessorDefinitions) - $(SolutionDir)..;$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) - true + $(HexChatLib);$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories) 4267;%(DisableSpecificWarnings) - - Windows - true - true - true - - - "$(ProjectDir)marshal.h" -"$(DepsRoot)\bin\glib-genmarshal.exe" --prefix=_hexchat_marshal --body "$(ProjectDir)marshalers.list" > "$(ProjectDir)marshal.c" +"$(HexChatLib)make-te.exe" < "$(ProjectDir)textevents.in" > "$(HexChatLib)textevents.h" 2> "$(HexChatLib)textenums.h" +powershell -File "$(SolutionDir)..\win32\version-template.ps1" "$(SolutionDir)..\win32\config.h.tt" "$(HexChatLib)config.h" +"$(DepsRoot)\bin\glib-genmarshal.exe" --prefix=_hexchat_marshal --header "$(ProjectDir)marshalers.list" > "$(HexChatLib)marshal.h" +"$(DepsRoot)\bin\glib-genmarshal.exe" --prefix=_hexchat_marshal --body "$(ProjectDir)marshalers.list" > "$(HexChatLib)marshal.c" ]]> -- cgit 1.4.1