Install ant-contrib-cpptasks by entering the following commands in the terminal:
sudo apt update sudo apt install ant-contrib-cpptasks
C/C++ compilation tasks for Ant.
The cc task can compile various source languages and produce executables, shared libraries (aka DLL's) and static libraries. Compiler adaptors are currently available for C/C++, FORTRAN, MIDL and Windows Resource compilers.