View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0006438 | CMake | CMake | public | 2008-02-23 14:12 | 2016-06-10 14:30 | ||||
Reporter | Oswald Buddenhagen | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0006438: autoheader equivalent functionality wanted | ||||||||
Description | autoheader from autotools creates config.h.in files from configure.ac files, which simplifies creating new config #defines quite a bit. obviously, cmake should have something similar. ;) to support putting the variables into particular files, the macros need to allow specifying a file: check_include_files(unistd.h HAVE_OPENPTY config-pty.h.in "Defined if the system has the openpty() function") etc. if the description is omitted, a reasonable one is auto-generated. if the file is omitted, everything is written to a current file which is set via another macro and defaults to config.h. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0013663) Bill Hoffman (manager) 2008-10-01 14:23 |
What if there were a command for this? create_config_file( DEFINE_VARS ${DEFINE_VARS} DEFINE_VALUE_VARS ${DEFINE_VALUE_VARS}) The variables listed in DEFINE_VARS would be done like this: #cmakedefine VAR The ones in DEFINE_VALUE would be: #define VAR @VAR@ // that would allow for 0 to be a value. |
(0041412) Kitware Robot (administrator) 2016-06-10 14:27 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-02-23 14:12 | Oswald Buddenhagen | New Issue | |
2008-03-05 19:16 | Alex Neundorf | Category | CCMake => CMake |
2008-04-21 18:14 | Bill Hoffman | Status | new => assigned |
2008-04-21 18:14 | Bill Hoffman | Assigned To | => Bill Hoffman |
2008-10-01 14:23 | Bill Hoffman | Note Added: 0013663 | |
2016-06-10 14:27 | Kitware Robot | Note Added: 0041412 | |
2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved |
2016-06-10 14:27 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:30 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |