Copy a main function of default main.cpp into src/main.cpp and delete the former.