diff options
| author | Amlal <amlal.elmahrouss@icloud.com> | 2024-11-02 08:09:25 +0100 |
|---|---|---|
| committer | Amlal <amlal.elmahrouss@icloud.com> | 2024-11-02 08:09:25 +0100 |
| commit | 5cb11ff515ff0a738dcaa49fd3fe5c6197c81551 (patch) | |
| tree | 492dbfea1710254a5b426b4e2975cad581d2c155 /dev/LibC++ | |
| parent | 9832d04842245987a1af284866628c5f9bb1fa1b (diff) | |
IMP: Add script to generate std C+ headers.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/LibC++')
| -rw-r--r-- | dev/LibC++/.gitignore | 1 | ||||
| -rwxr-xr-x[-rw-r--r--] | dev/LibC++/make_cxx_headers.sh | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dev/LibC++/.gitignore b/dev/LibC++/.gitignore new file mode 100644 index 0000000..5fa1170 --- /dev/null +++ b/dev/LibC++/.gitignore @@ -0,0 +1 @@ +stdcxx/ diff --git a/dev/LibC++/make_cxx_headers.sh b/dev/LibC++/make_cxx_headers.sh index e69de29..cdb89f6 100644..100755 --- a/dev/LibC++/make_cxx_headers.sh +++ b/dev/LibC++/make_cxx_headers.sh @@ -0,0 +1,13 @@ +#! /bin/bash + +outputDir=stdcxx/ + +mkdir -p $outputDir + +for f in *.h; do + +#This line splits the file name on the delimiter "." +baseName=`echo $f | cut -d "." -f 1` +cp $f $outputDir$baseName + +done |
