Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #10252 from ssdsnake/feature_dolphintool
DolphinTool: Add CLI tool subsystem + commands for verifying and converting RVZ/ISO/WIA/GCZ
- Loading branch information
Showing
19 changed files
with
968 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| add_executable(dolphin-tool | ||
| ToolHeadlessPlatform.cpp | ||
| Command.h | ||
| ConvertCommand.cpp | ||
| ConvertCommand.h | ||
| VerifyCommand.cpp | ||
| VerifyCommand.h | ||
| ToolMain.cpp | ||
| ) | ||
|
|
||
| set_target_properties(dolphin-tool PROPERTIES OUTPUT_NAME dolphin-tool) | ||
|
|
||
| target_link_libraries(dolphin-tool | ||
| PRIVATE | ||
| core | ||
| discio | ||
| videocommon | ||
| cpp-optparse | ||
| ) | ||
|
|
||
| set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-tool) | ||
| install(TARGETS dolphin-tool RUNTIME DESTINATION ${bindir}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| // Copyright 2021 Dolphin Emulator Project | ||
| // SPDX-License-Identifier: GPL-2.0-or-later | ||
|
|
||
| #pragma once | ||
|
|
||
| #include <string> | ||
| #include <vector> | ||
|
|
||
| namespace DolphinTool | ||
| { | ||
| class Command | ||
| { | ||
| public: | ||
| Command() {} | ||
| virtual ~Command() {} | ||
| virtual int Main(const std::vector<std::string>& args) = 0; | ||
| }; | ||
|
|
||
| } // namespace DolphinTool |
Oops, something went wrong.