Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command-line version (fixes #608) #1627

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

DrDub
Copy link

@DrDub DrDub commented Dec 12, 2023

Adds version to whisper.h under CMake builds and exposes it as --version in main executable.

Plain Makefile builds have --version disabled (through a runtime check, couldn't make a preprocessor solution work).

The CMake was tested under three conditions:

  • In place building
  • Building on a separate folder
  • Building as a subproject

If this approach works, I can expand the PR to include --version in other examples.

Adds version to whisper.h under CMake builds and exposes as --version in main executable.

Plain Makefile builds have --version disabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant