diff options
author | Valeriy Kopylov <valery.kopylov@akvelon.com> | 2014-06-24 19:51:59 +0400 |
---|---|---|
committer | Kirk Shoop <kirk.shoop@microsoft.com> | 2014-06-24 18:49:42 -0700 |
commit | e19b1f583b440bec7f1692b181ace83ba18e374e (patch) | |
tree | 6ca69d248730a09c43d313fdc012ca7ad670710e /README.md | |
parent | 08bb829c142c261c92c94259d81f64d479458ae4 (diff) | |
download | RxCpp-e19b1f583b440bec7f1692b181ace83ba18e374e.tar.gz |
Add build instructions for GCC.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -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 |