dolphin/Source/Core/DiscIO/CMakeLists.txt
JosJuice 3a6df63e9b DiscIO: Add support for the NFS format
For a few years now, I've been thinking it would be nice to make Dolphin
support reading Wii games in the format they come in when you download
them from the Wii U eShop. The Wii U eShop has some good deals on Wii
games (Metroid Prime Trilogy especially is rather expensive if you try
to buy it physically!), and it's the only place right now where you can
buy Wii games digitally.

Of course, Nintendo being Nintendo, next year they're going to shut down
this only place where you can buy Wii games digitally. I kind of wish I
had implemented this feature earlier so that people would've had ample
time to buy the games they want, but... better late than never, right?

I used MIT-licensed code from the NOD library as a reference when
implementing this. None of the code has been directly copied, but
you may notice that the names of the struct members are very similar.
c1635245b8/lib/DiscIONFS.cpp
2022-08-04 22:00:58 +02:00

87 lines
1.4 KiB
CMake

add_library(discio
Blob.cpp
Blob.h
CISOBlob.cpp
CISOBlob.h
CompressedBlob.cpp
CompressedBlob.h
DirectoryBlob.cpp
DirectoryBlob.h
DiscExtractor.cpp
DiscExtractor.h
DiscScrubber.cpp
DiscScrubber.h
DiscUtils.cpp
DiscUtils.h
DriveBlob.cpp
DriveBlob.h
Enums.cpp
Enums.h
FileBlob.cpp
FileBlob.h
FileSystemGCWii.cpp
FileSystemGCWii.h
Filesystem.cpp
Filesystem.h
GameModDescriptor.cpp
GameModDescriptor.h
LaggedFibonacciGenerator.cpp
LaggedFibonacciGenerator.h
MultithreadedCompressor.h
NANDImporter.cpp
NANDImporter.h
NFSBlob.cpp
NFSBlob.h
RiivolutionParser.cpp
RiivolutionParser.h
RiivolutionPatcher.cpp
RiivolutionPatcher.h
ScrubbedBlob.cpp
ScrubbedBlob.h
TGCBlob.cpp
TGCBlob.h
Volume.cpp
Volume.h
VolumeDisc.cpp
VolumeDisc.h
VolumeFileBlobReader.cpp
VolumeFileBlobReader.h
VolumeGC.cpp
VolumeGC.h
VolumeVerifier.cpp
VolumeVerifier.h
VolumeWad.cpp
VolumeWad.h
VolumeWii.cpp
VolumeWii.h
WbfsBlob.cpp
WbfsBlob.h
WIABlob.cpp
WIABlob.h
WIACompression.cpp
WIACompression.h
WiiEncryptionCache.cpp
WiiEncryptionCache.h
WiiSaveBanner.cpp
WiiSaveBanner.h
)
target_link_libraries(discio
PUBLIC
core
BZip2::BZip2
lzma
zstd
PRIVATE
fmt::fmt
minizip-ng
pugixml
ZLIB::ZLIB
)
if(MSVC)
# Add precompiled header
target_link_libraries(discio PRIVATE use_pch)
endif()