aboutsummaryrefslogtreecommitdiff
path: root/backend/ninja/Ninja.cpp
AgeCommit message (Collapse)Author
2018-01-26Add tododec05eba
2018-01-26Use 'script' to get colored output for ninja builddec05eba
2018-01-26Add git dependenciesdec05eba
2018-01-11Generate dependency file (recompile source files when header files are modified)dec05eba
2018-01-07Add c/c++ language version option, compile c/cc files with c compilerdec05eba
2018-01-07Add 'ldl' linking flag on linuxdec05eba
This enabled the use of dynamic lib functions such as dlopen, dlclose. Should there be a flag to disable this?
2018-01-06Fix dynamic lib dependencies in packages with no source filesdec05eba
Packages with no source files do not output a library that is included by dependencies, so we need to give our dependencies to the dependant package
2018-01-05Do not generate debug info if building releasedec05eba
2018-01-05Get cflags from pkg config dependencydec05eba
2018-01-04Use packages list to find packagesdec05eba
2018-01-03Add custom define optiondec05eba
2018-01-03Add "sibs test" command. Tests are only run when that command is invokeddec05eba
2018-01-03Add _CONSOLE and _LIB define for windowsdec05eba
2018-01-02Add missing return statement causing segfaultdec05eba
Added compile flags to give error when missing return statement
2018-01-01Use correct directory for tests depending on optimization leveldec05eba
2017-12-31Add windows standard lib files to builddec05eba
Add optimization flag for debug/release for msvc
2017-12-31Add missing defines (WIN32, WIN64), fix static lib name on windowsdec05eba
2017-12-31Add static linking for msvcdec05eba
2017-12-31Add support for global configdec05eba
2017-12-31Add cmake building, add ignore dirs optiondec05eba
Sometimes it's not possible to build new sibs with older sibs because of changes that break backwards compatbility. If sibs installation fails with sibs, use cmake.
2017-12-31Sibs can now build itself on windowsdec05eba
Fixed several bugs. The windows implementation IS QUICK AND DIRTY! It links things as static even if you wish to link as dynamic etc..... NEED TO FIX THIS !!!
2017-12-30Merge release_0.1.0 to masterdec05eba
Add support for windows
2017-12-30Starting support for other languages than c/c++dec05eba
2017-12-30Add support for windows (ugly fast solution)dec05eba
2017-12-28Add support for tests in a package where type is executabledec05eba
2017-12-28Replace cmake with sibs. Sibs builds itself nowdec05eba
If you dont already have sibs to build sibs, download first release: https://github.com/DEC05EBA/sibs/archive/0.1.0.tar.gz Then you can install new version of sibs
2017-12-28Add optimization level option to buildingdec05eba
2017-12-28Add package include dirs configdec05eba
Fix getRealPath returning corrupt path. This allows you to specifying a list of include dirs under [package], like: [package] name = "blabla" include_dirs = ["include"] There are many libraries that include paths to header files like this, so when including a header file, you dont have to specify relative path to header files (which can be long), and you can use same path no matter where you are including header from. Currently include_dirs is not propagated to dependant packages and im not sure if they should be, from the looks of it the reason you want include_dirs is internal package setup.
2017-12-28Add curl get, add packages filedec05eba
2017-12-16Replace lpthread with pthreaddec05eba
2017-12-16Add pthreads to build commanddec05eba
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-16Remove unnecessary include dir in builddec05eba
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-10Do not build dependency as library if it's header only librarydec05eba
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
2017-12-09Add project compilation after ninja file is createddec05eba
2017-12-09Add support for dependencies (including version check)dec05eba
This currently only works using pkg-config and it only adds linking flags. Need to check with a library that also includes other types of flags. TODO: Fallback to dependencies sub directory and github/server if package not found in pkg-config.
2017-12-09Added ninja backend, very simple project worksdec05eba