From a07fb833ae5c78b4048e2b46e66794f9c304c7be Mon Sep 17 00:00:00 2001 From: Shehzad Ahmed Date: Tue, 27 Dec 2016 10:10:11 +0100 Subject: [PATCH] update readme --- README.md | 75 +++++++++++++++++++++++++++---------------------------- 1 file changed, 37 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 038a029..ccd64fb 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,41 @@ -git clone git@github.com:e-schumann/proxy_doodle.git -mkdir proxy_doodle/build -cd proxy_doodle/build -cmake .. -cmake --build . -ctest -VV - - - -Netbeans has nice built in cmake support - -Currently only setup for linux/gcc! - -gradle naming conventions for directory structure and tests. - -1. git clone https://github.com/snikulov/google-test-examples.git -2. cd google-test-examples -3. mkdir build -4. cd build -5. cmake .. -6. cmake --build . ( cmake --build . -- VERBOSE=1) -7. ctest -VV - - - -git clone --recursive https://github.com/boostorg/boost.git boost-git -cd boost-git -git fetch --all --tags --prune -git checkout tags/boost-1.62.0 -b t_build_1_62 <==== don't! This tagged version of Jamfile is not working (python rule is missing!) -./bootstrap.sh -./b2 -j4 --build-dir=./build --layout=versioned toolset=gcc cxxflags="-std=c++11" variant=release link=shared threading=multi runtime-link=shared -./b2 toolset=gcc cxxflags="-std=c++11" tools/bcp - -dist/bin/bcp --boost=/opt/software/boost-git filesystem config build $HOME/develop/proxy_doodle_2/external/boost +## Clone and Compile the repository + git clone git@github.com:e-schumann/proxy_doodle.git + mkdir proxy_doodle/build + cd proxy_doodle/build + cmake .. + cmake --build . + ctest -VV + +* Netbeans has nice built in cmake support +* Currently only setup for linux/gcc! +* gradle naming conventions for directory structure and tests. + +## Google test example + + 1. git clone https://github.com/snikulov/google-test-examples.git + 2. cd google-test-examples + 3. mkdir build + 4. cd build + 5. cmake .. + 6. cmake --build . ( cmake --build . -- VERBOSE=1) + 7. ctest -VV + +## Setup boost + git clone --recursive https://github.com/boostorg/boost.git boost-git + cd boost-git + git fetch --all --tags --prune + git checkout tags/boost-1.62.0 -b t_build_1_62 <==== don't! This tagged version of Jamfile is not working (python rule is missing!) + ./bootstrap.sh + ./b2 -j4 --build-dir=./build --layout=versioned toolset=gcc cxxflags="-std=c++11" variant=release link=shared threading=multi runtime-link=shared + ./b2 toolset=gcc cxxflags="-std=c++11" tools/bcp + + dist/bin/bcp --boost=/opt/software/boost-git filesystem config build $HOME/develop/proxy_doodle_2/external/boost Remark: .git are copied to (which result in fatal error when doing git add boost_extract) +## References: -http://stackoverflow.com/questions/28182598/how-to-extract-boostfilesystem-using-bcp -https://steveire.wordpress.com/2016/08/21/boost-dependencies-and-bcp/ -http://www.boost.org/doc/libs/1_61_0/tools/bcp/doc/html/index.html -http://stackoverflow.com/questions/4831056/create-boost-tool-executable +* [Extract-boostfilesystem-using-bcp](http://stackoverflow.com/questions/28182598/how-to-extract-boostfilesystem-using-bcp) +* [Boost-dependencies-and-bcp](https://steveire.wordpress.com/2016/08/21/boost-dependencies-and-bcp/) +* [Boost library 1.61.0](http://www.boost.org/doc/libs/1_61_0/tools/bcp/doc/html/index.html) +* [Create Boost tool executable](http://stackoverflow.com/questions/4831056/create-boost-tool-executable)