Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.project and .cdtproject samples to work with C/C++ perspective.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2304 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Showing
2 changed files
with
179 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?eclipse-cdt version="2.0"?> | ||
|
||
<cdtproject id="org.eclipse.cdt.make.core.make"> | ||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> | ||
<extension id="org.eclipse.cdt.core.nullindexer" point="org.eclipse.cdt.core.CIndexer"/> | ||
<data> | ||
<item id="scannerConfiguration"> | ||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/> | ||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> | ||
<buildOutputProvider> | ||
<openAction enabled="true" filePath=""/> | ||
<parser enabled="true"/> | ||
</buildOutputProvider> | ||
<scannerInfoProvider id="specsFile"> | ||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | ||
<parser enabled="true"/> | ||
</scannerInfoProvider> | ||
</profile> | ||
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> | ||
<buildOutputProvider> | ||
<openAction enabled="false" filePath=""/> | ||
<parser enabled="true"/> | ||
</buildOutputProvider> | ||
<scannerInfoProvider id="makefileGenerator"> | ||
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/> | ||
<parser enabled="false"/> | ||
</scannerInfoProvider> | ||
</profile> | ||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> | ||
<buildOutputProvider> | ||
<openAction enabled="false" filePath=""/> | ||
<parser enabled="true"/> | ||
</buildOutputProvider> | ||
<scannerInfoProvider id="specsFile"> | ||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | ||
<parser enabled="false"/> | ||
</scannerInfoProvider> | ||
</profile> | ||
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> | ||
<buildOutputProvider> | ||
<openAction enabled="false" filePath=""/> | ||
<parser enabled="true"/> | ||
</buildOutputProvider> | ||
<scannerInfoProvider id="specsFile"> | ||
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | ||
<parser enabled="false"/> | ||
</scannerInfoProvider> | ||
</profile> | ||
</item> | ||
<item id="org.eclipse.cdt.core.pathentry"> | ||
<pathentry kind="src" path=""/> | ||
<pathentry kind="out" path=""/> | ||
<pathentry kind="con" path="org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"/> | ||
</item> | ||
<item id="org.eclipse.cdt.make.core.buildtargets"> | ||
<buildTargets> | ||
<target name="all" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> | ||
<buildCommand>make</buildCommand> | ||
<buildArguments>-f Makefile.omdev.mingw</buildArguments> | ||
<buildTarget>clean all</buildTarget> | ||
<stopOnError>false</stopOnError> | ||
<useDefaultCommand>false</useDefaultCommand> | ||
</target> | ||
<target name="all" path="Compiler/omc_release" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> | ||
<buildCommand>c:/OMDev/tools/msys/bin/make.exe</buildCommand> | ||
<buildArguments>-f Makefile.omdev.mingw</buildArguments> | ||
<buildTarget>clean all</buildTarget> | ||
<stopOnError>false</stopOnError> | ||
<useDefaultCommand>false</useDefaultCommand> | ||
</target> | ||
<target name="all" path="testsuite" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> | ||
<buildCommand>c:/OMDev/tools/msys/bin/make.exe</buildCommand> | ||
<buildArguments>-f Makefile</buildArguments> | ||
<buildTarget>all</buildTarget> | ||
<stopOnError>false</stopOnError> | ||
<useDefaultCommand>false</useDefaultCommand> | ||
</target> | ||
<target name="all" path="c_runtime" targetID="org.eclipse.cdt.make.MakeTargetBuilder"> | ||
<buildCommand>c:/OMDev/tools/msys/bin/make.exe</buildCommand> | ||
<buildArguments>-f Makefile.omdev.mingw</buildArguments> | ||
<buildTarget>clean all</buildTarget> | ||
<stopOnError>false</stopOnError> | ||
<useDefaultCommand>false</useDefaultCommand> | ||
</target> | ||
</buildTargets> | ||
</item> | ||
</data> | ||
</cdtproject> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>OpenModelica</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.make.core.makeBuilder</name> | ||
<triggers>clean,full,incremental,</triggers> | ||
<arguments> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.build.arguments</key> | ||
<value>-f Makefile.omdev.mingw</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.core.errorOutputParser</key> | ||
<value>org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.VCErrorParser;</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.enableAutoBuild</key> | ||
<value>false</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.environment</key> | ||
<value>SystemRoot=${env_var:SystemRoot}|OMDEV=/c/OMDev|TMP=${env_var:TMP}|CLASSPATH=${env_var:OMDEV}/bin/antlr/antlr.jar|COMSPEC=${env_var:COMSPEC}|OPENMODELICAHOME=c:\\bin\\cygwin\\home\\adrpo\\dev\\OpenModelica\\build|SystemDrive=${env_var:SystemDrive}|TEMP=${env_var:TEMP}|PATH=${env_var:OMDEV}/tools/mingw/bin;${env_var:OMDEV}/tools/msys/bin;${env_var:OMDEV}/tools/rml/bin/;${env_var:OMDEV}/tools/msys/local/bin;${env_var:OMDEV}/bin/mico/;c:/windows;c:/windows/system32;|OMC_BUILD_FROM=rml|</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.enableFullBuild</key> | ||
<value>true</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.build.target.inc</key> | ||
<value>all</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.enabledIncrementalBuild</key> | ||
<value>true</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.build.location</key> | ||
<value></value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.build.target.clean</key> | ||
<value>clean</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.build.command</key> | ||
<value>${env_var:OMDEV}\tools\msys\bin\make.exe</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.enableCleanBuild</key> | ||
<value>true</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.append_environment</key> | ||
<value>false</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.build.target.full</key> | ||
<value>all</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key> | ||
<value>false</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.build.target.auto</key> | ||
<value>all</value> | ||
</dictionary> | ||
<dictionary> | ||
<key>org.eclipse.cdt.make.core.stopOnError</key> | ||
<value>false</value> | ||
</dictionary> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.make.core.ScannerConfigBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.cdt.core.cnature</nature> | ||
<nature>org.eclipse.cdt.make.core.makeNature</nature> | ||
<nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature> | ||
<nature>org.eclipse.cdt.core.ccnature</nature> | ||
</natures> | ||
</projectDescription> |