setsdkenv_windows.template (a893be29) | setsdkenv_windows.template (8216e732) |
---|---|
1rem ************************************************************* 2rem 3rem Licensed to the Apache Software Foundation (ASF) under one 4rem or more contributor license agreements. See the NOTICE file 5rem distributed with this work for additional information 6rem regarding copyright ownership. The ASF licenses this file 7rem to you under the Apache License, Version 2.0 (the 8rem "License"); you may not use this file except in compliance --- 43 unchanged lines hidden (view full) --- 52 53REM Directory of the C++ compiler. 54REM Example: @set "OO_SDK_CPP_HOME=C:\Program Files\Microsoft Visual Studio 9.0\VC\bin" 55@set "OO_SDK_CPP_HOME=<your_input_here>" 56@set "CPP_MANIFEST=true" 57@set "CPP_WINDOWS_SDK=<your_input_here>" 58 59REM Directory of the C# and VB.NET compilers. | 1rem ************************************************************* 2rem 3rem Licensed to the Apache Software Foundation (ASF) under one 4rem or more contributor license agreements. See the NOTICE file 5rem distributed with this work for additional information 6rem regarding copyright ownership. The ASF licenses this file 7rem to you under the Apache License, Version 2.0 (the 8rem "License"); you may not use this file except in compliance --- 43 unchanged lines hidden (view full) --- 52 53REM Directory of the C++ compiler. 54REM Example: @set "OO_SDK_CPP_HOME=C:\Program Files\Microsoft Visual Studio 9.0\VC\bin" 55@set "OO_SDK_CPP_HOME=<your_input_here>" 56@set "CPP_MANIFEST=true" 57@set "CPP_WINDOWS_SDK=<your_input_here>" 58 59REM Directory of the C# and VB.NET compilers. |
60REM Example: @set "OO_SDK_CLI_HOME=C:\WINXP\Microsoft.NET\Framework\v1.0.3705" | 60REM Example: @set "OO_SDK_CLI_HOME=C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705" |
61@set "OO_SDK_CLI_HOME=<your_input_here>" 62 63REM Java SDK installation directory. 64REM Example: @set "OO_SDK_JAVA_HOME=C:\Program Files\Java\jdk1.6.0_05" 65@set "OO_SDK_JAVA_HOME=<your_input_here>" 66 67REM Special output directory 68REM Example: @set "OO_SDK_OUT=C:\openoffice4.0_sdk" --- 29 unchanged lines hidden (view full) --- 98 ) 99 100REM Check installation path for the sed tool. 101if not defined OO_SDK_SED_HOME ( 102 echo Error: the variable OO_SDK_SED_HOME is missing! 103 goto :error 104 ) 105 | 61@set "OO_SDK_CLI_HOME=<your_input_here>" 62 63REM Java SDK installation directory. 64REM Example: @set "OO_SDK_JAVA_HOME=C:\Program Files\Java\jdk1.6.0_05" 65@set "OO_SDK_JAVA_HOME=<your_input_here>" 66 67REM Special output directory 68REM Example: @set "OO_SDK_OUT=C:\openoffice4.0_sdk" --- 29 unchanged lines hidden (view full) --- 98 ) 99 100REM Check installation path for the sed tool. 101if not defined OO_SDK_SED_HOME ( 102 echo Error: the variable OO_SDK_SED_HOME is missing! 103 goto :error 104 ) 105 |
106REM Set library path. | 106REM Set library path. |
107@set "LIB=%OO_SDK_HOME%\lib;%LIB%" 108if defined CPP_WINDOWS_SDK ( 109 @set "LIB=%LIB%;%CPP_WINDOWS_SDK%\lib" 110 ) 111 112REM Set office program path. 113if defined OFFICE_HOME ( 114 @set "OFFICE_PROGRAM_PATH=%OFFICE_HOME%\program" --- 32 unchanged lines hidden (view full) --- 147if defined OO_SDK_CLI_HOME @set "PATH=%OO_SDK_CLI_HOME%;%PATH%" 148 149REM Add directory of the Java tools to the path, if necessary. 150if defined OO_SDK_JAVA_HOME @set "PATH=%OO_SDK_JAVA_HOME%\bin;%OO_SDK_JAVA_HOME%\jre\bin;%PATH%" 151 152REM Set environment for C++ compiler tools, if necessary. 153if defined OO_SDK_CPP_HOME call "%OO_SDK_CPP_HOME%\VCVARS32.bat" 154 | 107@set "LIB=%OO_SDK_HOME%\lib;%LIB%" 108if defined CPP_WINDOWS_SDK ( 109 @set "LIB=%LIB%;%CPP_WINDOWS_SDK%\lib" 110 ) 111 112REM Set office program path. 113if defined OFFICE_HOME ( 114 @set "OFFICE_PROGRAM_PATH=%OFFICE_HOME%\program" --- 32 unchanged lines hidden (view full) --- 147if defined OO_SDK_CLI_HOME @set "PATH=%OO_SDK_CLI_HOME%;%PATH%" 148 149REM Add directory of the Java tools to the path, if necessary. 150if defined OO_SDK_JAVA_HOME @set "PATH=%OO_SDK_JAVA_HOME%\bin;%OO_SDK_JAVA_HOME%\jre\bin;%PATH%" 151 152REM Set environment for C++ compiler tools, if necessary. 153if defined OO_SDK_CPP_HOME call "%OO_SDK_CPP_HOME%\VCVARS32.bat" 154 |
155REM Set tilte to identify the prepared shell. | 155REM Set title to identify the prepared shell. |
156title Shell prepared for SDK 157 158REM Prepare shell with all necessary environment variables. 159echo. 160echo ****************************************************************** 161echo * 162echo * SDK environment is prepared for Windows 163echo * --- 20 unchanged lines hidden --- | 156title Shell prepared for SDK 157 158REM Prepare shell with all necessary environment variables. 159echo. 160echo ****************************************************************** 161echo * 162echo * SDK environment is prepared for Windows 163echo * --- 20 unchanged lines hidden --- |