Method, apparatus, computer device and readable storage medium for generating static library
A static library and engineering technology, applied in the computer field, can solve the problem of low efficiency in generating static library files, and achieve the effect of improving the generation efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0057] In the first embodiment of the present invention, a method for generating a static library, such as figure 1 shown, including the following specific steps:
[0058] In step S101, compile the terminal class and the emulator class in parallel for the source code files corresponding to the development project, so as to obtain the compilation result of each development project.
[0059] In this embodiment, the number of development projects is not specifically limited, and may be one or multiple.
[0060] Wherein, when the number of development projects is one, step S101 includes:
[0061] Compile the terminal class and simulator class in parallel for the source code files corresponding to the development project to obtain two compilation results of the development project;
[0062] In the case that the number of development projects is multiple, step S101 includes:
[0063] Compile the terminal class and the emulator class in parallel for the source code files correspon...
no. 2 example
[0073] In the second embodiment of the present invention, a method for generating a static library, such as figure 2 shown, including the following specific steps:
[0074] In step S201, the terminal class and the emulator class are compiled in parallel for the source code files corresponding to the development project, so as to obtain the compilation result of each development project.
[0075] Step S202, perform each of the following operations in parallel on the compilation result of each development project: merge the static library extracted from the compilation result of each development project, extract the header file in the compilation result of each development project, And extract the resource files in the compilation result of each development project.
[0076] For example, when the number of development projects is one, step S202 specifically includes: performing each of the following operations in parallel on the compilation result of the development project: m...
no. 3 example
[0083] In the third embodiment of the present invention, a method for generating a static library, such as image 3 shown, including the following specific steps:
[0084] In step S301, the terminal class and the emulator class are compiled in parallel for the source code files corresponding to the development project, so as to obtain the compilation result of each development project.
[0085] Step S302, create a set number of well-known pipelines to obtain thread tokens through each well-known pipeline; create a static library data file extraction operation thread through each well-known pipeline according to the obtained thread tokens; An extraction operation of a static library data file is performed in the extraction operation thread.
[0086] In this embodiment, the extraction operation of a static library data file is executed in parallel in each extraction operation thread, including:
[0087] Execute one of the following static library data file extraction operation...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com