From 060ca05a784b226041dbd4e12cf0c153101e4bee Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 21 Mar 2018 15:05:04 +0100 Subject: Add info about sub projects --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 3077f22..57041f7 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,10 @@ Dependencies are automatically choosen from system (linux, mac) or if no package The dependency can also be a git project, in which case it will have the fields 'git' and optionally 'branch' and 'revision'. 'git' specifies the url to the git repository, 'branch' is the git branch that should be used - defaults to 'master'. 'revision' is the git revision to checkout, defaults to 'HEAD' (latest commit). + +Dependencies can also be added to a project but adding sub directories with project.conf file. +The best way to do this is to create another git project for the dependency and then adding that git project as a git submodule. +Using sub projects allows you to modify dependency and propagate changes to dependant project without pushing changes to remote git repository (faster development). ## lang.* Optional. Allows you to change language specific configuration. \[lang.c] is for C and \[lang.cpp] is for C++. Version specifies the language version, for \[lang.c] the version can be ansi, c89, c99 or c11 - if not set, c11 will be used. -- cgit v1.2.3