MantisBT - CMake |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014867 | CMake | CMake | public | 2014-04-08 08:37 | 2014-10-06 10:33 |
|
| Reporter | Mike Crowe | |
| Assigned To | | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | |
| Platform | Debian | OS | GNU/Linux | OS Version | 7.2 |
| Product Version | CMake 2.8.12.2 | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0014867: Not possible to pass options like -DENABLE_ACL through configure when bootstrapping cmake |
| Description | I'd like to disable ACL and CursesDialog in the final build when bootstrapping cmake. This isn't currently possible because there is no way to influence cmake_options passed to cmake near the end of the bootstrap script. |
| Steps To Reproduce | |
| Additional Information | The attached patch provides a new "--extra" option to bootstrap so that options can be passed through to cmake. It means that I can now run:
./configure --extra=-DENABLE_ACL=0 --extra=-DBUILD_CursesDialog=0 |
| Tags | No tags attached. |
| Relationships | | related to | 0014866 | closed | Brad King | CMake's ENABLE_ACL option does not stop CMake looking for libacl.h |
|
| Attached Files | bootstrap-pass-through.patch (1,588) 2014-04-08 08:37 https://public.kitware.com/Bug/file/5124/bootstrap-pass-through.patch |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2014-04-08 08:37 | Mike Crowe | New Issue | |
| 2014-04-08 08:37 | Mike Crowe | File Added: bootstrap-pass-through.patch | |
| 2014-04-08 08:43 | Nils Gladitz | Note Added: 0035653 | |
| 2014-04-08 08:43 | Brad King | Note Added: 0035654 | |
| 2014-04-08 08:49 | Mike Crowe | Note Added: 0035655 | |
| 2014-04-08 08:50 | Brad King | Relationship added | related to 0014866 |
| 2014-04-08 08:55 | Brad King | Status | new => resolved |
| 2014-04-08 08:55 | Brad King | Resolution | open => no change required |
| 2014-10-06 10:33 | Robert Maynard | Note Added: 0036964 | |
| 2014-10-06 10:33 | Robert Maynard | Status | resolved => closed |
|
Notes |
|
|
(0035653)
|
|
Nils Gladitz
|
|
2014-04-08 08:43
|
|
Doesn't
./configure -- -DBUILD_CursesDialog=0
work?
From the command line help:
bootstrap [<options>...] [-- <cmake-options>...] |
|
|
|
(0035654)
|
|
Brad King
|
|
2014-04-08 08:43
|
|
Options after "--" are passed to CMake:
$ ./bootstrap --help |grep Usage
Usage: ./bootstrap [<options>...] [-- <cmake-options>...] |
|
|
|
(0035655)
|
|
Mike Crowe
|
|
2014-04-08 08:49
|
|
Ah yes, I'd somehow completely failed to spot that. Whoops.
Thanks for your help.
I can't see a way for me to close or revoke this bug report. :( |
|
|
|
(0036964)
|
|
Robert Maynard
|
|
2014-10-06 10:33
|
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|