diff --git a/README.md b/README.md index efeb224..2a21c2a 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # libds - Data Structures -Why? I've written a rbtree and used in two project (I duplicated it). -I need to maintain same source in two project, +Why? I've written a rbtree and used in two project (I duplicated it). +I need to maintain same source in two project, I mean that if I fix a bug in one project then I need to copy-paste to another, it is hard to maintain. -Currently I need another data structures e.g. hashtable, octree... +Currently I need another data structures e.g. hashtable, octree... now it is better to separate common data structures as external library I think `ds` namespace is very good choice, we can use it like this: @@ -19,8 +19,36 @@ I think `ds` namespace is very good choice, we can use it like this: - [ ] octree - [ ] quadtree -# Build +# Build todo # License MIT. check the LICENSE file + +## Build + +### Unix (Autotools) + +```text +$ sh ./build-deps.sh # run only once (dependencies) +$ +$ sh autogen.sh +$ ./configure +$ make +$ make install +$ [sudo] make install +``` + +### Windows (MSBuild) +Windows related build files, project files are located in `win` folder, +make sure you are inside `libds/win` folder. +Code Analysis are enabled, it may take awhile to build + +```Powershell +$ cd win +$ .\build.bat +``` +if `msbuild` won't work (because of multi version VS) then try to build with `devenv`: +```Powershell +$ devenv libds.sln /Build Release +``` diff --git a/win/libds.vcxproj.filters b/win/libds.vcxproj.filters index 2cd0b89..5d7484d 100644 --- a/win/libds.vcxproj.filters +++ b/win/libds.vcxproj.filters @@ -21,9 +21,6 @@ - - Header Files - include\ds