From 92f24893a5e2d12d0c32662483117c7032623bf1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 13 Dec 2017 18:35:52 +0100 Subject: 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. --- include/Package.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include') 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 }; } -- cgit v1.2.3