diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-02-24 23:11:14 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-02-24 23:11:14 +0200 |
| commit | 9948b616df2a9a64a080fd690ae0a0bf0565d56f (patch) | |
| tree | 457f56821b101b5392bf6cb868f0a8e866a03312 /coredata.py | |
| parent | e7a2121bdc446c53648d62d3a0e9b186fab0ee1f (diff) | |
| download | meson-9948b616df2a9a64a080fd690ae0a0bf0565d56f.tar.gz | |
Store bunch of data to coredata.
Diffstat (limited to 'coredata.py')
| -rw-r--r-- | coredata.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/coredata.py b/coredata.py index a24f594e1..ea02b39b5 100644 --- a/coredata.py +++ b/coredata.py @@ -34,6 +34,13 @@ class CoreData(): self.strip = options.strip self.coverage = options.coverage + if isinstance(options, CoreData): + self.compilers = options.compilers.copy() + self.deps = options.deps.copy() + else: + self.compilers = {} + self.deps = {} + def load(filename): obj = pickle.load(open(filename, 'rb')) if not isinstance(obj, CoreData): |
