Visual C++ 2008 Builds: Fix Installation of Binaries
The *.dll, *.exe and *.lib files weren't being copied in the *_SDL configs as the project looked for them in the wrong place. Correct that problem.
This commit is contained in:
parent
206ea0de6b
commit
0b96d15315
@ -5,23 +5,43 @@
|
||||
Name="coglinstallprops"
|
||||
InheritedPropertySheets=".\cogl-build-defines.vsprops"
|
||||
>
|
||||
<UserMacro
|
||||
Name="CoglDoInstallBin"
|
||||
Value="
|
||||
mkdir $(CopyDir)\bin

|
||||
mkdir $(CopyDir)\lib

|
||||
|
||||
if "$(ConfigurationName)" == "Release_SDL" goto DO_REL_BIN

|
||||
if "$(ConfigurationName)" == "Debug_SDL" goto DO_DBG_BIN

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

|
||||
copy $(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib

|
||||
copy $(ConfigurationName)\$(PlatformName)\bin\*.exe $(CopyDir)\bin

|
||||
goto DONE_BIN

|
||||
|
||||
:DO_REL_BIN

|
||||
copy Release\$(PlatformName)\bin\*.dll $(CopyDir)\bin

|
||||
copy Release\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib

|
||||
copy Release\$(PlatformName)\bin\*.exe $(CopyDir)\bin

|
||||
goto DONE_BIN

|
||||
|
||||
:DO_DBG_BIN

|
||||
copy Debug\$(PlatformName)\bin\*.dll $(CopyDir)\bin

|
||||
copy Debug\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib

|
||||
copy Debug\$(PlatformName)\bin\*.exe $(CopyDir)\bin

|
||||
goto DONE_BIN

|
||||
|
||||
:DONE_BIN

|
||||
"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="CoglDoInstall"
|
||||
Value="
|
||||
mkdir $(CopyDir)

|
||||
mkdir $(CopyDir)\bin

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

|
||||
|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*.exe $(CopyDir)\bin

|
||||
|
||||
copy ..\*.bat $(CopyDir)\bin

|
||||
$(CoglDoInstallBin)

|
||||
|
||||
mkdir $(CopyDir)\share\cogl-$(ApiVersion)\examples-data

|
||||
copy ..\..\..\examples\crate.jpg $(CopyDir)\share\cogl-$(ApiVersion)\examples-data

|
||||
|
||||
mkdir $(CopyDir)\lib

|
||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib

|
||||
|
||||
mkdir $(CopyDir)\include\cogl-$(ApiVersion)\cogl\deprecated

|
||||
copy ..\..\..\cogl\cogl-object.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
||||
copy ..\..\..\cogl\cogl-atlas-texture.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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