Changeset 116

Show
Ignore:
Timestamp:
06/08/05 06:26:37 (3 years ago)
Author:
aldacron
Message:

* build_release.brf was missing, so added it
* all of the buildme.bat files were horribly broken - no commandline args were being passed to buildconfig - FIXED
* removed the option to set a default BRF file - now just run 'buildme' for debug version and 'buildme release' for optimized release version
* updated build.html to reflect build script changes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/DerelictAL/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/DerelictGL/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/DerelictGLFW/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/DerelictGLU/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/DerelictSDL/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/DerelictSDLImage/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/DerelictSDLMixer/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/DerelictSDLNet/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/DerelictSDLttf/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/DerelictUtil/buildme.bat

    r109 r116  
    33:Config 
    44@cd .. 
    5 @call buildconfig 
     5@call buildconfig %1 
    66 
    77:Build 
  • trunk/buildconfig.bat

    r109 r116  
    1010set BUILD_CMD=build 
    1111 
    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 
     14if %1.==release. ( 
     15    set BRF=build_release.brf 
     16) else ( 
     17    set BRF=build_dbg.brf 
     18
    2319 
    2420:: Adjust the command line args for build and dmd as needed 
    25 set COMMON_ARGS=-cleanup -IDerelictUtil -allobj -full @%BRF% 
     21set COMMON_ARGS=-cleanup -IDerelictUtil -allobj -w @%BRF% 
    2622 
    2723:: Config has run, so flag it not to run again. 
  • trunk/buildme.bat

    r104 r116  
    1 @call buildconfig.bat 
     1@call buildconfig.bat %1 
    22 
    33:: Build all derelict libs 
    4 if exist derelictAL\buildme.bat call derelictAL\buildme.bat 
    5 if exist derelictGL\buildme.bat call derelictGL\buildme.bat 
    6 if exist derelictGLFW\buildme.bat call derelictGLFW\buildme.bat 
    7 if exist derelictGLU\buildme.bat call derelictGLU\buildme.bat 
    8 if exist derelictSDL\buildme.bat call derelictSDL\buildme.bat 
    9 if exist derelictSDLImage\buildme.bat call derelictSDLImage\buildme.bat 
    10 if exist derelictSDLMixer\buildme.bat call derelictSDLMixer\buildme.bat 
    11 if exist derelictSDLNet\buildme.bat call derelictSDLNet\buildme.bat 
    12 if exist derelictSDLttf\buildme.bat call derelictSDLttf\buildme.bat 
    13 if exist derelictUtil\buildme.bat call derelictUtil\buildme.bat 
     4if exist derelictAL\buildme.bat call derelictAL\buildme    %1 
     5if exist derelictGL\buildme.bat call derelictGL\buildme %1 
     6if exist derelictGLFW\buildme.bat call derelictGLFW\buildme %1 
     7if exist derelictGLU\buildme.bat call derelictGLU\buildme %1 
     8if exist derelictSDL\buildme.bat call derelictSDL\buildme %1 
     9if exist derelictSDLImage\buildme.bat call derelictSDLImage\buildme %1 
     10if exist derelictSDLMixer\buildme.bat call derelictSDLMixer\buildme %1 
     11if exist derelictSDLNet\buildme.bat call derelictSDLNet\buildme %1 
     12if exist derelictSDLttf\buildme.bat call derelictSDLttf\buildme %1 
     13if exist derelictUtil\buildme.bat call derelictUtil\buildme %1 
  • trunk/docs/build.html

    r112 r116  
    6161<tt>cleanlib</tt> script in the top-level Derelict directory. 
    6262</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>  
     66command (<tt>buildme release</tt> will cause the Derelict libraries to be built 
     67in release mode (-release -O with DMD). 
    6368 
    6469<h3>Building Individual Derelict Packages</h3> 
     
    98103<li><b>BRF</b>: There are two Build Response Files provided, build_debug.brf 
    99104and 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> 
     105respectively. The default configuration is such that if you execute <tt>buildme</tt> 
     106with no args, build_dbg.brf will be used by default, but if you execute the 
     107command with the arg 'release' (<tt>buildme release</tt>), build_release.brf will 
     108be used instead. Feel free to change this default behavior as you wish. 
    108109 
    109110<li><b>COMMON_ARGS</b>: This is where you put command line arguments that may