Changeset 116
- Timestamp:
- 06/08/05 06:26:37 (3 years ago)
- Files:
-
- trunk/DerelictAL/buildme.bat (modified) (1 diff)
- trunk/DerelictGL/buildme.bat (modified) (1 diff)
- trunk/DerelictGLFW/buildme.bat (modified) (1 diff)
- trunk/DerelictGLU/buildme.bat (modified) (1 diff)
- trunk/DerelictSDL/buildme.bat (modified) (1 diff)
- trunk/DerelictSDLImage/buildme.bat (modified) (1 diff)
- trunk/DerelictSDLMixer/buildme.bat (modified) (1 diff)
- trunk/DerelictSDLNet/buildme.bat (modified) (1 diff)
- trunk/DerelictSDLttf/buildme.bat (modified) (1 diff)
- trunk/DerelictUtil/buildme.bat (modified) (1 diff)
- trunk/build_release.brf (added)
- trunk/buildconfig.bat (modified) (1 diff)
- trunk/buildme.bat (modified) (1 diff)
- trunk/docs/build.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/DerelictAL/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/DerelictGL/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/DerelictGLFW/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/DerelictGLU/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/DerelictSDL/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/DerelictSDLImage/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/DerelictSDLMixer/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/DerelictSDLNet/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/DerelictSDLttf/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/DerelictUtil/buildme.bat
r109 r116 3 3 :Config 4 4 @cd .. 5 @call buildconfig 5 @call buildconfig %1 6 6 7 7 :Build trunk/buildconfig.bat
r109 r116 10 10 set BUILD_CMD=build 11 11 12 :: By default, specifying neither 'dbg' nor 'release' on the command line will 13 :: cause the debug version to be built. Change the following to 14 :: BRG=build_release.brf 15 :: to change this behavior. 16 set BRF=build_dbg.brf 17 18 :: If 'release' was given on the command line, build using build_release.brf 19 if %1.==release set BRF=build_release.brf 20 21 :: If 'dbg' was given on the command line, build using build_debug.brf 22 if %1.==dbg set BRF=build_debug.brf 12 :: If 'release' was given on the command line, build using build_release.brf, 13 :: else use build_dbg.brf 14 if %1.==release. ( 15 set BRF=build_release.brf 16 ) else ( 17 set BRF=build_dbg.brf 18 ) 23 19 24 20 :: Adjust the command line args for build and dmd as needed 25 set COMMON_ARGS=-cleanup -IDerelictUtil -allobj - full@%BRF%21 set COMMON_ARGS=-cleanup -IDerelictUtil -allobj -w @%BRF% 26 22 27 23 :: Config has run, so flag it not to run again. trunk/buildme.bat
r104 r116 1 @call buildconfig.bat 1 @call buildconfig.bat %1 2 2 3 3 :: Build all derelict libs 4 if exist derelictAL\buildme.bat call derelictAL\buildme .bat5 if exist derelictGL\buildme.bat call derelictGL\buildme .bat6 if exist derelictGLFW\buildme.bat call derelictGLFW\buildme .bat7 if exist derelictGLU\buildme.bat call derelictGLU\buildme .bat8 if exist derelictSDL\buildme.bat call derelictSDL\buildme .bat9 if exist derelictSDLImage\buildme.bat call derelictSDLImage\buildme .bat10 if exist derelictSDLMixer\buildme.bat call derelictSDLMixer\buildme .bat11 if exist derelictSDLNet\buildme.bat call derelictSDLNet\buildme .bat12 if exist derelictSDLttf\buildme.bat call derelictSDLttf\buildme .bat13 if exist derelictUtil\buildme.bat call derelictUtil\buildme .bat4 if exist derelictAL\buildme.bat call derelictAL\buildme %1 5 if exist derelictGL\buildme.bat call derelictGL\buildme %1 6 if exist derelictGLFW\buildme.bat call derelictGLFW\buildme %1 7 if exist derelictGLU\buildme.bat call derelictGLU\buildme %1 8 if exist derelictSDL\buildme.bat call derelictSDL\buildme %1 9 if exist derelictSDLImage\buildme.bat call derelictSDLImage\buildme %1 10 if exist derelictSDLMixer\buildme.bat call derelictSDLMixer\buildme %1 11 if exist derelictSDLNet\buildme.bat call derelictSDLNet\buildme %1 12 if exist derelictSDLttf\buildme.bat call derelictSDLttf\buildme %1 13 if exist derelictUtil\buildme.bat call derelictUtil\buildme %1 trunk/docs/build.html
r112 r116 61 61 <tt>cleanlib</tt> script in the top-level Derelict directory. 62 62 </p> 63 <p> 64 <b>NOTE:</b> By default, Derelict is configured to build with debug information 65 (-debug -g with DMD). Passing 'release' as an argument to the <tt>buildme</tt> 66 command (<tt>buildme release</tt> will cause the Derelict libraries to be built 67 in release mode (-release -O with DMD). 63 68 64 69 <h3>Building Individual Derelict Packages</h3> … … 98 103 <li><b>BRF</b>: There are two Build Response Files provided, build_debug.brf 99 104 and build_release.brf to build the libraries in debug and release modes, 100 respectively. While you are free to edit the response files to your liking, 101 you may set this option to the name of the response file you wish to use as 102 the default. It is preconfigured to use build_debug.brf by default. You do not 103 need to change this to switch between debug and release builds. To do 104 that, simply pass either <tt>release</tt> or <tt>dbg</tt> as a command line argument 105 to the <tt>buildme</tt> script (i.e. typing <tt>buildme release</tt> will force 106 a build in release mode). The <b>BRF</b> configuration option is used when no 107 command line argument is passed to the <tt>buildme</tt> script.</li> 105 respectively. The default configuration is such that if you execute <tt>buildme</tt> 106 with no args, build_dbg.brf will be used by default, but if you execute the 107 command with the arg 'release' (<tt>buildme release</tt>), build_release.brf will 108 be used instead. Feel free to change this default behavior as you wish. 108 109 109 110 <li><b>COMMON_ARGS</b>: This is where you put command line arguments that may
