-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
24 additions
and
1 deletion.
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
22 changes: 22 additions & 0 deletions
22
extension/src/zserio/extension/cpp17/Cpp17ExtensionMain.java
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 @@ | ||
package zserio.extension.cpp17; | ||
|
||
/** | ||
* The main entry of the Zserio C++17 extension. | ||
* | ||
* This just prints the usage. | ||
*/ | ||
public final class Cpp17ExtensionMain | ||
{ | ||
public static void main(String[] args) | ||
{ | ||
System.out.println( | ||
"C++17 Generator version " + Cpp17ExtensionVersion.CPP17_EXTENSION_VERSION_STRING + "\n"); | ||
System.out.println("This generator cannot be run standalone and is designed as an extension to the " + | ||
"Zserio version " + | ||
Cpp17ExtensionVersion.EXPECTED_ZSERIO_VERSION_STRING + ".\n"); | ||
System.out.println("How to run it using Zserio bundle:"); | ||
System.out.println(" java -cp zserio.jar:zserio_cpp17.jar zserio.tools.ZserioTool\n"); | ||
System.out.println("How to run it using Zserio core:"); | ||
System.out.println(" java -cp zserio_core.jar:zserio_cpp17.jar zserio.tools.ZserioTool"); | ||
} | ||
} |