View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001012 | CMake | public | 2004-07-29 10:48 | 2004-08-04 10:47 | |||||
Reporter | System Admin | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001012: Suppport CPP style __LINE__ and __FILE__ | ||||||||
Description | For debugging and error reporting it would be nice to have ${CMAKE_CURRENT_LINE} and ${CMAKE_CURRENT_FILE}. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0001338) Brad King (manager) 2004-08-04 10:47 |
This feature has been implemented in the CVS version: Checking in Source/cmCPluginAPI.cxx; /cvsroot/CMake/CMake/Source/cmCPluginAPI.cxx,v <-- cmCPluginAPI.cxx new revision: 1.24; previous revision: 1.23 done Checking in Source/cmForEachCommand.cxx; /cvsroot/CMake/CMake/Source/cmForEachCommand.cxx,v <-- cmForEachCommand.cxx new revision: 1.14; previous revision: 1.13 done Checking in Source/cmListFileCache.cxx; /cvsroot/CMake/CMake/Source/cmListFileCache.cxx,v <-- cmListFileCache.cxx new revision: 1.19; previous revision: 1.18 done Checking in Source/cmListFileCache.h; /cvsroot/CMake/CMake/Source/cmListFileCache.h,v <-- cmListFileCache.h new revision: 1.14; previous revision: 1.13 done Checking in Source/cmMacroCommand.cxx; /cvsroot/CMake/CMake/Source/cmMacroCommand.cxx,v <-- cmMacroCommand.cxx new revision: 1.16; previous revision: 1.15 done Checking in Source/cmMakefile.cxx; /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v <-- cmMakefile.cxx new revision: 1.257; previous revision: 1.256 done Checking in Source/cmMakefile.h; /cvsroot/CMake/CMake/Source/cmMakefile.h,v <-- cmMakefile.h new revision: 1.149; previous revision: 1.148 done The variables are called CMAKE_CURRENT_LIST_FILE and CMAKE_CURRENT_LIST_LINE. If the variables are used in a macro, they evaluate to the location of the call to the macro unless the variable CMAKE_MACRO_REPORT_DEFINITION_LOCATION is set to true when the macro is invoked. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |