aboutsummaryrefslogtreecommitdiff
path: root/src/Conf.cpp
AgeCommit message (Collapse)Author
2017-12-30Merge release_0.1.0 to masterdec05eba
Add support for windows
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-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-16Add support for sub project (unit tests)dec05eba
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-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-10Remove frivilous debugging statementsdec05eba
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 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
2017-12-09Finished project config file parsingdec05eba
2017-12-08Added loading of project file and file validationsdec05eba
Next up: parse project.conf file