Change target location for Mods.Cnc to mods/common

This commit is contained in:
reaperrr
2017-02-12 18:02:15 +01:00
parent a3aab6f051
commit 686b21c044
7 changed files with 10 additions and 14 deletions

View File

@@ -148,7 +148,7 @@ STD_MOD_DEPS = $(STD_MOD_LIBS)
# Command and Conquer
mod_cnc_SRCS := $(shell find OpenRA.Mods.Cnc/ -iname '*.cs')
mod_cnc_TARGET = mods/cnc/OpenRA.Mods.Cnc.dll
mod_cnc_TARGET = mods/common/OpenRA.Mods.Cnc.dll
mod_cnc_KIND = library
mod_cnc_DEPS = $(STD_MOD_DEPS) $(mod_common_TARGET)
mod_cnc_LIBS = $(COMMON_LIBS) $(STD_MOD_LIBS) $(mod_common_TARGET)

View File

@@ -165,21 +165,21 @@
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="AfterBuild">
<MakeDir Directories="$(SolutionDir)mods/cnc/"/>
<MakeDir Directories="$(SolutionDir)mods/common/"/>
<Copy
SourceFiles="$(TargetPath)"
DestinationFolder="$(SolutionDir)mods/cnc/"/>
DestinationFolder="$(SolutionDir)mods/common/"/>
<!--
We need to copy OpenRA.Mods.Cnc.pdb (not `.dll.pdb`). This is only necessary on Windows.
Mono outputs a `.dll.mdb` so we can just append `.mdb` directly.
-->
<Copy
SourceFiles="$(TargetDir)$(TargetName).pdb"
DestinationFolder="$(SolutionDir)mods/cnc/"
DestinationFolder="$(SolutionDir)mods/common/"
Condition="'$(OS)' == 'Windows_NT'"/>
<Copy
SourceFiles="$(TargetPath).mdb"
DestinationFolder="$(SolutionDir)mods/cnc/"
DestinationFolder="$(SolutionDir)mods/common/"
Condition="'$(OS)' == 'Unix'"/>
<!-- Uncomment these lines when debugging or adding to this target
<Message Text="DEBUG OS: $(OS)"/>

View File

@@ -16,8 +16,8 @@ Chrome:
Assemblies:
./mods/common/OpenRA.Mods.Common.dll
./mods/common/OpenRA.Mods.Cnc.dll
./mods/d2k/OpenRA.Mods.D2k.dll
./mods/cnc/OpenRA.Mods.Cnc.dll
ChromeLayout:

View File

@@ -88,7 +88,7 @@ Chrome:
Assemblies:
common|OpenRA.Mods.Common.dll
cnc|OpenRA.Mods.Cnc.dll
common|OpenRA.Mods.Cnc.dll
ChromeLayout:
cnc|chrome/mainmenu.yaml

View File

@@ -14,7 +14,6 @@ Packages:
~^Content/d2k/v2/Music
.
$d2k: d2k
$cnc: cnc
./mods/common: common
~SOUND.RS
@@ -63,7 +62,7 @@ Chrome:
Assemblies:
common|OpenRA.Mods.Common.dll
cnc|OpenRA.Mods.Cnc.dll
common|OpenRA.Mods.Cnc.dll
d2k|OpenRA.Mods.D2k.dll
ChromeLayout:

View File

@@ -14,7 +14,6 @@ Packages:
~^Content/ra/v2/movies
.
$ra: ra
$cnc: cnc
./mods/common: common
~main.mix
~conquer.mix
@@ -80,7 +79,7 @@ Chrome:
Assemblies:
common|OpenRA.Mods.Common.dll
cnc|OpenRA.Mods.Cnc.dll
common|OpenRA.Mods.Cnc.dll
ChromeLayout:
common|chrome/ingame.yaml

View File

@@ -13,8 +13,6 @@ Packages:
.
$ts: ts
./mods/common: common
$ra: ra
$cnc: cnc
# Tiberian Sun
~scores.mix
@@ -126,7 +124,7 @@ Chrome:
Assemblies:
common|OpenRA.Mods.Common.dll
cnc|OpenRA.Mods.Cnc.dll
common|OpenRA.Mods.Cnc.dll
ChromeLayout:
common|chrome/ingame.yaml