MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012944 | CMake | Modules | public | 2012-02-07 20:36 | 2016-06-10 14:31 |
Reporter | starseeker | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0012944: Feature enabling the CheckC*.cmake macros to use a path to source code as well as supplied source code | ||||
Description | We often have our own .c file stored in our tree for TRY_RUN testing, and it is convenient to be able to use CHECK_C_RUNS_SOURCE for testing those .c files. At the moment, CHECK_C_RUNS_SOURCE assumes the incoming SOURCE variable actually holds the source code - our enhancement checks to see if SOURCE holds a valid file path first. If it DOES hold a valid file path, TRY_RUN then trys that .c file, otherwise the existing CHECK_C_RUNS_SOURCE is preserved. I don't know of any sane pathname that would be valid C code or vice versa, so there should be no danger of passing in a C source snippit and having it mistaken for a file path. | ||||
Steps To Reproduce | |||||
Additional Information | http://www.cmake.org/pipermail/cmake/2012-January/048921.html [^] | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 0001-Teach-CheckC.-modules-to-use-a-source-file-as-well-a.patch (7,005) 2012-02-07 20:36 https://public.kitware.com/Bug/file/4208/0001-Teach-CheckC.-modules-to-use-a-source-file-as-well-a.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-02-07 20:36 | starseeker | New Issue | |||
2012-02-07 20:36 | starseeker | File Added: 0001-Teach-CheckC.-modules-to-use-a-source-file-as-well-a.patch | |||
2012-02-08 08:36 | starseeker | Note Added: 0028523 | |||
2012-08-11 21:09 | David Cole | Status | new => backlog | ||
2012-08-11 21:09 | David Cole | Note Added: 0030360 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0041981 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|