Skip to content

Commit

Permalink
Use the new std feature to support both msvc and gcc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Sep 1, 2023
1 parent fdbbaf6 commit 052b0f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meson.build
@@ -1,6 +1,6 @@
project('capypdf', 'cpp', 'c',
version: '0.5.0',
default_options : ['cpp_std=c++23'])
default_options : ['cpp_std=c++23,c++latest'])

version = meson.project_version()
varr = version.split('.')
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -22,5 +22,5 @@ classifiers = [
]

[tool.meson-python.args]
setup = ['-Dcpp_std=c++23', '--debug']
setup = ['--debug']
install = ['--tags=runtime,python-runtime']

0 comments on commit 052b0f2

Please sign in to comment.