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

meshconvert tool updates for some POSIX like support #91

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

walbourn
Copy link
Member

@walbourn walbourn commented Mar 26, 2023

The meshconvert tool is a Windows command-line tool, and so doesn't follow POSIX utility conventions. This PR, however, adds support for a few specific behaviors:

meshconvert --version
meshconvert --help

All paths read from the command-line or from -flist files are normalized to the Windows path separator, so the tool now accepts UNIX-style paths or Windows-style paths. In order to allow the input filenames to start with a /, you can use -- as an escape to indicate the 'end of options' which will allow input filenames to start with either - or /.

meshconvert [options] -- /folder/path/to/name/fname.obj

This PR also makes the command-line tool build using C++17 mode.

@walbourn walbourn force-pushed the poxsixdoublehyphen branch from 6e120eb to 228662a Compare March 27, 2023 04:14
@walbourn walbourn merged commit 2263652 into main Mar 27, 2023
@walbourn walbourn deleted the poxsixdoublehyphen branch March 27, 2023 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Applies to meshconvert
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants