| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0013448 | CMake | CMake | public | 2012-07-31 21:04 | 2012-12-03 07:46 | ||||
| Reporter | LynnKaye | ||||||||
| Assigned To | David Cole | ||||||||
| Priority | high | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | no change required | ||||||
| Platform | OS | Linux 2.6.18-164.el5 x86_64 | OS Version | ||||||
| Product Version | CMake 2.8.8 | ||||||||
| Target Version | Fixed in Version | CMake 2.8.8 | |||||||
| Summary | 0013448: Cannot detect extensions of cpp files | ||||||||
| Description | When I try to go over the tutorial, I write add_executable(Tutorial tutorial.cxx) while I have a tutorial.cpp file. When I run cmake, it says Cannot find source file: tutorial.cxx Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx When I change the file extension from .cpp to .cxx, it builds successfully. Apparently, it fails to find the tutorial.cpp | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0030155) David Cole (manager) 2012-07-31 23:15 |
This is not really misbehaving.... The 2nd argument to add_executable is a filename. If your file is named t.cpp then list t.cpp as the file, if cxx then cxx. Don't explicitly list one and expect the other to work. |
|
(0031800) David Cole (manager) 2012-12-03 07:46 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2012-07-31 21:04 | LynnKaye | New Issue | |
| 2012-07-31 23:12 | David Cole | Assigned To | => David Cole |
| 2012-07-31 23:12 | David Cole | Status | new => assigned |
| 2012-07-31 23:15 | David Cole | Note Added: 0030155 | |
| 2012-07-31 23:15 | David Cole | Status | assigned => resolved |
| 2012-07-31 23:15 | David Cole | Fixed in Version | => CMake 2.8.8 |
| 2012-07-31 23:15 | David Cole | Resolution | open => no change required |
| 2012-12-03 07:46 | David Cole | Note Added: 0031800 | |
| 2012-12-03 07:46 | David Cole | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |