Skip to content

Commit 53df8ca

Browse files
committed
add plugin-util module to project, revert expansion of _SRCS/_HDRS name
1 parent ef59011 commit 53df8ca

File tree

12 files changed

+105
-40
lines changed

12 files changed

+105
-40
lines changed

.idea/artifacts/plugin_util_cas_jar.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/plugin_util.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.idea/libraries/vladsch_flexmark_tree_iteration.xml

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/vladsch_flexmark_util.xml

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CLionArduinoPlugin.iml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
<sourceFolder url="file://$MODULE_DIR$/test-resources" type="java-test-resource" />
1111
</content>
1212
<orderEntry type="library" name="com.vladsch.flexmark:flexmark:0.64.0" level="project" />
13-
<orderEntry type="library" name="plugin-util" level="project" />
1413
<orderEntry type="inheritedJdk" />
1514
<orderEntry type="library" scope="PROVIDED" name="clion" level="project" />
1615
<orderEntry type="sourceFolder" forTests="false" />
1716
<orderEntry type="library" name="jssc" level="project" />
1817
<orderEntry type="library" name="commons-io-2.4" level="project" />
1918
<orderEntry type="library" name="Kotlin" level="project" />
2019
<orderEntry type="library" name="com.vladsch.flexmark:flexmark-test-util:0.64.0" level="project" />
21-
<orderEntry type="library" name="hamcrest-core-1.3" level="project" />
22-
<orderEntry type="library" name="junit-4.13.2" level="project" />
20+
<orderEntry type="library" scope="TEST" name="hamcrest-core-1.3" level="project" />
21+
<orderEntry type="library" scope="TEST" name="junit-4.13.2" level="project" />
22+
<orderEntry type="module" module-name="plugin-util-cas" />
2323
</component>
2424
</module>

VERSION.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
### Version History
66
- [CLionArduinoPlugin Version Notes](#clionarduinoplugin-version-notes)
77
- [TO DO](#to-do)
8-
- [1.5.26 Next](#1526-next)
8+
- [1.5.30 Next](#1530-next)
9+
- [1.5.25 Next](#1525-next)
910
- [1.5.11](#1511)
1011
- [1.5.9](#159)
1112
- [1.5.7](#157)
@@ -52,7 +53,12 @@
5253
* Add: inspection to check that `CMakeLists.txt` is out of sync, especially if missing the
5354
toolchain file.
5455

55-
### 1.5.26 Next
56+
### 1.5.30 Next
57+
58+
* Fix: revert macro name for `_SRCS` and `_HRDS` to be resoved but the arguments to remain
59+
unresolved.
60+
61+
### 1.5.25 Next
5662

5763
* Fix: resolve white space preservation in regenerated `CMakeLists.txt` file. Only changing text
5864
for values which were changed.

lib/plugin-util.jar

-2.34 KB
Binary file not shown.

resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<name>Arduino Support</name>
55
<vendor email="vladimir.schneider@gmail.com" url="https://github.com/vsch">Vladimir Schneider</vendor>
66

7-
<version>1.5.25</version>
7+
<version>1.5.29</version>
88
<!-- please see https://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
99
on how to target different products -->
1010
<depends>com.intellij.modules.clion</depends>

src/com/vladsch/clionarduinoplugin/generators/cmake/ArduinoCMakeListsTxtBuilder.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ class ArduinoCMakeListsTxtBuilder : CMakeListsTxtBuilder {
313313
val cMakeProjectName = builder.cMakeProjectName
314314

315315
settings.projectName = cMakeProjectName ?: ""
316-
settings.sources = cMakeVariableValues["${builder.cMakeProjectNameMacro}_SRCS"].toTypedArray()
317-
settings.headers = cMakeVariableValues["${builder.cMakeProjectNameMacro}_HDRS"].toTypedArray()
316+
settings.sources = cMakeVariableValues["${cMakeProjectName}_SRCS"].toTypedArray()
317+
settings.headers = cMakeVariableValues["${cMakeProjectName}_HDRS"].toTypedArray()
318318
settings.sketch = cMakeVariableValues["${cMakeProjectName}_SKETCH"].firstOrNull() ?: ""
319319
settings.boardId = cMakeVariableValues["${cMakeProjectName}_BOARD"].firstOrNull() ?: ""
320320
settings.cpuId = cMakeVariableValues["ARDUINO_CPU"].firstOrNull() ?: ""

0 commit comments

Comments
 (0)