Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Don't needlessly copy localcharset.c, but compile it where it is in
Browse files Browse the repository at this point in the history
2008-08-27  Tor Lillqvist  <tml@novell.com>

	* win32/vs8/glib.vcproj: Don't needlessly copy localcharset.c, but
	compile it where it is in libcharset. Add "win32" directory level
	to the references to the dependencies folder (which each actual
	user of the project file probably needs to edit anyway depending
	on their directory structure). Drop the nonexistent gi18n.c
	file. Drop dirent as gdir.c includes dirent.h and wdirent.c
	directly.


svn path=/trunk/; revision=7401
  • Loading branch information
Tor Lillqvist authored and Tor Lillqvist committed Aug 27, 2008
1 parent 337b021 commit 3be2b93
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
10 changes: 10 additions & 0 deletions build/ChangeLog
@@ -1,3 +1,13 @@
2008-08-27 Tor Lillqvist <tml@novell.com>

* win32/vs8/glib.vcproj: Don't needlessly copy localcharset.c, but
compile it where it is in libcharset. Add "win32" directory level
to the references to the dependencies folder (which each actual
user of the project file probably needs to edit anyway depending
on their directory structure). Drop the nonexistent gi18n.c
file. Drop dirent as gdir.c includes dirent.h and wdirent.c
directly.

2008-08-02 Tor Lillqvist <tml@novell.com>

Bug 545954 - 64-bit issue in dirent
Expand Down
30 changes: 11 additions & 19 deletions build/win32/vs8/glib.vcproj
Expand Up @@ -24,7 +24,7 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="if exist ..\..\..\config.h goto GLIB_CONFIG&#x0D;&#x0A;copy ..\..\..\config.h.win32 ..\..\..\config.h&#x0D;&#x0A;:GLIB_CONFIG&#x0D;&#x0A;if exist ..\..\..\glibconfig.h goto CHARSET&#x0D;&#x0A;copy ..\..\..\glibconfig.h.win32 ..\..\..\glibconfig.h&#x0D;&#x0A;:CHARSET&#x0D;&#x0A;if exist ..\..\..\glib\localcharset.c goto END&#x0D;&#x0A;copy ..\..\..\glib\libcharset\localcharset.c ..\..\..\glib\localcharset.c&#x0D;&#x0A;:END&#x0D;&#x0A;"
CommandLine="if exist ..\..\..\config.h goto DONE_CONFIG_H&#x0D;&#x0A;copy ..\..\..\config.h.win32 ..\..\..\config.h&#x0D;&#x0A;:DONE_CONFIG_H&#x0D;&#x0A;if exist ..\..\..\glibconfig.h goto DONE_GLIBCONFIG_H&#x0D;&#x0A;copy ..\..\..\glibconfig.h.win32 ..\..\..\glibconfig.h&#x0D;&#x0A;:DONE_GLIBCONFIG_H&#x0D;&#x0A;"
/>
<Tool
Name="VCCustomBuildTool"
Expand All @@ -41,7 +41,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../../..;../dirent;../../../glib;&quot;../../../../dependencies/proxy-libintl-20080418/include&quot;"
AdditionalIncludeDirectories="../../..;../dirent;../../../glib;&quot;../../../../dependencies/win32/proxy-libintl-20080418/include&quot;"
PreprocessorDefinitions="_DEBUG;_WINDOWS;_USRDLL;WIN32;HAVE_CONFIG_H;GLIB_COMPILATION;GLIB_EXPORTS;G_LOG_DOMAIN=\&quot;Glib\&quot;;G_ENABLE_DEBUG;LINK_SIZE=2;MAX_NAME_SIZE=32;MAX_NAME_COUNT=10000;NEWLINE=-1;POSIX_MALLOC_THRESHOLD=10;MATCH_LIMIT=10000000;MATCH_LIMIT_RECURSION=10000000"
MinimalRebuild="true"
BasicRuntimeChecks="3"
Expand All @@ -67,7 +67,7 @@
AdditionalDependencies="intl.lib Ws2_32.lib"
OutputFile="$(OutDir)\lib$(ProjectName)-2.0-0-vs8.dll"
LinkIncremental="2"
AdditionalLibraryDirectories="&quot;../../../../dependencies/proxy-libintl-20080418/lib&quot;"
AdditionalLibraryDirectories="&quot;../../../../dependencies/win32/proxy-libintl-20080418/lib&quot;"
ModuleDefinitionFile="../../../glib/glib.def"
GenerateDebugInformation="true"
SubSystem="2"
Expand Down Expand Up @@ -260,10 +260,6 @@
RelativePath="..\..\..\glib\ghook.c"
>
</File>
<File
RelativePath="..\..\..\glib\gi18n.c"
>
</File>
<File
RelativePath="..\..\..\glib\giochannel.c"
>
Expand Down Expand Up @@ -434,18 +430,14 @@
<File
RelativePath="..\..\..\glib\libcharset\localcharset.c"
>
</File>
</Filter>
<Filter
Name="dirent"
>
<File
RelativePath="..\dirent\dirent.c"
>
</File>
<File
RelativePath="..\dirent\wdirent.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="LIBDIR=&quot;/irrelevant/lib&quot;"
/>
</FileConfiguration>
</File>
</Filter>
<Filter
Expand Down

0 comments on commit 3be2b93

Please sign in to comment.