summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorValeriy Kopylov <valery.kopylov@akvelon.com>2014-06-24 19:51:59 +0400
committerKirk Shoop <kirk.shoop@microsoft.com>2014-06-24 18:49:42 -0700
commite19b1f583b440bec7f1692b181ace83ba18e374e (patch)
tree6ca69d248730a09c43d313fdc012ca7ad670710e /README.md
parent08bb829c142c261c92c94259d81f64d479458ae4 (diff)
downloadRxCpp-e19b1f583b440bec7f1692b181ace83ba18e374e.tar.gz
Add build instructions for GCC.
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9ab9eb2..ffa1b1e 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
* RxCpp is regularly tested on OSX and Windows.
* RxCpp is regularly built with Clang and VC
* RxCpp depends on the latest compiler releases.
-* RxCpp does not compile with gcc at this time. Contributions are welcome.
+* RxCpp has an experimental build with gcc.
RxCpp uses CMake to create build files for several platforms and IDE's
@@ -50,6 +50,22 @@ cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -B. ../CMake
make
```
+####Linux --- Clang
+```
+mkdir projects/build
+cd projects/build
+cmake -G"Unix Makefiles" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -B. ../CMake
+make
+```
+
+####Linux --- GCC
+```
+mkdir projects/build
+cd projects/build
+cmake -G"Unix Makefiles" -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -B. ../CMake
+make
+```
+
####Windows
```
mkdir projects\build