build.bat
author Matt Plumtree <matt.plumtree@nokia.com>
Mon, 01 Nov 2010 18:11:59 +0000
branchbug235_bringup_0
changeset 70 08233365fef6
parent 56 40cc73c24bf8
child 72 fd0a704154b9
permissions -rw-r--r--
Add /clean to build.bat to delete the build directory and its contents before building.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     1
@echo off
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     2
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     3
rem DOS batch file for building host-side libraries
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     4
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     5
if '%EPOCROOT%'=='' goto PRINTUSAGE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     6
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     7
rem Set default values
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     8
set SIMULATOR_EXTENSIONS=ON
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     9
set TOOLCHAIN_VARIANT=vs2005
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    10
set CMAKE_BUILD_TARGET=Release
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    11
set VISUAL_STUDIO_SOLUTION=OFF
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    12
set BUILD=ON
70
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
    13
set CLEANBUILD=OFF
56
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    14
set EPOCROOTX=%EPOCROOT:\=/%
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    15
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    16
:PARSECOMMANDLINE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    17
IF '%1'=='/h' goto PRINTUSAGE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    18
IF '%1'=='/H' goto PRINTUSAGE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    19
IF '%1'=='/?' goto PRINTUSAGE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    20
IF '%1'=='/nosimext' goto DISABLE_SIMULATOR_EXTENSIONS
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    21
IF '%1'=='/NOSIMEXT' goto DISABLE_SIMULATOR_EXTENSIONS
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    22
IF '%1'=='/vs' goto SETVISUALSTUDIOVERSION
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    23
IF '%1'=='/VS' goto SETVISUALSTUDIOVERSION
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    24
IF '%1'=='/solution' goto ENABLESOLUTION
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    25
IF '%1'=='/SOLUTION' goto ENABLESOLUTION
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    26
IF '%1'=='/debug' goto ENABLEDEBUG
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    27
IF '%1'=='/DEBUG' goto ENABLEDEBUG
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    28
IF '%1'=='/nobuild' goto DISABLEBUILD
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    29
IF '%1'=='/NOBUILD' goto DISABLEBUILD
70
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
    30
IF '%1'=='/clean' goto CLEANBUILD
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
    31
IF '%1'=='/CLEAN' goto CLEANBUILD
56
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    32
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    33
if "%VISUAL_STUDIO_SOLUTION%"=="ON" (
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    34
	set GENERATOR=Visual Studio 8 2005
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    35
	if '%TOOLCHAIN_VARIANT%'=='2008' set GENERATOR=Visual Studio 9 2008
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    36
) else (
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    37
	set GENERATOR=NMake Makefiles
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    38
)
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    39
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    40
rem Print out options
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    41
echo.
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    42
echo SIMULATOR_EXTENSIONS = %SIMULATOR_EXTENSIONS%
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    43
echo TOOLCHAIN_VARIANT    = %TOOLCHAIN_VARIANT%
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    44
echo GENERATOR            = %GENERATOR%
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    45
echo CMAKE_BUILD_TARGET   = %CMAKE_BUILD_TARGET%
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    46
echo BUILD                = %BUILD%
70
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
    47
echo CLEANBUILD           = %CLEANBUILD%
56
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    48
echo EPOCROOT (modified)  = %EPOCROOTX%
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    49
echo.
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    50
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    51
rem Execute
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    52
echo on
70
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
    53
if '%CLEANBUILD%'=='ON' rmdir /s /q build
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
    54
if '%CLEANBUILD%'=='ON' mkdir build
56
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    55
cd build
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    56
cmake -DEPOCROOT=%EPOCROOTX% -DSIMULATOR_EXTENSIONS:Bool=%SIMULATOR_EXTENSIONS% -DTOOLCHAIN_VARIANT:String=%TOOLCHAIN_VARIANT% -DCMAKE_BUILD_TYPE=%CMAKE_BUILD_TARGET% -G "%GENERATOR%" ..
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    57
@echo off
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    58
if "%BUILD%"=="ON" (
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    59
if "%GENERATOR%"=="NMake Makefiles" (
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    60
	echo on
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    61
	nmake
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    62
	@echo off
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    63
)
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    64
)
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    65
@echo off
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    66
cd ..
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    67
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    68
goto END
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    69
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    70
:PRINTUSAGE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    71
echo Usage: build.bat [options]
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    72
echo Options:"
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    73
echo     [/H,/?]             print this message and exit
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    74
echo     [/VS VERSION]       set Visual Studio version
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    75
echo                         supported versions = 2005, 2008 (default: 2005)
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    76
echo     [/SOLUTION]         just generate VIsual Studio solution files
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    77
echo                             (default: generate NMake makefiles and build)
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    78
echo     [/DEBUG]            configure for debug build (default: release)
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    79
echo     [/NOBUILD]          call cmake but do not call nmake
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    80
echo                             note: has no effect if /SOLUTION is specified
70
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
    81
echo     [/CLEAN]            perform a clean build by deleting the ./build directory.
56
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    82
echo.
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    83
echo Note: EPOCROOT must be defined to be the directory containing the epoc32 tree.
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    84
goto END
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    85
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    86
:DISABLE_SIMULATOR_EXTENSIONS
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    87
set SIMULATOR_EXTENSIONS=OFF
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    88
shift
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    89
goto PARSECOMMANDLINE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    90
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    91
:SETVISUALSTUDIOVERSION
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    92
set TOOLCHAIN_VARIANT=vs%2
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    93
shift
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    94
shift
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    95
goto PARSECOMMANDLINE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    96
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    97
:ENABLESOLUTION
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    98
set VISUAL_STUDIO_SOLUTION=ON
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    99
shift
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   100
goto PARSECOMMANDLINE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   101
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   102
:ENABLEDEBUG
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   103
set CMAKE_BUILD_TARGET=Debug
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   104
shift
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   105
goto PARSECOMMANDLINE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   106
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   107
:DISABLEBUILD
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   108
set BUILD=OFF
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   109
shift
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   110
goto PARSECOMMANDLINE
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   111
70
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
   112
:CLEANBUILD
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
   113
set CLEANBUILD=ON
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
   114
shift
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
   115
goto PARSECOMMANDLINE
08233365fef6 Add /clean to build.bat to delete the build directory and its contents before building.
Matt Plumtree <matt.plumtree@nokia.com>
parents: 56
diff changeset
   116
56
40cc73c24bf8 Host components now buildable in their correct locations (although stil using CMake). Use build.bat in package root.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
   117
:END