From 8e2daa0324362f3d4b8378e1b7e9c37fa0a6ee38 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Wed, 8 Feb 2017 11:37:43 +0330 Subject: updated. added some notes regarding windows builds. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 1a32280..d442f28 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,8 @@ All the as-of-yet implemented features of the project are very much buildable an ### Building +#### Linux + To build the project, you need to have the LLVM libraries 4.0 and up. The project can not be built with LLVM 3.8 or lower. The latest tested is LLVM trunk:292415.
Here Are the build options:
@@ -98,6 +100,8 @@ Here Are the build options:
* `COV_USE` and `COV_GEN` are for use with the `profdata` format. This option can only be used to build with `clang++`.
* `COV_GNU` will generate `gcov` compliant coverage data. This option can only be used to build with `clang++`.
* `COV_NO_CLANG` will build the executable with no source coverage instrumentation. This option can only be used to build with `clang++`.
+ * `COV_NO_CLANG_1Z` will build with support for C++1z support. I use this for dev builds.
+ * `WIN_BUILD` will later be used to support Windows builds. It assumes there is a llvm-config and it's in windows path.
* `GNU_MODE` will build the executable with no source code coverage instrumentation for `g++`. Can only be used to build with `g++`.
* The `LLVM_CONF` option is used to tell the compiler which `llvm-config` to use. The default value is `llvm-config`.
@@ -121,6 +125,11 @@ make install ``` +#### Windows + +Currently a Windows build is not officially supported but if you can build LLVM/Clang, then you can build mutator too. Currently the latest version of LLVM/Clang available on Cygwin is 3.8 and that does not include the dev-libraries so you can't use those. Just use the Guide on LLVM for building using Visual Studio. After you have the headers and libraries and llvm-config, just use `BUILD_MODE=WIN_BUILD` with Clang and you should be good to go.
+Let me know if you decide to try this and/or have any problems with it.
+ ### Running To run any of the tree executables, just give a filename or a whitespace-separated list of files. The executables will print out the results to stdout.
-- cgit v1.2.3