mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-09-28 00:20:39 +00:00
Extend .gitignore and update build setup for C++ integration
The .gitignore file now ignores C++ build artifacts alongside existing ones. In setup.py, the build configuration for 'limedriver' was modified to include a new C++ source file, indicating a shift to or expansion of C++ code usage within the project. This change prepares the build process to handle and compile C++ code, potentially for performance improvements or new functionality that leverages C++ capabilities.
This commit is contained in:
parent
fbf450e913
commit
261ccac1a0
2 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -59,6 +59,7 @@ __pycache__/
|
|||
# Cython / Python build files
|
||||
build/
|
||||
*.c
|
||||
*.cpp
|
||||
src/limedriver.egg-info
|
||||
|
||||
# Data
|
||||
|
|
3
setup.py
3
setup.py
|
@ -32,9 +32,10 @@ class BuildExtCommand(build_ext):
|
|||
ext_modules = [
|
||||
Extension(
|
||||
'limedriver',
|
||||
sources=['src/limedriver/limedriver.pyx'],
|
||||
sources=['src/limedriver/limedriver.pyx', 'extern/limedriver/src/limedriver.cpp'],
|
||||
include_dirs=["extern/limedriver/src/"],
|
||||
libraries=["LimeSuite"],
|
||||
language="c++",
|
||||
),
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue