Skip to content

Commit 9fa0ca2

Browse files
committed
Add installation in cmake
1 parent 2373fb2 commit 9fa0ca2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ jobs:
2323
2424
- name: Prepare artifact
2525
run: |
26-
mkdir --parents --verbose /tmp/artifact/Wii-Tac-Toe
27-
mv --verbose build/wii/Wii-Tac-Toe.dol /tmp/artifact/Wii-Tac-Toe/boot.dol
26+
cmake --install build/wii --verbose --prefix /tmp/artifact/Wii-Tac-Toe
2827
cp --verbose Wii-Tac-Toe/* /tmp/artifact/Wii-Tac-Toe/
2928
3029
- uses: actions/upload-artifact@v4

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,6 @@ target_link_libraries(Wii-Tac-Toe PRIVATE
8383
)
8484

8585
ogc_create_dol(Wii-Tac-Toe)
86+
87+
get_target_property(DOL_FILE Wii-Tac-Toe DKP_FILE)
88+
install(FILES "${DOL_FILE}" DESTINATION . RENAME "boot.dol")

0 commit comments

Comments
 (0)