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

建议提供只有C API导出的构建选项 #110

Open
sdcb opened this issue Jan 18, 2023 · 0 comments
Open

建议提供只有C API导出的构建选项 #110

sdcb opened this issue Jan 18, 2023 · 0 comments

Comments

@sdcb
Copy link
Contributor

sdcb commented Jan 18, 2023

目前如果使用-DBUILD_C=ON,可以构建C API的导出,但是同时也存在所有的C++ API的导出,这在利用C API的使用场景中(如C#或go语言封装、C API做其它功能等)是完全没有必要的,还会偏离FlyCV“小巧精致”、“高订制化”的初心。

我建议提供只有C API导出的构建选项(或者将-DBUILD_C=ON改为仅编译C API),在这个选项中,完全不需要C++的函数导出。

image

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

No branches or pull requests

1 participant