Cross-platform system compiling and building method

A construction method and cross-platform technology, applied in memory systems, program control design, instruments, etc., can solve the problems of difficulty in writing and maintaining compilation scripts, achieve simple and easy-to-control compilation and construction processes, simplify compilation processes, and reduce maintenance. effect of work

Inactive Publication Date: 2014-06-11
EISOO SOFTWARE
View PDF4 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a cross-platform system compilation and construction method in order to overcome the defects of the above-mentioned prior art, solve the problem of difficult compilation and maintenance of compilation scripts in the prior art, and support subsequent function expansion

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cross-platform system compiling and building method
  • Cross-platform system compiling and building method
  • Cross-platform system compiling and building method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be described in detail below with reference to the drawings and specific embodiments. This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation mode and specific operation process are given, but the protection scope of the present invention is not limited to the following embodiments.

[0034] Such as figure 1 As shown, a cross-platform system compilation and construction method is performed through cmake compilation tool. The platform includes a Windows platform or a Linux platform, etc., and specifically includes the following steps:

[0035] 1) The parameter setting module initializes development environment variables and sets compilation configuration information, including compilation version, compilation platform information and generated file information. The generated file information includes dynamic libraries, static libraries or executable files.

[0036] 2) The compiled...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a cross-platform system compiling and building method which is used for carrying out cross-platform compilation through a cmake compilation tool. The method specifically comprises the following steps that (1) a parameter setting module initializes development environment variables and sets compiling configuration information; (2) a compilation script uploading module uploads cmake script files compiled by a user; (3) the cmake compilation tool is started up, reads and analyzes received cmake script files, carries out compilation processing according to a current platform and analyzed compilation parameters by using a compiler of the current platform, so as to generate a compilation result; (4) a releasing and packaging module generates and releases a compressed package according to the compilation result obtained in the step (3). Compared with the prior art, the method has the advantages that the work efficiency of developers is increased, the extension and integration are facilitated and the like.

Description

Technical field [0001] The invention relates to a compilation method, in particular to a cross-platform system compilation and construction method. Background technique [0002] Most computer languages ​​are cross-platform in an absolute sense: because they issue commands to the CPU in a high-level, human-readable way, there is no need to rely on any operating system. But for most operating systems, the system API (Application Programming Interface) functions or class libraries are not necessarily the same. Although the C / C++ language is cross-platform, the Win32API C++ applications used under Windows are generally It cannot be compiled on a Unix machine, and different compilers have different interpretations of language specifications. In this case, before compiling and building for different systems, the program must consider the adaptability of different platforms. [0003] For cross-platform compilation, our usual approach is to write a script file corresponding to the platfo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
Inventor 刘浪
Owner EISOO SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products