mirror of
https://github.com/mikage-emu/mikage-dev.git
synced 2025-01-20 04:21:08 +01:00
CMake: Add install step for placeholder NAND archives
This commit is contained in:
parent
74242ff1ec
commit
1c136b9fa2
2 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@ CMake and Conan 2 are required to build Mikage.
|
|||
* `cd build`
|
||||
* `conan install .. -of . --build=missing` (add `-s build_type=Debug` for Debug builds)
|
||||
* ``cmake -DCMAKE_BUILD_TYPE=Release .. -G Ninja -DCMAKE_PREFIX_PATH=`realpath .` ``
|
||||
* `ninja`
|
||||
* `ninja && sudo ninja install`
|
||||
|
||||
Some dependencies may be provided by system packages instead of building them
|
||||
via Conan. To enable this behavior, add the following to your Conan profile
|
||||
|
|
|
@ -11,6 +11,7 @@ set(TITLES
|
|||
"000400db/00010302"
|
||||
"000400db/00016102")
|
||||
|
||||
include(GNUInstallDirs)
|
||||
foreach(TITLE ${TITLES})
|
||||
configure_file(${TITLE}/content/00000000.app ${CMAKE_BINARY_DIR}/data/${TITLE}/content/00000000.cxi COPYONLY)
|
||||
install(FILES "${TITLE}/content/00000000.app" RENAME "00000000.cxi" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/mikage/nand/title/${TITLE}/content")
|
||||
endforeach()
|
||||
|
|
Loading…
Reference in a new issue