aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-13 18:35:52 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-13 18:37:07 +0100
commit92f24893a5e2d12d0c32662483117c7032623bf1 (patch)
tree2fac67d414383465f1257a875d7a23ab3cfd9814 /include
parentf2c70dfaba8d6481e86646080c51b6874d95f14e (diff)
Fix linking issue (linking in wrong order)
Change program argument handling. Add new program argument "new" to create a new sibs project which creates a project with all necessary files and also uses git init (ignores failure, for example if git is not installed). Change build path from "build" to "sibs-build" to prevent name clashing since "build" is a common name for directories.
Diffstat (limited to 'include')
-rw-r--r--include/Package.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/Package.hpp b/include/Package.hpp
index 130e987..106a48d 100644
--- a/include/Package.hpp
+++ b/include/Package.hpp
@@ -5,7 +5,19 @@ namespace sibs
{
enum class PackageType : int
{
+ // Compile as executable when compiling project with this directly.
+ // If used in dependency, then fail because you can't (currently) have dependency to executable.
EXECUTABLE,
+
+ // Compile as static library when compiling project with this directly.
+ // If used in dependency, then this is the preferred library type, but the dependant project can override this.
+ STATIC,
+
+ // Compile as dynamic library when compiling project with this directly.
+ // If used in dependency, then this is the preferred library type, but the dependant project can override this.
+ DYNAMIC,
+
+ // Identical to DYNAMIC
LIBRARY
};
}