C++ 使用gradle原生cpp应用程序构建cpp应用程序&;cpp库插件
我尝试用gradle native(cpp应用程序和cpp库插件)成功地构建了简单的cpp项目 我想使用gradle native进行更复杂的测试,但不幸的是我失败了。。。即使尝试在gradle native/samples上模拟样本! 我花了几个小时在上面:( 以下是我想做的:C++ 使用gradle原生cpp应用程序构建cpp应用程序&;cpp库插件,c++,gradle,multi-module,gradle-native,C++,Gradle,Multi Module,Gradle Native,我尝试用gradle native(cpp应用程序和cpp库插件)成功地构建了简单的cpp项目 我想使用gradle native进行更复杂的测试,但不幸的是我失败了。。。即使尝试在gradle native/samples上模拟样本! 我花了几个小时在上面:( 以下是我想做的: server (cpp-application) -> depends on driver or factory driver (cpp-library) |---core (cpp-library)
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