View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014867CMakeCMakepublic2014-04-08 08:372014-10-06 10:33
ReporterMike Crowe 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformDebianOSGNU/LinuxOS Version7.2
Product VersionCMake 2.8.12.2 
Target VersionFixed in Version 
Summary0014867: Not possible to pass options like -DENABLE_ACL through configure when bootstrapping cmake
DescriptionI'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.
Additional InformationThe 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
TagsNo tags attached.
Attached Filespatch file icon bootstrap-pass-through.patch [^] (1,588 bytes) 2014-04-08 08:37 [Show Content]

 Relationships
related to 0014866closedBrad King CMake's ENABLE_ACL option does not stop CMake looking for libacl.h 

  Notes
(0035653)
Nils Gladitz (developer)
2014-04-08 08:43

Doesn't
  ./configure -- -DBUILD_CursesDialog=0
work?

From the command line help:
  bootstrap [<options>...] [-- <cmake-options>...]
(0035654)
Brad King (manager)
2014-04-08 08:43

Options after "--" are passed to CMake:

$ ./bootstrap --help |grep Usage
Usage: ./bootstrap [<options>...] [-- <cmake-options>...]
(0035655)
Mike Crowe (reporter)
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 (manager)
2014-10-06 10:33

Closing resolved issues that have not been updated in more than 4 months.

 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


Copyright © 2000 - 2018 MantisBT Team