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

More conventional syntax of -I command line argument in tool cpp_to_pybind #351

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cafhach
Copy link

@cafhach cafhach commented Oct 4, 2021

Changed syntax of command line argument -I
Until now to add multiple paths, you had to put them into one long quotation-mark-separated string, individual paths separated by spaces. This is not viable for paths including space characters and is also rather unconventional. Instead you can now add the -I argument multiple times. This is the approach used by e.g. compilers like clang or gcc

Changed syntax of command line argument -I 
Until now to add multiple paths, you had to put them into one long quotation-mark-separated string, individual paths separated by spaces. This is not viable for paths including space characters and is also rather unconventional. Instead you can now add the "-I" argument multiple times. This is the approach used by e.g. compilers like clang or gcc
@cafhach cafhach changed the title More conventional syntax of -I command line argument in Tool cpp_to_pybind More conventional syntax of -I command line argument in tool cpp_to_pybind Oct 4, 2021
@cafhach cafhach changed the title More conventional syntax of -I command line argument in tool cpp_to_pybind More conventional syntax of -I command line argument in tool cpp_to_pybind Oct 4, 2021
This case didn't work in the trunk version either. I assumed what was meant there and implemented it using `os.path.dirname`.
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.

1 participant