Review above: How do we mainly introduce them in DEVs in DEVs. There is a simple introduction to the structure of the package. Below I have to make a complement of the package. Chapter 13 DEV-CPP Package Production This first, let's take a look at the package of DEV-CPP. The DEV-CPP has several features, of course, I am from the structure.
The file name is the package. DEVPAK is a package file that is packaged, which can be issued directly to the DEV-CPP installation, as long as PackageManager can be installed very well. Fast, safe, green. In fact, from the structure, it is a BZIP2 compressed file, we can use WinRAR or other other compression software that supports BZIP2 format, we will see a file inside and the same file, but there is no suffix name, in fact this is A TAR compressed file. We are open. After opening the layer directory, we will see the most basic files.
Package name. Devpackage This is the profile of the package, which contains a lot of packets, such as the location of the file. Whether to restart after installation, the contents of the menu, the location of the license, etc.
License.txt This usually, because this is a license, if we use the GPL (think this is very nice) then we go to the GNU website to copy this license to this file. If you are other licenses, you can do this.
Readme.txt This is a documentation. There is a description of your package inside. Here you can greatly play your literary talent. If it is Mr. Lu Xun, it will be written here "The eyebrows are cold to the thousands of husbands, and bowing down."
The three main files above will not appear in any directory after installation unless you set it.
I know the structure of the package, then I will tell how to make a package.
Since BZIP2 and TAR are found to be very easy to use in Win32, I use a tool for DEV-CPP to make it for the consideration of you. I hope that you can understand.
First we can download a file called packagemaker.devpak on the DEV-CPP online. Look at the name, we can know this is the package of package. Download address http://www.freewebs.com/gstudio/download/PackMaker.zip Download Files inside the compressed package after downloading. I will now make a package file now.
First build a package folder on your computer as our environment, this is my personal habit, which is convenient for later management. Then run the packageMaker. A dialog will appear. Where the Create A New Package option is to make a new package Open an existing package option is to open an existing package file. Of course, the suffix of this package file is. Devpackage is not packaged.
We have not created here, so choose new one. Then we will see an interface. If there are too many windows, I suggest you find it. There will be it.
Ok, we start writing some parameters to package files. I will not explain those parameters here. Everyone should understand the meaning of these parameters. Description is the content you have started at the installer. Reboot System After Install is to ask you to restart your system after installation. I will not introduce others.
Next I tell you how to let package contain files. First build a File folder in the folder just now. Then we build some folders in this folder, such as include, lib, etc. Add the files you want to add in these folders. Then, let's start with the Add Directory button to add a directory. Select the File directory we create, select
After setting, we save. And click File-> Build to generate a package file in the package directory. I will introduce here this time, in fact, I can try it a few times. Good luck
Textual sound: It is actually really sorry, because I have used a special software to generate a package. Originally, I wanted to teach you to use BZIP2 and Tar from yourself. But this time I am looking for BZIP2, I have a hard work, I don't say Tar. And there is no relevant information. So, this time I use PackageMaker. There is also the previous period, wxwidget, which promises, because it is supplemented here. So, there will be below.
Studio Software Development Group (SDT) Studio Development Team Beidou Star (Huang Yuxi)