]> git.saurik.com Git - wxWidgets.git/blame - docs/msw/bc_ide.txt
tiny fixes
[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======================================
33b64e6f
JS
11There are three ide-files. One ide-file should help you to create the wxWindows libraries from within the Ide of Borlands C++, v. 5.x. The second is called bc32d.ide and produces the debug-version of the wxWindows-library.
12If you want to produce the debugging-version, using the special ide-file bc32d.ide you have to create a seperate subdirectory \WXWIN_PATH\src\debug.
13The last one should help you to create most of the samples of wxWindows.
b8ecf3e9
JS
14
152. Where to install the files
16=============================
33b64e6f
JS
17You should copy the files for the libraries into the src-directory of your wxWindows-Installation (e.g. C:\wxwin\src).
18And the other file for the samples should be copied into the samples-directory (e.g. C:\wxwin\samples).
b8ecf3e9
JS
19
203. How to modify them for your own needs
21========================================
33b64e6f
JS
22If your wxWindows-Installation resides on the same drive as your Borland-Compiler and additionally the Borland-Installation is the default (e.g. C:\BC5) then there should be no need to change anything.
23Otherwise please change the path from within the ide (Options->project->directories). Because we use the $inherit-makro (Julian foung the trick), this should do the trick.
b8ecf3e9 24
33b64e6f 254. How to create ide-files for your own wxWindows-programs
b8ecf3e9 26==========================================================
33b64e6f
JS
27I think you are familiar with the necessary options for your own programm. So I will only describe what is neccessary to link yout programm with the wxWindows-library. If you want to create a ide-file for your own wxWindows-program, create a new project from the menu file->new->project. Deactivate all the standard-options, the only two thing that should be aktivated is "static" for the libraries, if you want to use the library produced with the library-ide and the checkbox OLE (You can leave this checkbox unchecked, but then you have to add the library \bc5\lib\ole2w32.lib to your project). You have to add the include-path of wxWindows to the include-path in the options-dialog (options->project->directories->include). The result should be something like:
28path_of_my_program;\bc5\include;\wxwin2\include;
29Then you have to add the libraries to the project.
30Open the project-view and activate your programm. Then right-click and choose "add" and select the wxWindows-library (e.g. \wxwin\lib\wx32.lib).