diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-12-04 17:01:04 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-12-04 17:01:04 +0100 |
commit | a863f9af9fff0ecb276c6769149d9672961b7533 (patch) | |
tree | 9f7bc499df30e651ae0cc6c2ffca0dd64b4e3769 /modules/codec | |
parent | 8da0229a7e172a86c023edc6bb25ba803c68f5d3 (diff) |
codec: Moving structure around
Diffstat (limited to 'modules/codec')
-rw-r--r-- | modules/codec/SConstruct | 2 | ||||
-rw-r--r-- | modules/codec/c++/SConscript (renamed from modules/codec/SConscript) | 0 | ||||
-rw-r--r-- | modules/codec/c++/args.h (renamed from modules/codec/args.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/csv.h (renamed from modules/codec/csv.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/data.h (renamed from modules/codec/data.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/forst.h (renamed from modules/codec/forst.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/forst.tmpl.h (renamed from modules/codec/forst.tmpl.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/interface.h (renamed from modules/codec/interface.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/rpc.h (renamed from modules/codec/rpc.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/schema.h (renamed from modules/codec/schema.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/schema_hash.h (renamed from modules/codec/schema_hash.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/schema_stringify.h (renamed from modules/codec/schema_stringify.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/simple.h (renamed from modules/codec/simple.h) | 0 | ||||
-rw-r--r-- | modules/codec/c++/stream_value.h (renamed from modules/codec/stream_value.h) | 0 | ||||
-rw-r--r-- | modules/codec/tests/SConscript | 29 |
15 files changed, 30 insertions, 1 deletions
diff --git a/modules/codec/SConstruct b/modules/codec/SConstruct index 0d7b7c6..def568e 100644 --- a/modules/codec/SConstruct +++ b/modules/codec/SConstruct @@ -57,7 +57,7 @@ env.headers = []; env.targets = []; Export('env') -SConscript('SConscript') +SConscript('c++/SConscript') env.Alias('cdb', env.cdb); env.Alias('all', [env.targets]); diff --git a/modules/codec/SConscript b/modules/codec/c++/SConscript index c038d42..c038d42 100644 --- a/modules/codec/SConscript +++ b/modules/codec/c++/SConscript diff --git a/modules/codec/args.h b/modules/codec/c++/args.h index 6bb75a2..6bb75a2 100644 --- a/modules/codec/args.h +++ b/modules/codec/c++/args.h diff --git a/modules/codec/csv.h b/modules/codec/c++/csv.h index 67c2c1d..67c2c1d 100644 --- a/modules/codec/csv.h +++ b/modules/codec/c++/csv.h diff --git a/modules/codec/data.h b/modules/codec/c++/data.h index 237ef5a..237ef5a 100644 --- a/modules/codec/data.h +++ b/modules/codec/c++/data.h diff --git a/modules/codec/forst.h b/modules/codec/c++/forst.h index 7e8fbf0..7e8fbf0 100644 --- a/modules/codec/forst.h +++ b/modules/codec/c++/forst.h diff --git a/modules/codec/forst.tmpl.h b/modules/codec/c++/forst.tmpl.h index 30d18ef..30d18ef 100644 --- a/modules/codec/forst.tmpl.h +++ b/modules/codec/c++/forst.tmpl.h diff --git a/modules/codec/interface.h b/modules/codec/c++/interface.h index b1422a9..b1422a9 100644 --- a/modules/codec/interface.h +++ b/modules/codec/c++/interface.h diff --git a/modules/codec/rpc.h b/modules/codec/c++/rpc.h index b21ecf8..b21ecf8 100644 --- a/modules/codec/rpc.h +++ b/modules/codec/c++/rpc.h diff --git a/modules/codec/schema.h b/modules/codec/c++/schema.h index a8494fe..a8494fe 100644 --- a/modules/codec/schema.h +++ b/modules/codec/c++/schema.h diff --git a/modules/codec/schema_hash.h b/modules/codec/c++/schema_hash.h index 5690166..5690166 100644 --- a/modules/codec/schema_hash.h +++ b/modules/codec/c++/schema_hash.h diff --git a/modules/codec/schema_stringify.h b/modules/codec/c++/schema_stringify.h index a82081a..a82081a 100644 --- a/modules/codec/schema_stringify.h +++ b/modules/codec/c++/schema_stringify.h diff --git a/modules/codec/simple.h b/modules/codec/c++/simple.h index 8760754..8760754 100644 --- a/modules/codec/simple.h +++ b/modules/codec/c++/simple.h diff --git a/modules/codec/stream_value.h b/modules/codec/c++/stream_value.h index 09203cb..09203cb 100644 --- a/modules/codec/stream_value.h +++ b/modules/codec/c++/stream_value.h diff --git a/modules/codec/tests/SConscript b/modules/codec/tests/SConscript new file mode 100644 index 0000000..ba09372 --- /dev/null +++ b/modules/codec/tests/SConscript @@ -0,0 +1,29 @@ +#!/bin/false + +import os +import os.path +import glob + + +Import('env') + +dir_path = Dir('.').abspath + +# Environment for base library +test_cases_env = env.Clone(); + +test_cases_env.sources = sorted(glob.glob(dir_path + "/*.cpp")) +test_cases_env.headers = sorted(glob.glob(dir_path + "/*.h")) + +env.sources += test_cases_env.sources; +env.headers += test_cases_env.headers; + +objects_static = [] +test_cases_env.add_source_files(objects_static, test_cases_env.sources, shared=False); +test_cases_env.program = test_cases_env.Program('#bin/tests', [objects_static, env.library_static]); + +# Set Alias +env.Alias('test', test_cases_env.program); +env.Alias('check', test_cases_env.program); + +env.targets += ['test','check']; |