]>
Commit | Line | Data |
---|---|---|
b8ecf3e9 | 1 | Readme for wxWindows 2.0 Ide-files |
33b64e6f | 2 | First release Feb. 1999, detlev@reymann-online.de |
b8ecf3e9 | 3 | |
33b64e6f | 4 | 1. What you can do with this ide-files |
b8ecf3e9 JS |
5 | 2. Where to install the files |
6 | 3. How to modify them for your own needs | |
33b64e6f | 7 | 4. How to create ide-files for your own wxWindows-programs |
b8ecf3e9 | 8 | |
33b64e6f | 9 | 1. What you can do with this ide-files |
b8ecf3e9 | 10 | ====================================== |
01dba85a JS |
11 | |
12 | There are two ide-files. src\bc32.ide should help you to | |
13 | create the wxWindows libraries from within the Ide of Borlands | |
14 | C++, v. 5.x. Note that this doesn't include debugging code: you | |
15 | need to change the settings if you wish to include debug | |
16 | information. Previously, bc32d.ide was supplied with debug | |
17 | settings, but this proved to time-consuming to maintain. | |
b8ecf3e9 JS |
18 | |
19 | 2. Where to install the files | |
20 | ============================= | |
01dba85a JS |
21 | |
22 | You should copy the files for the libraries into the | |
23 | src-directory of your wxWindows-Installation (e.g. C:\wxwin\src). | |
24 | And the other file for the samples should be copied into the | |
25 | samples-directory (e.g. C:\wxwin\samples). | |
26 | ||
27 | (If installing from setup.exe or wx2..._bc.zip the files | |
28 | will be installed into the appropriate directories | |
29 | automatically). | |
b8ecf3e9 JS |
30 | |
31 | 3. How to modify them for your own needs | |
32 | ======================================== | |
01dba85a JS |
33 | |
34 | If your wxWindows-Installation resides on the same drive as your | |
35 | Borland-Compiler and additionally the Borland-Installation is | |
36 | the default (e.g. C:\BC5) then there should be no need to change | |
37 | anything. Otherwise please change the path from within the ide | |
38 | (Options->project->directories). Because we use the | |
39 | $inherit-macro (Julian found the trick), this should work. | |
40 | ||
41 | To add a new sample to samples\bc32.ide, follow these steps: | |
42 | ||
43 | a. Choose Project->New target... and type in e.g. | |
44 | samples\newsample. Press OK. | |
45 | b. Static, no OWL, MFC or class libraries. Press OK. | |
46 | c. Right-click on the new node, choose Add node... and add | |
47 | ..\lib\wx32.lib. Add any other source files you require. | |
48 | d. Right-click on the new node, choose Edit Local Options.. and | |
49 | add in Directories, specify the following: | |
50 | ||
51 | Include: $inherit;.\newsample | |
52 | Library: $inherit; | |
53 | Source: .\newsample | |
54 | Intermediate: .\newsample | |
55 | Final: .\newsample | |
b8ecf3e9 | 56 | |
33b64e6f | 57 | 4. How to create ide-files for your own wxWindows-programs |
b8ecf3e9 | 58 | ========================================================== |
01dba85a JS |
59 | |
60 | I think you are familiar with the necessary options for your own | |
61 | programm. So I will only describe what is neccessary to link | |
62 | yout programm with the wxWindows-library. If you want to create | |
63 | a ide-file for your own wxWindows-program, create a new project | |
64 | from the menu file->new->project. Deactivate all the | |
65 | standard-options, the only two thing that should be activated is | |
66 | "static" for the libraries, if you want to use the library | |
67 | produced with the library-ide and the checkbox OLE (You can | |
68 | leave this checkbox unchecked, but then you have to add the | |
69 | library \bc5\lib\ole2w32.lib to your project). You have to add | |
70 | the include-path of wxWindows to the include-path in the | |
71 | options-dialog (options->project->directories->include). The | |
72 | result should be something like: | |
73 | path_of_my_program;\bc5\include;\wxwin2\include; Then you have | |
74 | to add the libraries to the project. Open the project-view and | |
75 | activate your programm. Then right-click and choose "add" and | |
76 | select the wxWindows-library (e.g. \wxwin\lib\wx32.lib). |