Changes between Version 12 and Version 13 of BuildingFm2
- Timestamp:
- Oct 6, 2008, 11:20:48 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingFm2
v12 v13 41 41 Build the release version with 42 42 {{{ 43 wmake DEBUG=0 43 set DEBUG= 44 set FORTIFY= 45 wmake 44 46 }}} 45 or 46 {{{ 47 set DEBUG= 48 set fortify= 49 wmake all 50 }}} 47 48 The set statements may be omitted if you have not defined DEBUG or FORTIFY in the environment. 51 49 52 50 Build the debug version with … … 57 55 {{{ 58 56 set DEBUG=1 59 set fortify=160 wmake all57 set FORTIFY=1 58 wmake 61 59 }}} 62 60 63 When switching between debug and release builds, add the -a switch to the wmake command line. This forces all files to be rebuilt. 61 When 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 63 Once 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 65 Build 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. 64 66 65 67 The build outputs are: … … 111 113 Open a text editor and add the following lines 112 114 {{{ 113 set debug= 0115 set debug= 114 116 wmake all && wmake lxlite && wmake wpi 115 117 }}}