Changes between Version 12 and Version 13 of BuildingFm2


Ignore:
Timestamp:
Oct 6, 2008, 11:20:48 PM (16 years ago)
Author:
Steven Levine
Comment:

Update executable build instructions

Legend:

Unmodified
Added
Removed
Modified
  • BuildingFm2

    v12 v13  
    4141Build the release version with
    4242{{{
    43   wmake DEBUG=0
     43  set DEBUG=
     44  set FORTIFY=
     45  wmake
    4446}}}
    45 or
    46 {{{
    47   set DEBUG=
    48   set fortify=
    49   wmake all
    50 }}}
     47
     48The set statements may be omitted if you have not defined DEBUG or FORTIFY in the environment.
    5149
    5250Build the debug version with
     
    5755{{{
    5856  set DEBUG=1
    59   set fortify=1
    60   wmake all
     57  set FORTIFY=1
     58  wmake
    6159}}}
    6260
    63 When switching between debug and release builds, add the -a switch to the wmake command line.  This forces all files to be rebuilt.
     61When switching between debug and release builds, use the wmake -a switch to force all files to be rebuilt.  The current makefiles can not detect a change in the value of the DEBUG variable and will not regenerate files that depend on the DEBUG setting without some assistance.
     62
     63Once you are familiar with the build process, you can speed up the switch by deleting fm3dll.lrf and the .obj files that you want rebuilt.  This will give wmake enough information to do a proper rebuild without the -a switch.
     64
     65Build options such as DEBUG abd FORTIFY may be specified either in the environment or on the command line.  Choose one method and use it consistently or you may be get unexpected results.
    6466
    6567The build outputs are:
     
    111113Open a text editor and add the following lines
    112114{{{
    113 set debug=0
     115set debug=
    114116wmake all && wmake lxlite && wmake wpi
    115117}}}