lib/mingle already has a C++ source, requiring it to link against the C++
standard library. There is no advantage to keeping some of its sources in C.
This does nothing fancy, just rename the existing file. All contained code looks
compatible across C and C++. Future commits will refactor this to more modern
C++ style.
Gitlab: #2154
# Source files
agglomerative_bundling.c
edge_bundling.c
- ink.c
+ ink.cpp
nearest_neighbor_graph.c
nearest_neighbor_graph_ann.cpp
)
noinst_LTLIBRARIES = libmingle_C.la
endif
-libmingle_C_la_SOURCES = edge_bundling.c ink.c agglomerative_bundling.c nearest_neighbor_graph.c nearest_neighbor_graph_ann.cpp
+libmingle_C_la_SOURCES = edge_bundling.c ink.cpp agglomerative_bundling.c \
+ nearest_neighbor_graph.c nearest_neighbor_graph_ann.cpp
EXTRA_DIST = minglelib.vcxproj*
<ItemGroup>
<ClCompile Include="agglomerative_bundling.c" />
<ClCompile Include="edge_bundling.c" />
- <ClCompile Include="ink.c" />
+ <ClCompile Include="ink.cpp" />
<ClCompile Include="nearest_neighbor_graph.c" />
<ClCompile Include="nearest_neighbor_graph_ann.cpp" />
</ItemGroup>
<ClCompile Include="edge_bundling.c">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="ink.c">
+ <ClCompile Include="ink.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="nearest_neighbor_graph.c">