bin/setcepaths.bat
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
       
     2 ::
       
     3 :: Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 :: All rights reserved.
       
     5 :: Contact: Nokia Corporation (qt-info@nokia.com)
       
     6 ::
       
     7 :: This file is part of the tools applications of the Qt Toolkit.
       
     8 ::
       
     9 :: $QT_BEGIN_LICENSE:LGPL$
       
    10 :: No Commercial Usage
       
    11 :: This file contains pre-release code and may not be distributed.
       
    12 :: You may use this file in accordance with the terms and conditions
       
    13 :: contained in the Technology Preview License Agreement accompanying
       
    14 :: this package.
       
    15 ::
       
    16 :: GNU Lesser General Public License Usage
       
    17 :: Alternatively, this file may be used under the terms of the GNU Lesser
       
    18 :: General Public License version 2.1 as published by the Free Software
       
    19 :: Foundation and appearing in the file LICENSE.LGPL included in the
       
    20 :: packaging of this file.  Please review the following information to
       
    21 :: ensure the GNU Lesser General Public License version 2.1 requirements
       
    22 :: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    23 ::
       
    24 :: In addition, as a special exception, Nokia gives you certain additional
       
    25 :: rights.  These rights are described in the Nokia Qt LGPL Exception
       
    26 :: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    27 ::
       
    28 :: If you have questions regarding the use of this file, please contact
       
    29 :: Nokia at qt-info@nokia.com.
       
    30 ::
       
    31 ::
       
    32 ::
       
    33 ::
       
    34 ::
       
    35 ::
       
    36 ::
       
    37 ::
       
    38 :: $QT_END_LICENSE$
       
    39 ::
       
    40 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
       
    41 @echo off
       
    42 IF "%1" EQU "wincewm50pocket-msvc2005" (
       
    43 checksdk.exe -sdk "Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
    44 tmp_created_script_setup.bat
       
    45 del tmp_created_script_setup.bat
       
    46 echo Windows Mobile 5.01 for Pocket PC selected, environment is set up
       
    47 ) ELSE IF "%1" EQU "wincewm50smart-msvc2005" (
       
    48 checksdk.exe -sdk "Windows Mobile 5.0 Smartphone SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
    49 tmp_created_script_setup.bat
       
    50 del tmp_created_script_setup.bat
       
    51 echo Windows Mobile 5.01 for Smartphone for arm selected, environment is set up
       
    52 ) ELSE IF "%1" EQU "wince50standard-x86-msvc2005" (
       
    53 checksdk.exe -sdk "STANDARDSDK_500 (x86)" -script tmp_created_script_setup.bat 1>NUL
       
    54 tmp_created_script_setup.bat
       
    55 del tmp_created_script_setup.bat
       
    56 echo Standard SDK selected, environment is set up
       
    57 ) ELSE IF "%1" EQU "wince50standard-armv4i-msvc2005" (
       
    58 checksdk.exe -sdk "STANDARDSDK_500 (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
    59 tmp_created_script_setup.bat
       
    60 del tmp_created_script_setup.bat
       
    61 echo Standard SDK for arm selected, environment is set up
       
    62 ) ELSE IF "%1" EQU "wince50standard-mipsii-msvc2005" (
       
    63 checksdk.exe -sdk "STANDARDSDK_500 (MIPSII)" -script tmp_created_script_setup.bat 1>NUL
       
    64 tmp_created_script_setup.bat
       
    65 del tmp_created_script_setup.bat
       
    66 echo Standard SDK for mips-ii selected, environment is set up
       
    67 ) ELSE IF "%1" EQU "wince50standard-mipsiv-msvc2005" (
       
    68 checksdk.exe -sdk "STANDARDSDK_500 (MIPSIV)" -script tmp_created_script_setup.bat 1>NUL
       
    69 tmp_created_script_setup.bat
       
    70 del tmp_created_script_setup.bat
       
    71 echo Standard SDK for mips-iv selected, environment is set up
       
    72 ) ELSE IF "%1" EQU "wince50standard-sh4-msvc2005" (
       
    73 checksdk.exe -sdk "STANDARDSDK_500 (SH4)" -script tmp_created_script_setup.bat 1>NUL
       
    74 tmp_created_script_setup.bat
       
    75 del tmp_created_script_setup.bat
       
    76 echo Standard SDK for sh4 selected, environment is set up
       
    77 ) ELSE IF "%1" EQU "wincewm60professional-msvc2005" (
       
    78 checksdk.exe -sdk "Windows Mobile 6 Professional SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
    79 tmp_created_script_setup.bat
       
    80 del tmp_created_script_setup.bat
       
    81 echo Windows Mobile 6 Professional selected, environment is set up
       
    82 ) ELSE IF "%1" EQU "wincewm65professional-msvc2005" (
       
    83 checksdk.exe -sdk "Windows Mobile 6 Professional SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
    84 tmp_created_script_setup.bat
       
    85 del tmp_created_script_setup.bat
       
    86 echo Windows Mobile 6 Professional selected, environment is set up
       
    87 ) ELSE IF "%1" EQU "wincewm60standard-msvc2005" (
       
    88 checksdk.exe -sdk "Windows Mobile 6 Standard SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
    89 tmp_created_script_setup.bat
       
    90 del tmp_created_script_setup.bat
       
    91 echo Windows Mobile 6 Standard selected, environment is set up
       
    92 ) ELSE IF "%1" EQU "wincewm50pocket-msvc2008" (
       
    93 checksdk.exe -sdk "Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
    94 tmp_created_script_setup.bat
       
    95 del tmp_created_script_setup.bat
       
    96 echo Windows Mobile 5.01 for Pocket PC selected, environment is set up
       
    97 ) ELSE IF "%1" EQU "wincewm50smart-msvc2008" (
       
    98 checksdk.exe -sdk "Windows Mobile 5.0 Smartphone SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
    99 tmp_created_script_setup.bat
       
   100 del tmp_created_script_setup.bat
       
   101 echo Windows Mobile 5.01 for Smartphone for arm selected, environment is set up
       
   102 ) ELSE IF "%1" EQU "wince50standard-x86-msvc2008" (
       
   103 checksdk.exe -sdk "STANDARDSDK_500 (x86)" -script tmp_created_script_setup.bat 1>NUL
       
   104 tmp_created_script_setup.bat
       
   105 del tmp_created_script_setup.bat
       
   106 echo Standard SDK selected, environment is set up
       
   107 ) ELSE IF "%1" EQU "wince50standard-armv4i-msvc2008" (
       
   108 checksdk.exe -sdk "STANDARDSDK_500 (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
   109 tmp_created_script_setup.bat
       
   110 del tmp_created_script_setup.bat
       
   111 echo Standard SDK for arm selected, environment is set up
       
   112 ) ELSE IF "%1" EQU "wince50standard-mipsii-msvc2008" (
       
   113 checksdk.exe -sdk "STANDARDSDK_500 (MIPSII)" -script tmp_created_script_setup.bat 1>NUL
       
   114 tmp_created_script_setup.bat
       
   115 del tmp_created_script_setup.bat
       
   116 echo Standard SDK for mips-ii selected, environment is set up
       
   117 ) ELSE IF "%1" EQU "wince50standard-mipsiv-msvc2008" (
       
   118 checksdk.exe -sdk "STANDARDSDK_500 (MIPSIV)" -script tmp_created_script_setup.bat 1>NUL
       
   119 tmp_created_script_setup.bat
       
   120 del tmp_created_script_setup.bat
       
   121 echo Standard SDK for mips-iv selected, environment is set up
       
   122 ) ELSE IF "%1" EQU "wince50standard-sh4-msvc2008" (
       
   123 checksdk.exe -sdk "STANDARDSDK_500 (SH4)" -script tmp_created_script_setup.bat 1>NUL
       
   124 tmp_created_script_setup.bat
       
   125 del tmp_created_script_setup.bat
       
   126 echo Standard SDK for sh4 selected, environment is set up
       
   127 ) ELSE IF "%1" EQU "wincewm60professional-msvc2008" (
       
   128 checksdk.exe -sdk "Windows Mobile 6 Professional SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
   129 tmp_created_script_setup.bat
       
   130 del tmp_created_script_setup.bat
       
   131 echo Windows Mobile 6 Professional selected, environment is set up
       
   132 ) ELSE IF "%1" EQU "wincewm65professional-msvc2008" (
       
   133 checksdk.exe -sdk "Windows Mobile 6 Professional SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
   134 tmp_created_script_setup.bat
       
   135 del tmp_created_script_setup.bat
       
   136 echo Windows Mobile 6 Professional selected, environment is set up
       
   137 ) ELSE IF "%1" EQU "wincewm60standard-msvc2008" (
       
   138 checksdk.exe -sdk "Windows Mobile 6 Standard SDK (ARMV4I)" -script tmp_created_script_setup.bat 1>NUL
       
   139 tmp_created_script_setup.bat
       
   140 del tmp_created_script_setup.bat
       
   141 echo Windows Mobile 6 Standard selected, environment is set up
       
   142 ) ELSE (
       
   143 echo no SDK to build Windows CE selected
       
   144 echo.
       
   145 echo Current choices are:
       
   146 echo   wincewm50pocket-msvc2005        - SDK for Windows Mobile 5.01 PocketPC
       
   147 echo   wincewm50smart-msvc2005         - SDK for Windows Mobile 5.01 Smartphone
       
   148 echo   wince50standard-x86-msvc2005    - Build for the WinCE standard SDK 5.0
       
   149 echo                                     with x86 platform preset
       
   150 echo   wince50standard-armv4i-msvc2005 - Build for the WinCE standard SDK 5.0
       
   151 echo                                     with armv4i platform preset
       
   152 echo   wince50standard-mipsiv-msvc2005 - Build for the WinCE standard SDK 5.0
       
   153 echo                                     with mips platform preset
       
   154 echo   wince50standard-sh4-msvc2005    - Build for the WinCE standard SDK 5.0
       
   155 echo                                     with sh4 platform preset
       
   156 echo   wincewm60professional-msvc2005  - SDK for Windows Mobile 6 professional
       
   157 echo   wincewm60standard-msvc2005      - SDK for Windows Mobile 6 Standard
       
   158 echo and the corresponding versions for msvc2008.
       
   159 echo.
       
   160 )
       
   161 
       
   162 
       
   163