diff --git a/install.sh b/install.sh index 77d9f8d..f3739e3 100755 --- a/install.sh +++ b/install.sh @@ -83,6 +83,15 @@ else fi cd .. +cd NamedType +cmake -S . -B build +if [[ $1 == "linux" ]]; then + sudo cmake --install build +else + sudo cmake --install build --prefix "$2" +fi +cd .. + if [[ $1 == "cobc" ]]; then cd littlefs diff --git a/libraries.txt b/libraries.txt index d43904d..15f1aa8 100644 --- a/libraries.txt +++ b/libraries.txt @@ -4,3 +4,4 @@ debug_assert,c0b325e9023cc021bce0d23c8b4211f8e5b071d0,https://github.com/foonath type_safe,b9138d8a26ea9bbab965f87ee925f53fde025fd9,https://github.com/foonathan/type_safe.git Catch2,v3.1.0,https://github.com/catchorg/Catch2.git littlefs,cmake,https://github.com/SpaceTeam/littlefs.git +NamedType,master,https://github.com/joboccara/NamedType.git