You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Billy O'Neal edited this page Nov 20, 2018
·
19 revisions
How to setup, build, and run tests on Linux
0. We're in apt-get! Use sudo apt-get install libcpprest-dev to get all our development files. If your distribution has an outdated version, continue on to build from source.
Going forward, you will want to pull from the master branch, which will always contain the last known release.
4. Build the SDK in Debug mode
cd casablanca
mkdir build.debug
cd build.debug
cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Debug
ninja
You can build the Release version by specifying -DCMAKE_BUILD_TYPE=Release on the cmake line instead.
You can also build the static libraries instead of the shared libraries by adding -DBUILD_SHARED_LIBS=0 on the cmake line above.
5. After building you can run the tests by executing the test_runner inside the "Binaries" folder:
cd Release/Binaries
./test_runner *_test.so
6. To install on your system run: sudo ninja install
7. You can check your first program by compiling it using necessary command line arguments