aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-03-21 15:05:04 +0100
committerdec05eba <dec05eba@protonmail.com>2018-03-21 15:05:12 +0100
commit060ca05a784b226041dbd4e12cf0c153101e4bee (patch)
treef2465bd0988d9ddb3066d800b3951ef9340afcb8
parent23117906c571714b0b55caf35cf9f876d1f9fa2e (diff)
Add info about sub projects
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
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.