Skip to content

Commit

Permalink
Merge pull request #63 from Berstanio/fix/allow-all-file-endings
Browse files Browse the repository at this point in the history
Allow processing all files that are defined by the includes
  • Loading branch information
PokeMMO committed Apr 14, 2024
2 parents 797bbdd + cc2076c commit 8a9004e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[2.5.2]
- Compile all files that are defined by cIncludes/cExcludes/cppIncludes/cppExcludes
- Add support for defining multiple source directories in the gradle plugin

[2.5.1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@
<targetfile/>
<fileset refid="g++-files"/>
<compositemapper>
<mapper type="glob" from="*.cpp" to="*.o"/>
<mapper type="glob" from="*.mm" to="*.o"/>
<mapper type="glob" from="*" to="*.o"/>
</compositemapper>
</apply>
<apply failonerror="true" executable="${gcc}" dest="${buildDir}/x86_64" verbose="true">
Expand All @@ -127,7 +126,7 @@
<targetfile/>
<fileset refid="gcc-files"/>
<compositemapper>
<mapper type="glob" from="*.c" to="*.o"/>
<mapper type="glob" from="*" to="*.o"/>
</compositemapper>
</apply>
</target>
Expand Down Expand Up @@ -165,8 +164,7 @@
<targetfile/>
<fileset refid="g++-files"/>
<compositemapper>
<mapper type="glob" from="*.cpp" to="*.o"/>
<mapper type="glob" from="*.mm" to="*.o"/>
<mapper type="glob" from="*" to="*.o"/>
</compositemapper>
</apply>
<apply failonerror="true" executable="${gcc}" dest="${buildDir}/arm64-simulator" verbose="true">
Expand All @@ -181,7 +179,7 @@
<targetfile/>
<fileset refid="gcc-files"/>
<compositemapper>
<mapper type="glob" from="*.c" to="*.o"/>
<mapper type="glob" from="*" to="*.o"/>
</compositemapper>
</apply>
</target>
Expand Down Expand Up @@ -218,8 +216,7 @@
<targetfile/>
<fileset refid="g++-files"/>
<compositemapper>
<mapper type="glob" from="*.cpp" to="*.o"/>
<mapper type="glob" from="*.mm" to="*.o"/>
<mapper type="glob" from="*" to="*.o"/>
</compositemapper>
</apply>
<apply failonerror="true" executable="${gcc}" dest="${buildDir}/arm64" verbose="true">
Expand All @@ -234,7 +231,7 @@
<targetfile/>
<fileset refid="gcc-files"/>
<compositemapper>
<mapper type="glob" from="*.c" to="*.o"/>
<mapper type="glob" from="*" to="*.o"/>
</compositemapper>
</apply>
</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@
<targetfile/>
<fileset refid="g++-files"/>
<compositemapper>
<mapper type="glob" from="*.cpp" to="*.o"/>
<mapper type="glob" from="*.mm" to="*.o"/>
<mapper type="glob" from="*" to="*.o"/>
</compositemapper>
</apply>
<apply failonerror="true" executable="${gcc}" dest="${buildDir}" verbose="true">
Expand All @@ -136,8 +135,7 @@
<targetfile/>
<fileset refid="gcc-files"/>
<compositemapper>
<mapper type="glob" from="*.c" to="*.o"/>
<mapper type="glob" from="*.m" to="*.o"/>
<mapper type="glob" from="*" to="*.o"/>
</compositemapper>
</apply>
</target>
Expand Down

0 comments on commit 8a9004e

Please sign in to comment.