mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
Add Visual C++ 2008 projects for GResource tools
Add projects to build the glib-compile-resources and gresource(-tool) utilities, and "install" these tools upon successful compilation, and dist the new projects. One piece of note: will it be better to dist gconstructor_as_data.h instead of generating it in the VS build process (I generated it in the property sheet update in this commit)? Visual C++ 2010 projects will follow shortly.
This commit is contained in:
@@ -31,6 +31,10 @@ copy ..\..\..\glib\glibconfig.h.win32 ..\..\..\glib\glibconfig.h

|
||||
if exist ..\..\..\gmodule\gmoduleconf.h goto DONE_GMODULECONF_H

|
||||
copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h

|
||||
:DONE_GMODULECONF_H

|
||||
|
||||
if exist ..\..\..\gio\gconstructor_as_data.h goto DONE_GCONSTRUCTOR_AS_DATA_H

|
||||
perl ..\..\..\gio\data-to-c.pl ..\..\..\glib\gconstructor.h gconstructor_code > ..\..\..\gio\gconstructor_as_data.h

|
||||
:DONE_GCONSTRUCTOR_AS_DATA_H

|
||||
"
|
||||
/>
|
||||
<UserMacro
|
||||
@@ -47,6 +51,8 @@ copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-genmarshal.exe
|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gspawn-win32-helper*.exe $(OutDir)\bin

|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-compile-schemas.exe $(OutDir)\bin

|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gsettings.exe $(OutDir)\bin

|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-compile-resources.exe $(OutDir)\bin

|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gresource.exe $(OutDir)\bin

|
||||
|
||||
mkdir $(OutDir)\include\glib-$(ApiVersion)\glib

|
||||
copy ..\..\..\msvc_recommended_pragmas.h $(OutDir)\include\glib-$(ApiVersion)

|
||||
|
Reference in New Issue
Block a user