I am using gradle to build c++ library
1. Configure library target machines
library {
targetMachines = [
machines.linux.x86_64,
machines.windows.x86, machines.windows.x86_64,
machines.macOS.x86_64
]
}
2. Configure library linkages
library {
linkage = [Linkage.STATIC, Linkage.SHARED]
}
I can't understant the above targetmachines and linkage code. I want to create c++ library with specific architecture.
Can any one explain what is the purpose of those code ?