Home > Back-end >  Ask a questions about the source of library management
Ask a questions about the source of library management

Time:11-29

In present work meet the following requirements:

Have A algorithms library supports A variety of different algorithms (e.g., SM2, SM3, SM4), and then different projects can use different algorithms combination, such as project used A SM2 algorithm, project B use SM4 algorithm, program C use SM2, SM3, SM4 three algorithms,

According to different project requirements, can through the cmake, according to the macro definition for each algorithm to compile corresponding algorithm to generate support dynamic libraries or static library,

Because the embedded systems are generally dedicated cross-compilation environment, currently in embedded project to develop the integrated source, such as project depend on SM4 algorithm, only the support of SM4 algorithm source code files extracted copy it to specify a folder,

The difficulty is that these algorithms have some dependence on public, there are dependencies between some algorithm, the manual will be very trouble to deal with, so want to find a similar cmake such tools, it experienced bosses what tools can be implemented from the support of all the algorithms are extracted from the code algorithm specified is supported by the combination of the source code file? ?

Thank you very much!



  • Related