setsdkenv_windows.template (58d70080) | setsdkenv_windows.template (985d02c7) |
---|---|
1@echo off 2rem ************************************************************* 3rem 4rem Licensed to the Apache Software Foundation (ASF) under one 5rem or more contributor license agreements. See the NOTICE file 6rem distributed with this work for additional information 7rem regarding copyright ownership. The ASF licenses this file 8rem to you under the Apache License, Version 2.0 (the --- 35 unchanged lines hidden (view full) --- 44REM Directory of the make command. 45REM Example: set OO_SDK_MAKE_HOME=D:\NextGenerationMake\make 46set OO_SDK_MAKE_HOME= 47 48REM Directory of the zip tool. 49REM Example: set OO_SDK_ZIP_HOME=D:\infozip\bin 50set OO_SDK_ZIP_HOME= 51 | 1@echo off 2rem ************************************************************* 3rem 4rem Licensed to the Apache Software Foundation (ASF) under one 5rem or more contributor license agreements. See the NOTICE file 6rem distributed with this work for additional information 7rem regarding copyright ownership. The ASF licenses this file 8rem to you under the Apache License, Version 2.0 (the --- 35 unchanged lines hidden (view full) --- 44REM Directory of the make command. 45REM Example: set OO_SDK_MAKE_HOME=D:\NextGenerationMake\make 46set OO_SDK_MAKE_HOME= 47 48REM Directory of the zip tool. 49REM Example: set OO_SDK_ZIP_HOME=D:\infozip\bin 50set OO_SDK_ZIP_HOME= 51 |
52REM Directory of the cat tool. 53REM Example: set OO_SDK_CAT_HOME=C:\UnxUtils\usr\local\wbin\ 54set OO_SDK_CAT_HOME= 55 56REM Directory of the sed tool. 57REM Example: set OO_SDK_SED_HOME=C:\UnxUtils\usr\local\wbin\ 58set OO_SDK_SED_HOME= 59 |
|
52REM Directory of the C++ compiler. 53REM Example:set OO_SDK_CPP_HOME=C:\Program Files\Microsoft Visual Studio 9.0\VC\bin 54REM Example:set CPP_WINDOWS_SDK=C:\Program Files\\Microsoft SDKs\Windows\v6.0A\ 55set OO_SDK_CPP_HOME= 56set CPP_VC8= 57set CPP_WINDOWS_SDK= 58 59REM Directory of the C# and VB.NET compilers. --- 40 unchanged lines hidden (view full) --- 100 ) 101 102REM Check installation path for the zip tool. 103if not defined OO_SDK_ZIP_HOME ( 104 echo Error: the variable OO_SDK_ZIP_HOME is missing! 105 goto :error 106 ) 107 | 60REM Directory of the C++ compiler. 61REM Example:set OO_SDK_CPP_HOME=C:\Program Files\Microsoft Visual Studio 9.0\VC\bin 62REM Example:set CPP_WINDOWS_SDK=C:\Program Files\\Microsoft SDKs\Windows\v6.0A\ 63set OO_SDK_CPP_HOME= 64set CPP_VC8= 65set CPP_WINDOWS_SDK= 66 67REM Directory of the C# and VB.NET compilers. --- 40 unchanged lines hidden (view full) --- 108 ) 109 110REM Check installation path for the zip tool. 111if not defined OO_SDK_ZIP_HOME ( 112 echo Error: the variable OO_SDK_ZIP_HOME is missing! 113 goto :error 114 ) 115 |
116REM Check installation path for the cat tool. 117if not defined OO_SDK_CAT_HOME ( 118 echo Error: the variable OO_SDK_CAT_HOME is missing! 119 goto :error 120 ) 121 122REM Check installation path for the sed tool. 123if not defined OO_SDK_SED_HOME ( 124 echo Error: the variable OO_SDK_SED_HOME is missing! 125 goto :error 126 ) 127 |
|
108REM Set library path. 109set LIB=%OO_SDK_HOME%\lib;%LIB% 110if defined CPP_WINDOWS_SDK ( 111 set LIB=%LIB%;%CPP_WINDOWS_SDK%\lib 112 ) 113 114REM Set office program path. 115if defined OFFICE_HOME ( --- 39 unchanged lines hidden (view full) --- 155 ) 156 157REM Add directory of the command make to the path, if necessary. 158if defined OO_SDK_MAKE_HOME set PATH=%OO_SDK_MAKE_HOME%;%PATH% 159 160REM Add directory of the zip tool to the path, if necessary. 161if defined OO_SDK_ZIP_HOME set PATH=%OO_SDK_ZIP_HOME%;%PATH% 162 | 128REM Set library path. 129set LIB=%OO_SDK_HOME%\lib;%LIB% 130if defined CPP_WINDOWS_SDK ( 131 set LIB=%LIB%;%CPP_WINDOWS_SDK%\lib 132 ) 133 134REM Set office program path. 135if defined OFFICE_HOME ( --- 39 unchanged lines hidden (view full) --- 175 ) 176 177REM Add directory of the command make to the path, if necessary. 178if defined OO_SDK_MAKE_HOME set PATH=%OO_SDK_MAKE_HOME%;%PATH% 179 180REM Add directory of the zip tool to the path, if necessary. 181if defined OO_SDK_ZIP_HOME set PATH=%OO_SDK_ZIP_HOME%;%PATH% 182 |
183REM Add directory of the cat tool to the path, if necessary. 184if defined OO_SDK_CAT_HOME set PATH=%OO_SDK_CAT_HOME%;%PATH% 185 186REM Add directory of the sed tool to the path, if necessary. 187if defined OO_SDK_SED_HOME set PATH=%OO_SDK_SED_HOME%;%PATH% 188 |
|
163REM Add directory of the C++ compiler to the path, if necessary. 164if defined OO_SDK_CPP_HOME set PATH=%OO_SDK_CPP_HOME%;%PATH% 165 166REM Add directory of the C# and VB.NET compilers to the path, if necessary. 167if defined OO_SDK_CLI_HOME set PATH=%OO_SDK_CLI_HOME%;%PATH% 168 169REM Add directory of the Java tools to the path, if necessary. 170if defined OO_SDK_JAVA_HOME set PATH=%OO_SDK_JAVA_HOME%\bin;%OO_SDK_JAVA_HOME%\jre\bin;%PATH% --- 11 unchanged lines hidden (view full) --- 182echo * SDK environment is prepared for Windows 183echo * 184echo * SDK = %OO_SDK_HOME% 185echo * Office = %OFFICE_HOME% 186echo * Office Base = %OFFICE_BASE_HOME% 187echo * URE = %OO_SDK_URE_HOME% 188echo * Make = %OO_SDK_MAKE_HOME% 189echo * Zip = %OO_SDK_ZIP_HOME% | 189REM Add directory of the C++ compiler to the path, if necessary. 190if defined OO_SDK_CPP_HOME set PATH=%OO_SDK_CPP_HOME%;%PATH% 191 192REM Add directory of the C# and VB.NET compilers to the path, if necessary. 193if defined OO_SDK_CLI_HOME set PATH=%OO_SDK_CLI_HOME%;%PATH% 194 195REM Add directory of the Java tools to the path, if necessary. 196if defined OO_SDK_JAVA_HOME set PATH=%OO_SDK_JAVA_HOME%\bin;%OO_SDK_JAVA_HOME%\jre\bin;%PATH% --- 11 unchanged lines hidden (view full) --- 208echo * SDK environment is prepared for Windows 209echo * 210echo * SDK = %OO_SDK_HOME% 211echo * Office = %OFFICE_HOME% 212echo * Office Base = %OFFICE_BASE_HOME% 213echo * URE = %OO_SDK_URE_HOME% 214echo * Make = %OO_SDK_MAKE_HOME% 215echo * Zip = %OO_SDK_ZIP_HOME% |
216echo * cat = %OO_SDK_CAT_HOME% 217echo * sed = %OO_SDK_SED_HOME% |
|
190echo * C++ Compiler = %OO_SDK_CPP_HOME% 191echo * C# and VB.NET compilers = %OO_SDK_CLI_HOME% 192echo * Java = %OO_SDK_JAVA_HOME% 193echo * Special Output directory = %OO_SDK_OUT% 194echo * Auto deployment = %SDK_AUTO_DEPLOYMENT% 195echo * 196echo ****************************************************************** 197echo. 198goto end 199 200 :error 201Error: Please insert the necessary environment variables into the batch file. 202 203 :end | 218echo * C++ Compiler = %OO_SDK_CPP_HOME% 219echo * C# and VB.NET compilers = %OO_SDK_CLI_HOME% 220echo * Java = %OO_SDK_JAVA_HOME% 221echo * Special Output directory = %OO_SDK_OUT% 222echo * Auto deployment = %SDK_AUTO_DEPLOYMENT% 223echo * 224echo ****************************************************************** 225echo. 226goto end 227 228 :error 229Error: Please insert the necessary environment variables into the batch file. 230 231 :end |