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