我尝试使用gradle-native(cpp-application和cpp-library插件)成功构建简单的cpp项目。
我想对更复杂的对象使用gradle-native,但是不幸的是我失败了...即使试图在gradle-native / samples上模拟样本! 我已经花了几个小时:(
这就是我想做的事情:
server (cpp-application) -> depends on driver or factory
driver (cpp-library)
|---core (cpp-library)
|---alsa (cpp-libary with linux operating system) -> depends on core
|---asio (cpp-library with windows operating system) -> depends on core
|---factory (the resulting library which should use either linux or windows library) -> depends either on alsa, either on asio according to the operating system
或
server (cpp-application) -> depends on driver
driver (cpp-library)
|---core (cpp-library)
|---alsa (cpp-libary with linux operating system) -> depends on core
|---asio (cpp-library with windows operating system) -> depends on core
|---src/ (the resulting library which should use either linux or windows library) -> depends either on alsa, either on asio according to the operating system
请问有人可以解决吗? 谢谢 ! 问候