Files
threeSD/src/core/CMakeLists.txt
T
zhupengfei 49ddd86b7a Add CIA building
Quite a lot of code, yeah.

The built CIA is almost identical to GM9, with the following differences:
1. Paddings are zeroed out
2. Title key is not written (GM9 gets it from support data/ticket db)
3. Ticket content index is slightly different (GM9 likely takes it from the legit ticket, while we are building a fake one)

The 2, 3 points can be fixed probably.
2020-08-07 08:58:09 +08:00

32 lines
583 B
CMake

add_library(core STATIC
data_container.cpp
data_container.h
decryptor.cpp
decryptor.h
importer.cpp
importer.h
inner_fat.cpp
inner_fat.h
key/arithmetic128.cpp
key/arithmetic128.h
key/key.cpp
key/key.h
ncch/cia_builder.cpp
ncch/cia_builder.h
ncch/ncch_container.cpp
ncch/ncch_container.h
ncch/seed_db.cpp
ncch/seed_db.h
ncch/smdh.cpp
ncch/smdh.h
ncch/ticket.cpp
ncch/ticket.h
ncch/title_metadata.cpp
ncch/title_metadata.h
quick_decryptor.cpp
quick_decryptor.h
result_status.h
)
target_link_libraries(core PRIVATE common cryptopp)