X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8ecf3e993fe25a9eadd9e0b381e0d81fe6ab2e8..da590c59c76028158708a0e9dea4e8e16ecceec2:/docs/msw/bc_ide.txt diff --git a/docs/msw/bc_ide.txt b/docs/msw/bc_ide.txt index 067d790949..c1aa6e37c7 100644 --- a/docs/msw/bc_ide.txt +++ b/docs/msw/bc_ide.txt @@ -1,54 +1,70 @@ Readme for wxWindows 2.0 Ide-files +First release Feb. 1999, detlev@reymann-online.de -First release Feb. 16. 1999, detlev@reymann-online.de - -1. What you can do with this IDE-files +1. What you can do with this ide-files 2. Where to install the files 3. How to modify them for your own needs -4. How to create IDE-files for your own wxWindows-programs +4. How to create ide-files for your own wxWindows-programs -1. What you can do with this IDE-files +1. What you can do with this ide-files ====================================== -There are two IDE-files. One IDE-file should help you to create -the wxWindows library from within the Ide of Borlands C++, v. -5.x. The other one should help you to create most of the samples -of wxWindows the same way. +There are two ide-files. src\bc32.ide should help you to +create the wxWindows libraries from within the Ide of Borlands +C++, v. 5.x. Note that this doesn't include debugging code: you +need to change the settings if you wish to include debug +information. Previously, bc32d.ide was supplied with debug +settings, but this proved to time-consuming to maintain. 2. Where to install the files ============================= -You should copy the file named wxwin32_lib.IDE to the +You should copy the files for the libraries into the src-directory of your wxWindows-Installation (e.g. C:\wxwin\src). -And the other file samples.IDE should be copied into the +And the other file for the samples should be copied into the samples-directory (e.g. C:\wxwin\samples). +(If installing from setup.exe or wx2..._bc.zip the files +will be installed into the appropriate directories +automatically). + 3. How to modify them for your own needs ======================================== -If your wxWindows-Installation resIDEs on the same drive as your +If 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. Otherwise please change the path from within the IDE -(Options->project->directories). This should be very easy for -the library-file. For the samples-file it can be neccessary to -change the settings for all programms seperately, because there -are local options for each of them. To do that, show the project -so that you can see the list with all the programs, right-click -onto each of them and choose local options. Then change the -directory-names. - -4. How to create IDE-files for your own wxWindows-programs +anything. Otherwise please change the path from within the ide +(Options->project->directories). Because we use the +$inherit-macro (Julian found the trick), this should work. + +To add a new sample to samples\bc32.ide, follow these steps: + +a. Choose Project->New target... and type in e.g. + samples\newsample. Press OK. +b. Static, no OWL, MFC or class libraries. Press OK. +c. Right-click on the new node, choose Add node... and add + ..\lib\wx32.lib. Add any other source files you require. +d. Right-click on the new node, choose Edit Local Options.. and + add in Directories, specify the following: + + Include: $inherit;.\newsample + Library: $inherit; + Source: .\newsample + Intermediate: .\newsample + Final: .\newsample + +4. How to create ide-files for your own wxWindows-programs ========================================================== I think you are familiar with the necessary options for your own -program. So I will only describe what is neccessary to link +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 +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 things that should be activated is +standard-options, the only two thing that should be activated is "static" for the libraries, if you want to use the library -produced with the library-IDE and the checkbox OLE (You can +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