summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJohann Klähn <kljohann@gmail.com>2013-01-30 01:04:29 +0100
committerJohann Klähn <kljohann@gmail.com>2013-01-30 23:07:17 +0100
commit5ee03de0ad8c2df38bc10acf67f02cf862c6c83c (patch)
tree648c067750d7c409406745a9186ca19a1f226b78 /CMakeLists.txt
parent45ebed0fd55fd45802ae16706a59ff5fe9f29582 (diff)
downloadfork-ledger-5ee03de0ad8c2df38bc10acf67f02cf862c6c83c.tar.gz
fork-ledger-5ee03de0ad8c2df38bc10acf67f02cf862c6c83c.tar.bz2
fork-ledger-5ee03de0ad8c2df38bc10acf67f02cf862c6c83c.zip
fix option handling in acprep
Both the `--local` option and the default to build local if no build directory exists did not work, because `build_directory()` uses `self.options.build_dir`, but the default and the `--local` option used `self.build_dir`. I changed the code to always use `self.options` for options/flags. Now `self.options` is set to the default values of OptParser and is updated when `parse_args` is called in `run`. After this commit ledger will be built in: * The directory specified using `--output=` * Else in a subdirectory of `./build` or `~/Products` if one of those directories exist and `--local` is not used. * Else inside the source tree (default).
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions