mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 07:53:39 +02:00
Enable libtool compatible DLL naming in the VS9 projects
This commit is contained in:
@@ -37,7 +37,7 @@ copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h
&#
|
||||
Name="GlibDoInstall"
|
||||
Value="
|
||||
mkdir $(OutDir)\bin

|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-2-vs9.dll $(OutDir)\bin

|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*.dll $(OutDir)\bin

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

|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gspawn-win32-helper*.exe $(OutDir)\bin

|
||||
|
||||
@@ -193,4 +193,30 @@ copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-2.0.lib $(OutDir)\
|
||||
Name="GlibGenerateGioDef"
|
||||
Value="echo EXPORTS >"$(IntDir)\gio.def" && cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DINCLUDE_INTERNAL_SYMBOLS -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= -DG_GNUC_PRINTF=;G_GNUC_PRINTF ..\..\..\gio\gio.symbols >>"$(IntDir)\gio.def""
|
||||
/>
|
||||
<UserMacro
|
||||
Name="GlibLibtoolCompatibleDllPrefix"
|
||||
Value="lib"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="GlibLibtoolCompatibleDllSuffix"
|
||||
Value="-2.0-0"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="GlibSeparateVS9DllPrefix"
|
||||
Value=""
|
||||
/>
|
||||
<UserMacro
|
||||
Name="GlibSeparateVS9DllSuffix"
|
||||
Value="-2-vs9"
|
||||
/>
|
||||
<!-- Change these two to GlibLibtoolCompatibleDllPrefix and
|
||||
GlibLibtoolCompatibleDllSuffix if that is what you want -->
|
||||
<UserMacro
|
||||
Name="GlibDllPrefix"
|
||||
Value="$(GlibSeparateVS9DllPrefix)"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="GlibDllSuffix"
|
||||
Value="$(GlibSeparateVS9DllSuffix)"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
||||
|
Reference in New Issue
Block a user