Skip to content

feat: Improve C/CXX language detection #40

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

Merged
merged 2 commits into from
Jul 18, 2024
Merged

Conversation

jcfr
Copy link
Contributor

@jcfr jcfr commented Jul 18, 2024

  • Deduce C/CXX if possible, add tests test_implicit_cxx and test_directive_cxx
  • Define cython argument and file extension in helper functions (_set_output and _compile_pyx)

Integrate changes originally introduced through:

jcfr and others added 2 commits July 18, 2024 17:03
Reorganize logic to define the Cython argument and generated file extension
within the helper functions `_set_output` and `_compile_pyx`. This improves
readability by ensuring these definitions are set where they are used.

Co-authored-by: Henry Schreiner <[email protected]>
Add tests `test_implicit_cxx` and `test_directive_cxx`

Co-authored-by: Jean-Christophe Fillion-Robin <[email protected]>
@jcfr jcfr changed the title Improve language detection feat: Improve C/CXX language detection Jul 18, 2024
@jcfr jcfr merged commit baba6e4 into main Jul 18, 2024
13 checks passed
@jcfr jcfr deleted the improve-language-detection branch July 18, 2024 21:07
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.

2 participants