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

xmake能否能支持IDL文件,MSRPC编程 #5926

Open
heheda123123 opened this issue Dec 4, 2024 · 5 comments
Open

xmake能否能支持IDL文件,MSRPC编程 #5926

heheda123123 opened this issue Dec 4, 2024 · 5 comments

Comments

@heheda123123
Copy link
Contributor

你在什么场景下需要该功能?

RPC编程中会用到IDL文件 https://www.codeproject.com/Articles/4837/Introduction-to-RPC-Part-1
vs里面的话添加IDL文件后,编译时会调用midl编译,生成头文件、客户端c文件、服务端c文件

描述可能的解决方案

类似于对windows下资源文件的处理方式

add_files("*.rc")
add_files("*.idl", {client=true})   -- 不指定第二个参数则是加上服务端c文件,指定了为true就加上客户端c文件

描述你认为的候选方案

No response

其他信息

No response

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: Can xmake support IDL files and MSRPC programming?

@star-hengxing
Copy link
Contributor

参考这个?
https://github.com/apriorit/FindIDL

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Reference this?
https://github.com/apriorit/FindIDL

@waruqi
Copy link
Member

waruqi commented Dec 4, 2024

可以直接来个 pr 过来

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


You can send a PR directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants