diff options
author | Yannic Staudt <pyscopath68@hotmail.com> | 2022-03-22 14:01:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 14:01:25 +0300 |
commit | 779c429b0ec63cc6d5e28b159b044cb8e12ad3a3 (patch) | |
tree | 14216f87face2e2ec4759f54e4ca05c51d880406 | |
parent | 4e208b95b7ae488b0d31fcc80228b141792b79b5 (diff) |
Added instructions to use cxxopts with tipi to INSTALL (#325)
-rw-r--r-- | .tipi/deps | 1 | ||||
-rw-r--r-- | .tipi/opts | 1 | ||||
-rw-r--r-- | INSTALL | 23 | ||||
-rw-r--r-- | src/.tipi/deps | 3 | ||||
-rw-r--r-- | test/.tipiignore | 2 |
5 files changed, 30 insertions, 0 deletions
diff --git a/.tipi/deps b/.tipi/deps new file mode 100644 index 0000000..6f31cf5 --- /dev/null +++ b/.tipi/deps @@ -0,0 +1 @@ +{ }
\ No newline at end of file diff --git a/.tipi/opts b/.tipi/opts new file mode 100644 index 0000000..0519ecb --- /dev/null +++ b/.tipi/opts @@ -0,0 +1 @@ +
\ No newline at end of file @@ -21,3 +21,26 @@ To run the tests, you have to configure `cxxopts` with another flag: cmake -D CXXOPTS_BUILD_TESTS=On ${CXXOPTS_DIR} make make test + +== Using cxxopts in tipi.build projects == + +`cxxopts` can be easily used in [tipi.build](https://tipi.build) projects simply by adding the following entry to your `.tipi/deps`: + +```json +{ + "jarro2783/cxxopts": { "@": "v3.0.0" } +} +``` + +To try this you can run the following command in `/src` (change the target name appropriately to `linux` or `macos` or `windows`): + +```bash +tipi . -t <target> +./build/linux-cxx17/bin/test_package -v +``` + +To develop `cxxopts` using tipi run the following command at the root of the repository: + +```bash +tipi . -t <target> --test all -v +``` diff --git a/src/.tipi/deps b/src/.tipi/deps new file mode 100644 index 0000000..4016165 --- /dev/null +++ b/src/.tipi/deps @@ -0,0 +1,3 @@ +{ + "jarro2783/cxxopts": { } +}
\ No newline at end of file diff --git a/test/.tipiignore b/test/.tipiignore new file mode 100644 index 0000000..f69b9ea --- /dev/null +++ b/test/.tipiignore @@ -0,0 +1,2 @@ +link_a.cpp +link_b.cpp
\ No newline at end of file |