aboutsummaryrefslogtreecommitdiff
path: root/src/FileUtil.cpp
AgeCommit message (Collapse)Author
2020-07-06Use ranges for dependency versiondec05eba
2020-07-06Fix sibs builds for haikudec05eba
2020-07-06Add support for Haikudec05eba
2020-07-06Fix for windows & mingwdec05eba
2020-07-06Add cross compilation (mingw-w64 x86_64)dec05eba
Currently only cross compiling from linux64 to win64 works. Need to test cross compilation more, currently the cross compilation uses same profile as GCC, is that correct?
2020-07-06Fix bundle for non system librariesdec05eba
2020-07-06Add OpenBSD supportCharlie Root
2020-07-06Add support for macosdec05eba
2020-07-06Fix build for linuxdec05eba
2020-07-06Fix build with msvc (windows)dec05eba
Fix freeze when sub process (exec) returns a lot of data (in stdout)
2020-07-06Fix build for windowsdec05eba
2020-07-06Fix various things, add generated zig header files to global includedec05eba
Fix compile_commands.json missing build steps. Fix c includes -> zig includes flags. Fix crash when running sibs new/init without defining lang. Add generated zig header files to global include so they can be used from c/c++. Add zig and zig/c (using zig and c in the same project) examples.
2020-07-06Add sibs init to init project in existing directorydec05eba
2020-07-06Fix for windowsdec05eba
2018-04-23Do not include sibs lib dir in global includedec05eba
2018-01-02Add support for cmakedec05eba
Not working fully yet, will investigate why
2018-01-01Add config parsing for cmakedec05eba
cmake has not integrated yet, but it will parse... Add test script to easily run tests
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-30Add support for windows (ugly fast solution)dec05eba
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-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-10Change program arguments to use current path as project pathdec05eba
Option "-p" can be passed to specify another project path
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