Skip to content

Commit 146ab87

Browse files
committed
- add Eclipse files: .project-sample .externalToolBuilders/OMDev-MINGW-OpenModelicaBuilder.launch-sample
- update .gitignore
1 parent cb2452a commit 146ab87

File tree

3 files changed

+52
-1
lines changed

3 files changed

+52
-1
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType">
3+
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${workspace}"/>
4+
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="false"/>
5+
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
6+
<mapEntry key="OPENMODELICAHOME" value="${project_loc}/build"/>
7+
<mapEntry key="TMP" value="${env_var:TMP}"/>
8+
<mapEntry key="OMDEV" value="/c/OMDev/"/>
9+
<mapEntry key="OMC_BUILD_FROM" value="mo"/>
10+
<mapEntry key="SystemRoot" value="${env_var:SystemRoot}"/>
11+
<mapEntry key="CLASSPATH" value="${env_var:OMDEV}/bin/antlr/antlr.jar"/>
12+
<mapEntry key="PATH" value="${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;"/>
13+
<mapEntry key="OMC_BUILD_STATIC" value="/static"/>
14+
<mapEntry key="COMSPEC" value="${env_var:COMSPEC}"/>
15+
<mapEntry key="TEMP" value="${env_var:TEMP}"/>
16+
<mapEntry key="SystemDrive" value="${env_var:SystemDrive}"/>
17+
<mapEntry key="OPENMODELICALIBRARY" value="${project_loc}\build\lib\omlibrary\"/>
18+
</mapAttribute>
19+
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
20+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
21+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${env_var:OMDEV}\tools\msys\bin\make.exe"/>
22+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
23+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-f Makefile.omdev.mingw ${string_prompt}"/>
24+
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
25+
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${project_loc}"/>
26+
</launchConfiguration>

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ config.status
88
config.sub
99
configure
1010
install-sh
11-
.metadata/
11+
.metadata/
12+
.externalToolBuilders/
13+
.project-sample
14+
.project

.project-sample

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>OpenModelica</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
10+
<triggers>full,incremental,</triggers>
11+
<arguments>
12+
<dictionary>
13+
<key>LaunchConfigHandle</key>
14+
<value>&lt;project&gt;/.externalToolBuilders/OMDev-MINGW-OpenModelicaBuilder.launch</value>
15+
</dictionary>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.modelica.mdt.core.ModelicaNature</nature>
21+
</natures>
22+
</projectDescription>

0 commit comments

Comments
 (0)