</handler>
</extension>
- <!-- 1 -->
- <extension
- point="org.eclipse.cdt.managedbuilder.core.buildDefinitions">
- <toolChain
- configurationEnvironmentSupplier="org.tizen.nativeplatform.build.PlatformConfigurationEnvVarSupplier"
- id="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.base"
- isAbstract="false"
- name="[SBOX2] GCC-4.5 Custom Debian"
- osList="linux"
- superClass="com.samsung.slp.nativeide.toolchain.sbi.gnu.base">
- <builder
- autoBuildTarget="build"
- buildfileGenerator="org.tizen.nativecommon.build.OldProjectMakeGenerator"
- cleanBuildTarget="clean"
- command="sbi-make"
- commandLauncher="org.tizen.nativecommon.build.CommonBuildCommandLauncher"
- id="org.tizen.nativeapp.target.sbi.gcc45sbox2.builder.cdeb"
- incrementalBuildTarget="build"
- name="Tizen Custom Debian Builder">
- </builder>
- <tool
- id="com.samsung.slp.nativeide.tool.sbi.gnu.archiver.cdeb.base"
- superClass="com.samsung.slp.nativeide.tool.sbi.gnu.archiver.base">
- <enablement
- type="ALL">
- <false/>
- </enablement>
- </tool>
- <tool
- id="com.samsung.slp.nativeide.tool.sbi.gnu.cpp.compiler.cdeb.base"
- superClass="com.samsung.slp.nativeide.tool.sbi.gnu.cpp.compiler.base">
- <enablement
- type="ALL">
- <false/>
- </enablement>
- </tool>
- <tool
- id="com.samsung.slp.nativeide.tool.sbi.gnu.c.compiler.cdeb.base"
- superClass="com.samsung.slp.nativeide.tool.sbi.gnu.c.compiler.base">
- <enablement
- type="ALL">
- <false/>
- </enablement>
- </tool>
- <tool
- id="com.samsung.slp.nativeide.tool.sbi.gnu.c.linker.cdeb.base"
- superClass="com.samsung.slp.nativeide.tool.sbi.gnu.c.linker.base">
- <enablement
- type="ALL">
- <false/>
- </enablement>
- </tool>
- <tool
- id="com.samsung.slp.nativeide.tool.sbi.gnu.cpp.linker.cdeb.base"
- superClass="com.samsung.slp.nativeide.tool.sbi.gnu.cpp.linker.base">
- <enablement
- type="ALL">
- <false/>
- </enablement>
- </tool>
- <tool
- id="com.samsung.tizen.nativeapp.tool.sbi.gnu.assembler.cdeb.base"
- superClass="com.samsung.tizen.nativeapp.tool.sbi.gnu.assembler.base">
- <enablement
- type="ALL">
- <false/>
- </enablement>
- </tool>
- </toolChain>
-
- <projectType
- buildArtefactType="com.samsung.slp.nativeide.buildArtefactType.cdeb"
- id="com.samsung.slp.nativebuild.target.sbi.gcc45sbox2.cdeb"
- isAbstract="false"
- isTest="false">
- <configuration
- cleanCommand="rm -f"
- errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
- id="com.samsung.slp.nativeide.config.sbi.gcc45sbox2.cdeb.emulator"
- name="Tizen-Emulator">
- <toolChain
- id="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.emulator"
- superClass="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.base">
- </toolChain>
- </configuration>
- <configuration
- cleanCommand="rm -f"
- errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;"
- id="com.samsung.slp.nativeide.config.sbi.gcc45sbox2.cdeb.device"
- name="Tizen-Device">
- <toolChain
- id="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.device"
- superClass="com.samsung.slp.nativeide.toolchain.sbi.gcc45sbox2.cdeb.base">
- </toolChain>
- </configuration>
- </projectType>
- </extension>
-
- <extension
- point="org.eclipse.cdt.managedbuilder.core.buildProperties">
- <propertyValue
- id="com.samsung.slp.nativeide.buildArtefactType.cdeb"
- name="Tizen Custom Debian Project"
- property="org.eclipse.cdt.build.core.buildArtefactType">
- </propertyValue>
- </extension>
-
- <!-- 2 -->
<extension
point="org.eclipse.cdt.managedbuilder.core.buildDefinitions">
<toolChain
public static final String SBI_I386_OBS_TOOLCHAIN_NAME = "gcc45obs.i386.platform";
public static final String SBI_I386_ROOTSTRAP_NAME = "tizen-emulator-1.0.obs";
- public static final String TIZEN_CUSTOM_DEBIAN_ARTIFACT_TYPE_OLD = "com.samsung.slp.nativeide.buildArtefactType.cdeb";
- public static final String SBI_PROJECT_TYPE_ID_OLD = "com.samsung.slp.nativebuild.target.sbi.gcc45sbox2.cdeb";
- public static final String SBI_DEFAULT_I386_CONFIGRATION_ID_OLD = "com.samsung.slp.nativeide.config.sbi.gcc45sbox2.cdeb.emulator";
- public static final String SBI_DEFAULT_ARM_CONFIGRATION_ID_OLD = "com.samsung.slp.nativeide.config.sbi.gcc45sbox2.cdeb.device";
-
// get compiler flags
public static String getAllCFlags( IConfiguration config )
{
String c_compiler_id = SBI_BASE_C_COMPILER_TOOL_ID;
-
- // TODO: should be removed
- if ( isOldConfiguration(config) ) {
- c_compiler_id = SBI_BASE_C_COMPILER_TOOL_ID_OLD;
- }
-
return getAllCompilerFlags( config, c_compiler_id );
}
public static String getAllCPPFlags( IConfiguration config )
{
String cpp_compiler_id = SBI_BASE_CPP_COMPILER_TOOL_ID;
-
- // TODO: should be removed
- if ( isOldConfiguration(config) ) {
- cpp_compiler_id = SBI_BASE_CPP_COMPILER_TOOL_ID_OLD;
- }
-
return getAllCompilerFlags( config, cpp_compiler_id );
}