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 ++++++++------------------------------- src/common/common.vcxproj.filters | 10 ++--- src/common/make-te.vcxproj | 63 +++--------------------------- 3 files changed, 27 insertions(+), 126 deletions(-) (limited to 'src/common') 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" ]]> diff --git a/src/common/common.vcxproj.filters b/src/common/common.vcxproj.filters index e80d9a63..79e64cb4 100644 --- a/src/common/common.vcxproj.filters +++ b/src/common/common.vcxproj.filters @@ -71,10 +71,10 @@ Header Files - + Header Files - + Header Files @@ -98,13 +98,13 @@ Header Files - + Header Files Header Files - + Header Files @@ -181,7 +181,7 @@ Source Files - + Source Files diff --git a/src/common/make-te.vcxproj b/src/common/make-te.vcxproj index e9b4c533..24d8f9b6 100644 --- a/src/common/make-te.vcxproj +++ b/src/common/make-te.vcxproj @@ -2,6 +2,7 @@ v120 + Application @@ -19,82 +20,30 @@ makete - - Application - false - true - MultiByte - - - Application - false - true - MultiByte - - - - - - - - - - - - - - false - $(HexChatBin) - $(HexChatObj)$(ProjectName)\ - - - false - $(HexChatBin) - $(HexChatObj)$(ProjectName)\ + + + + $(HexChatLib) - - - true - true WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - true Console - true - true - true - - "$(HexChatBin)make-te.exe" < "$(ProjectDir)textevents.in" > "$(ProjectDir)textevents.h" 2> "$(ProjectDir)textenums.h" - - - - true - true WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - true Console - true - true - true - - "$(HexChatBin)make-te.exe" < "$(ProjectDir)textevents.in" > "$(ProjectDir)textevents.h" 2> "$(ProjectDir)textenums.h" - - - - \ No newline at end of file + -- cgit 1.4.1