Introducing FIDO, a Minimalistic, IDE-Agnostic C/C++ Project Generator.



I don’t know you, but I always find myself performing the same kind of stuff over and over again dozens of times per month, such as:

  • Create project folder.
  • Create src and include folders.
  • Fill them with a basic main.c(pp)
  • Create the Makefile, fill tue rules.

What about remembering all the times how to set the SYSROOT variable when I’m using the Android NDK?
Or maybe create the CMakeLists.txt and try to remember each directive, which I don’t, so I find myself googling for the same kind of stuff over and over … and btw it’s funny since I happen to use CMake for years now.

So I decided that I had enough of this, when I want to test just a simple line of C/C++ code it takes me more time to create all the project folder tree than to write the code itself … and FIDO was born.

FIDO is a minimalistic C/C++ IDE-agnostic project generator supporting various templates, currently it sopports:

     android-make-c : Create a native Android C project based on Makefile.
   android-make-cpp : Create a native Android C++ project based on Makefile.
android-ndk-build-c : Create a native Android C project based on the ndk-build utility.
            cmake-c : Create a C project based on CMake.
          cmake-cpp : Create a C++ project based on CMake.
             make-c : Create a C project based on Makefile.
           make-cpp : Create a C++ project based on Makefile.

The installation is easy, I’ll package it for PIP soon, but for now you just need to:

python setup.py build
sudo python setup.py install

Once you installed it, all you need to do is to invoke fido create [template-name] [project-name] and it will automagically create everything for you in less than one second.

This is an ASCII cast you can watch as an example:

Enjoy ^_^