Commit 779c429b0ec63cc6d5e28b159b044cb8e12ad3a3

Authored by Yannic Staudt
Committed by GitHub
1 parent 4e208b95

Added instructions to use cxxopts with tipi to INSTALL (#325)

.tipi/deps 0 → 100644
  1 +{ }
0 2 \ No newline at end of file
... ...
.tipi/opts 0 → 100644
No preview for this file type
... ... @@ -21,3 +21,26 @@ To run the tests, you have to configure `cxxopts` with another flag:
21 21 cmake -D CXXOPTS_BUILD_TESTS=On ${CXXOPTS_DIR}
22 22 make
23 23 make test
  24 +
  25 +== Using cxxopts in tipi.build projects ==
  26 +
  27 +`cxxopts` can be easily used in [tipi.build](https://tipi.build) projects simply by adding the following entry to your `.tipi/deps`:
  28 +
  29 +```json
  30 +{
  31 + "jarro2783/cxxopts": { "@": "v3.0.0" }
  32 +}
  33 +```
  34 +
  35 +To try this you can run the following command in `/src` (change the target name appropriately to `linux` or `macos` or `windows`):
  36 +
  37 +```bash
  38 +tipi . -t <target>
  39 +./build/linux-cxx17/bin/test_package -v
  40 +```
  41 +
  42 +To develop `cxxopts` using tipi run the following command at the root of the repository:
  43 +
  44 +```bash
  45 +tipi . -t <target> --test all -v
  46 +```
... ...
src/.tipi/deps 0 → 100644
  1 +{
  2 + "jarro2783/cxxopts": { }
  3 +}
0 4 \ No newline at end of file
... ...
test/.tipiignore 0 → 100644
  1 +link_a.cpp
  2 +link_b.cpp
0 3 \ No newline at end of file
... ...