The environment variable DEV_ROOT points to this root of development tree. RULE 1 - All projects have their own folder and all project folders are in one parent folder. You must adhere to the principles shown in the tip mentioned before. Each one for these has its own Git repository. Both cool_A and cool_B use code from another library utils. Far Manager works in text mode and provides a simple and intuitive interface for performing most of the necessary actions: viewing files and directories, editing, copying and renaming files and many other operations. In using this tool, there are two parts: one is projects' layout that must follow a certain pattern and the second is to describe projects' dependency tree using a small JSON file for each project.Īs an example, let us consider two libraries, cool_A and cool_B that need to be used in an application super_App. Far Manager is a program for managing files and archives in Windows operating systems. It doesn't do many other things including, but not limited to: It builds a C/C++ project that depends on many other C/C++ libraries.It is a simple tool that does only a very specific job: Now I decided to take this one step forward and provide a tool that automates this process. It shows how you can organize multiple C/C++ projects using symbolic links. After trying different solutions, I ended up with my own system that I described it in a previous tip ( Eat Your Own Dogfood). Just Google for Git submodules or Bitbucket subtrees and you will find references exhorting you to use one or the other and immediately after, other references warning you to avoid those as plague. Unfortunately, when it comes to reusing code between different repositories, there is far less agreement on how it should be done. Today, software development world has pretty much standardized on using Git as version control system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |