aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-01 05:05:22 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit69c7ec31219d666bba4f053fcce07d4df58b8ba2 (patch)
tree8811e14fa75a76ba09f625299a397fb839c7c135
parente2d947ccd6947c9190569fedbb4a90505b5fe9a5 (diff)
Update README, remove old TODO
-rw-r--r--README.md4
-rw-r--r--src/main.cpp6
2 files changed, 2 insertions, 8 deletions
diff --git a/README.md b/README.md
index 67c2e4e..cb7158b 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
Sibs is still in very early testing phase, should only be used if you want to toy around with it. Every new release can have changes that break backwards compatibility since the design has not been decided yet.
Sibs is inspired by [Cargo](https://github.com/rust-lang/cargo/), you can think of it like a C/C++/Zig version of Cargo.
-Zig support has not been tested properly yet and currently always links to c library and requires a C/C++ compiler to build (for linking).
+Zig support has not been tested properly yet and currently always links to c library.
You can run zig tests with `sibs test --file filepath` or `sibs test --all-files`.
Currently zig tests are cached because ninja build system is used, which means if source files do not change between runs.
Currently zig files generate header files and include exported functions into sibs-build/generated-headers/zig and the generated headers
@@ -102,7 +102,7 @@ Required. Should be one of: "executable", "static", "dynamic", "library"
Required. Version string has to be in the format of "xxx.yyy.zzz" where xxx is major, yyy is minor and zzz is patch
### platforms
Required. A list of platforms the package supports. Can contain the following values: "any", "linux", "linux32", "linux64", "win", "win32", "win64", "macos32", "macos64", "bsd", "openbsd", "openbsd32", "openbsd64".
-If platforms contains "any", then other there is no need to specify other platforms
+If platforms contains "any" then there is no need to specify other platforms
### authors
Optional. A list of authors
## dependencies
diff --git a/src/main.cpp b/src/main.cpp
index 6a330ca..290ed9e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -61,12 +61,6 @@ using namespace std::chrono;
// to compare strings. Duplicate options can happen if for example a project has two dependencies and both dependencies
// have dependency on the same package (would be common for example with boost libraries or libraries that dpepend on boost)
-// TODO: Create symlink to dependencies, for example if we have dependency on xxhash which has xxhash.h in its root directory,
-// then you should be able to include it from dependant project by typing #include "xxhash/xxhash.h"
-// that means we create a symlink with the dependency name to the dependency version directory.
-// This will make it easier to prevent clashes in header file names and it's easier to see from the include statement
-// what exactly we are including.
-
// TODO: Implement link-time-optimization which should be used if building with a certain optimization level (sibs build)
// TODO (bug): Fix issue where running sibs-build in a project that uses cmake wont build and run tests