Changeset 16


Ignore:
Timestamp:
Dec 12, 2000, 8:45:25 PM (25 years ago)
Author:
umoeller
Message:

Fixed build problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/readme.txt

    r13 r16  
    11XWP Helpers 0.9.6 README
    22(W) Ulrich M”ller, October 26, 2000
    3 Last updated October 26, 2000, Ulrich M”ller
     3Last updated December 11, 2000, Ulrich M”ller
    44
    55
     
    117117    take the one from the XWPHelpers makefile as a template.
    118118
     119    Here's an example: Say you have a CVS root directory of
     120    "C:\cvs" on your system. The XWPHelpers reside in
     121    "C:\cvs\xwphelpers". Your own project resides in
     122    "C:\cvs\myproject" (plus subdirectories). So set
     123    PROJECT_BASE_DIR to "C:\cvs\myproject" and put setup.in
     124    in that directory.
     125
     126    Note that the XWPHelpers also expect a "setup.h" header
     127    file to be somewhere on your INCLUDE path. See remarks
     128    below.
     129
    119130    See the top of src\helpers\makefile for additional variables.
    120131
     
    149160
    150161    Besides, the helpers C code expects a file called "setup.h"
    151     in your include path somewhere. This is included by all
     162    in your include path somewhere. This is included by _all_
    152163    the C files so you can (re)define certain macros there.
     164    XWorkplace and WarpIN both have such a header file in their
     165    respective "include" directories.
     166
     167    With V0.9.7, many function prototypes have been changed in
     168    the helpers headers to allow exporting them in a DLL.
     169    (This was necessary for creating XWorkplace plugin DLLs.)
     170    As a result, you now MUST define XWPENTRY in your setup.h
     171    to contain the linkage for the helpers functions. This
     172    can look like this:
     173
     174        #ifdef __EMX__
     175            // with EMX, do nothing; EMX always uses _System linkage
     176            #define XWPENTRY
     177        #elif defined (__IBMCPP__) || defined (__IBMC__)
     178            // with VAC, use _Optlink; that's faster than _System
     179            #define XWPENTRY _Optlink
     180        #endif
    153181
    154182
Note: See TracChangeset for help on using the changeset viewer.