Misc. unmanaged cores: output to /Assets and also /output if it exists
Makefiles still produce .dll instead of .dll.so on Linux see #2725
This commit is contained in:
parent
443c9830bb
commit
ceedf1fef5
|
@ -18,8 +18,8 @@ LDFLAGS_32 = -static -static-libgcc -static-libstdc++
|
|||
LDFLAGS_64 =
|
||||
LDFLAGS = -shared $(LDFLAGS_$(ARCH)) $(CXXFLAGS)
|
||||
|
||||
DEST_32 = ../../output/dll
|
||||
DEST_64 = ../../output/dll
|
||||
DEST_64 = ../../Assets/dll
|
||||
DESTCOPY_64 = ../../output/dll
|
||||
|
||||
SRCS = \
|
||||
../c65c02.cpp \
|
||||
|
@ -51,3 +51,6 @@ clean:
|
|||
|
||||
install:
|
||||
$(CP) $(TARGET) $(DEST_$(ARCH))
|
||||
ifneq ("$(wildcard $(DESTCOPY_$(ARCH)))", "")
|
||||
$(CP) $(TARGET) $(DESTCOPY_$(ARCH))
|
||||
endif
|
||||
|
|
|
@ -39,12 +39,6 @@
|
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<OutDir>..\..\output\dll</OutDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>..\..\output\dll</OutDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
@ -115,4 +109,10 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="CopyToHawkAssets" AfterTargets="PostBuildEvent">
|
||||
<Copy SourceFiles="$(OutDir)bizlynx.dll" DestinationFolder="$(ProjectDir)../../Assets/dll" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
<Target Name="CopyToHawkOutput" AfterTargets="PostBuildEvent" Condition=" Exists('$(ProjectDir)../../output/dll') ">
|
||||
<Copy SourceFiles="$(OutDir)bizlynx.dll" DestinationFolder="$(ProjectDir)../../output/dll" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -22,8 +22,8 @@ LDFLAGS_32 = -static -static-libgcc -static-libstdc++
|
|||
LDFLAGS_64 =
|
||||
LDFLAGS = -shared $(LDFLAGS_$(ARCH)) $(CXXFLAGS)
|
||||
|
||||
DEST_32 = ../../output/dll
|
||||
DEST_64 = ../../output/dll
|
||||
DEST_64 = ../../Assets/dll
|
||||
DESTCOPY_64 = ../../output/dll
|
||||
|
||||
SRCS = \
|
||||
../nes_emu/abstract_file.cpp \
|
||||
|
@ -80,3 +80,6 @@ clean:
|
|||
|
||||
install:
|
||||
$(CP) $(TARGET) $(DEST_$(ARCH))
|
||||
ifneq ("$(wildcard $(DESTCOPY_$(ARCH)))", "")
|
||||
$(CP) $(TARGET) $(DESTCOPY_$(ARCH))
|
||||
endif
|
||||
|
|
|
@ -121,12 +121,6 @@
|
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<OutDir>..\..\output\dll\</OutDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>..\..\output\dll\</OutDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
@ -168,4 +162,10 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="CopyToHawkAssets" AfterTargets="PostBuildEvent">
|
||||
<Copy SourceFiles="$(OutDir)libquicknes.dll" DestinationFolder="$(ProjectDir)../../Assets/dll" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
<Target Name="CopyToHawkOutput" AfterTargets="PostBuildEvent" Condition=" Exists('$(ProjectDir)../../output/dll') ">
|
||||
<Copy SourceFiles="$(OutDir)libquicknes.dll" DestinationFolder="$(ProjectDir)../../output/dll" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -22,8 +22,8 @@ LDFLAGS_32 = -static -static-libgcc -static-libstdc++
|
|||
LDFLAGS_64 =
|
||||
LDFLAGS = -shared $(LDFLAGS_$(ARCH)) $(CXXFLAGS)
|
||||
|
||||
DEST_32 = ../../output/dll
|
||||
DEST_64 = ../../output/dll
|
||||
DEST_64 = ../../Assets/dll
|
||||
DESTCOPY_64 = ../../output/dll
|
||||
|
||||
SRCS = \
|
||||
../eeprom.cpp \
|
||||
|
@ -54,3 +54,6 @@ clean:
|
|||
|
||||
install:
|
||||
$(CP) $(TARGET) $(DEST_$(ARCH))
|
||||
ifneq ("$(wildcard $(DESTCOPY_$(ARCH)))", "")
|
||||
$(CP) $(TARGET) $(DESTCOPY_$(ARCH))
|
||||
endif
|
||||
|
|
|
@ -39,12 +39,6 @@
|
|||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<OutDir>..\..\output\dll\</OutDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<OutDir>..\..\output\dll\</OutDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
@ -116,4 +110,10 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="CopyToHawkAssets" AfterTargets="PostBuildEvent">
|
||||
<Copy SourceFiles="$(OutDir)bizswan.dll" DestinationFolder="$(ProjectDir)../../Assets/dll" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
<Target Name="CopyToHawkOutput" AfterTargets="PostBuildEvent" Condition=" Exists('$(ProjectDir)../../output/dll') ">
|
||||
<Copy SourceFiles="$(OutDir)bizswan.dll" DestinationFolder="$(ProjectDir)../../output/dll" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
</Project>
|
Loading…
Reference in New Issue