THIS UTILITY IS MAINLY MEANT FOR GENERATING C PROJECT FOLDERS, BUT THE SOURCE CODE SHOULD BE EASY TO CONFIGURE FOR YOUR LANGUAGE OF CHOICE. THIS UTILI

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-10-28 01:30:03

THIS UTILITY IS MAINLY MEANT FOR GENERATING C PROJECT FOLDERS, BUT THE SOURCE CODE SHOULD BE EASY TO CONFIGURE FOR YOUR LANGUAGE OF CHOICE.

THIS UTILITY HAS BIAS TOWARDS GCC, HOWEVER IT SHOULD BE EASY TO ALTER THE SOURCE CODE TO PREPARE THE MAKEFILE FOR THE COMPILER OF YOUR CHOICE.

GNU C COMPILER (You can swap it for any C compiler in the source code by changing the CC variable in the printf function in S1. Alternatively, you could go for a different language entirely since gtags supports several other languages.)

GNU EMACS (I havent really designed this script for other editors, but you are free to hack it for your own use case. Remove the emacsclient line and replace it with whatever command to launch editor you use and find an equivalent to ggtags)

In order to get all the includes and libs in one directory to make the process easier, I created a new directory in my home folder named il and a subdirectory named SDL2, and I ran ./configure --prefix=$HOME/il/SDL2 in order to gaslight the makefile into thinking thats where it should throw all the files in after running make install.

Leave a Comment