diff options
author | Johann Klähn <kljohann@gmail.com> | 2013-01-30 23:31:39 +0100 |
---|---|---|
committer | Johann Klähn <kljohann@gmail.com> | 2013-01-30 23:37:29 +0100 |
commit | 9e3652dd4fc4bea3453b5b79f9a687501a63cb90 (patch) | |
tree | 17537bdd97cf2ec6733c6e2fe028eee596300277 /acprep | |
parent | 5ee03de0ad8c2df38bc10acf67f02cf862c6c83c (diff) | |
download | fork-ledger-9e3652dd4fc4bea3453b5b79f9a687501a63cb90.tar.gz fork-ledger-9e3652dd4fc4bea3453b5b79f9a687501a63cb90.tar.bz2 fork-ledger-9e3652dd4fc4bea3453b5b79f9a687501a63cb90.zip |
acprep: pass options starting with -D to CMake
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -875,7 +875,7 @@ class PrepareBuild(CommandLineApp): make_args = [] for arg in args: - if arg.startswith('--'): + if arg.startswith('--') or arg.startswith('-D'): config_args.append(arg) else: make_args.append(arg) @@ -1068,12 +1068,17 @@ typical user: submodule Updates Git submodules (better to use 'pull') version Output current HEAD version to version.m4 -NOTE: If you wish to pass options to configure or make, add "--" followed by -your options. Here are some real-world examples: +NOTE: If you wish to pass options to CMake or make, add "--" followed by +your options. Those starting with "-D" or "--" will be passed on to CMake, +positional arguments and other options will be passed to make. +For the 'config' and 'configure' phase everything will be passed to CMake. + +Here are some real-world examples: ./acprep - ./acprep opt -- make -j3 - ./acprep --enable-doxygen""" + ./acprep --python + ./acprep opt make + ./acprep make doc -- -DBUILD_WEB_DOCS=1""" sys.exit(0) PrepareBuild().run() |