aboutsummaryrefslogtreecommitdiff
path: root/src/GlobalLib.cpp
AgeCommit message (Collapse)Author
2017-12-30Add support for windows (ugly fast solution)dec05eba
2017-12-28Add optimization level option to buildingdec05eba
2017-12-16Modify ninja interface to build after creating build filedec05eba
This setup is needed because we need to build the project before building tests
2017-12-16Add support for sub project (unit tests)dec05eba
2017-12-14Add support for dynamic libraries (shared objects)dec05eba
2017-12-13Change linking order for pkg-configdec05eba
Linking should be added in the order of dependencies. Modified linking logic to check global lib dir if pkg-config fails (missing package, pkg-config is not installed or any other reason), also required for Windows.
2017-12-13Fix linking issue (linking in wrong order)dec05eba
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.
2017-12-12Lazily create directories that are neededdec05eba
Directories such as: ~/.sibs ~/.sibs/archive ~/.sibs/lib And directories for each specific library. Also fix bug in getFileContent and fileOverwrite if file already exists
2017-12-12Download and extract missing dependencies from githubdec05eba
Using libcurl and libarchive
2017-12-11Add package type to project.confdec05eba
Type can be either executable or library. Executable: project compiles to an executable binary. Library: project compiles to either a static or dynamic library, depending on what how the dependent project wants the dependency to compile. With having type in project.conf, you cant include wrong type of project (an executable including another executable, conflicting main functions).
2017-12-10Do not build dependency as library if it's header only librarydec05eba
2017-12-10Remove frivilous debugging statementsdec05eba
2017-12-10Add support for recursive global lib dependenciesdec05eba
2017-12-10Add support for dependencies in global lib dirdec05eba
Global lib dir is located at ~/.sibs/lib TODO: If global lib dir doesn't exist, download it from github/server