source: rtems-eclipse-plug-in/org.rtems.cdt.toolchain2/org/rtems/cdt/Constants.java @ 493763b

Last change on this file since 493763b was 493763b, checked in by Sebastian Huber <sebastian.huber@…>, on 12/01/08 at 09:59:31

Added tool options parser.
Removed obsolete properties and preferences.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1/*
2 * Copyright (c) 2008
3 * Embedded Brains GmbH
4 * Obere Lagerstr. 30
5 * D-82178 Puchheim
6 * Germany
7 * rtems@embedded-brains.de
8 *
9 * The license and distribution terms for this file may be found in the file
10 * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
11 */
12
13package org.rtems.cdt;
14
15public class Constants {
16        public static final String PATH_SEPERATOR = System.getProperty( "path.separator");
17       
18        public static final String DEFAULT_BASE_PATH = "/opt/rtems-4.9";
19       
20        public static final String DEFAULT_BSP_PATH = "/opt/rtems-4.9/powerpc-rtems4.9/psim";
21
22        public static final String KEY_PREFIX = "org.rtems.cdt";
23       
24        public static final String BASE_PATH_KEY = KEY_PREFIX + ".basePath";
25       
26        public static final String BSP_PATH_KEY = KEY_PREFIX + ".bspPath";
27
28        public static final String TOOL_KEY_PREFIX = KEY_PREFIX + ".tool";
29       
30        public static final String TOOL_ARCHIVER_KEY = TOOL_KEY_PREFIX + ".archiver";
31       
32        public static final String TOOL_ASSEMBLER_KEY = TOOL_KEY_PREFIX + ".assembler";
33       
34        public static final String COMPILER_KEY_PREFIX = TOOL_KEY_PREFIX + ".compiler";
35       
36        public static final String TOOL_COMPILER_C_KEY = COMPILER_KEY_PREFIX + ".c";
37       
38        public static final String TOOL_COMPILER_CPP_KEY = COMPILER_KEY_PREFIX + ".cpp";
39       
40        public static final String LINKER_KEY_PREFIX = TOOL_KEY_PREFIX + ".linker";
41       
42        public static final String TOOL_LINKER_C_KEY = LINKER_KEY_PREFIX + ".c";
43       
44        public static final String TOOL_LINKER_CPP_KEY = LINKER_KEY_PREFIX + ".cpp";
45       
46        public static final String TOOL_OPTIONS_KEY_POSTFIX = ".options";
47       
48        public static final String TOOL_OPTIONS_ARCHIVER_KEY = TOOL_ARCHIVER_KEY + TOOL_OPTIONS_KEY_POSTFIX;
49       
50        public static final String TOOL_OPTIONS_ASSEMBLER_KEY = TOOL_ASSEMBLER_KEY + TOOL_OPTIONS_KEY_POSTFIX;
51       
52        public static final String TOOL_OPTIONS_COMPILER_C_KEY = TOOL_COMPILER_C_KEY + TOOL_OPTIONS_KEY_POSTFIX;
53       
54        public static final String TOOL_OPTIONS_COMPILER_CPP_KEY = TOOL_COMPILER_CPP_KEY + TOOL_OPTIONS_KEY_POSTFIX;
55       
56        public static final String TOOL_OPTIONS_LINKER_C_KEY = TOOL_LINKER_C_KEY + TOOL_OPTIONS_KEY_POSTFIX;
57       
58        public static final String TOOL_OPTIONS_LINKER_CPP_KEY = TOOL_LINKER_CPP_KEY + TOOL_OPTIONS_KEY_POSTFIX;
59       
60        private Constants() {
61                // Do nothing
62        }
63}
Note: See TracBrowser for help on using the repository browser.