| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0014150 | CMake | CMake | public | 2013-05-16 13:20 | 2016-06-10 14:31 | ||||
| Reporter | jose espina | ||||||||
| Assigned To | Kitware Robot | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | Intel i7 64 bits | OS | Fedora | OS Version | 17 64 bits | ||||
| Product Version | CMake 2.8.9 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0014150: CMake ignores directory called "test" in add_subdirectory function | ||||||||
| Description | In my team we have a module called "test" (is not a good name, ok...) and we have a big CMakeList.txt that include the others module. The problem is that the module inside "test" directory is omitted by the big CMakeList.txt | ||||||||
| Steps To Reproduce | Create a CMakeList.txt in a parent directory and another one inside a subdirectory called "test" and run "cmake" You will see that the compilation of the files inside "test" is omitted | ||||||||
| Additional Information | Our project is done in Fortran. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0033071) Brad King (manager) 2013-05-16 13:39 |
The file should be called CMakeLists.txt, not CMakeList.txt. If you need further help please ask on the mailing list: http://www.cmake.org/mailman/listinfo/cmake [^] |
|
(0033077) jose espina (reporter) 2013-05-16 14:28 |
That was not the problem. Is wierd but if I put this in the CMakeLists.txt: (...) ADD_LIBRARY(test STATIC test_libr.f90) (...) Doesn't work. But if I change the name of the target ADD_LIBRARY(another_thing STATIC test_libr.f90) Works |
|
(0033078) Brad King (manager) 2013-05-16 14:37 |
The target name "test" conflicts with CMake's built-in "make test" target. |
|
(0042281) Kitware Robot (administrator) 2016-06-10 14:28 |
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 |
| 2013-05-16 13:20 | jose espina | New Issue | |
| 2013-05-16 13:39 | Brad King | Note Added: 0033071 | |
| 2013-05-16 13:39 | Brad King | Status | new => resolved |
| 2013-05-16 13:39 | Brad King | Resolution | open => no change required |
| 2013-05-16 14:28 | jose espina | Note Added: 0033077 | |
| 2013-05-16 14:28 | jose espina | Status | resolved => feedback |
| 2013-05-16 14:28 | jose espina | Resolution | no change required => reopened |
| 2013-05-16 14:37 | Brad King | Note Added: 0033078 | |
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0042281 | |
| 2016-06-10 14:28 | Kitware Robot | Status | feedback => resolved |
| 2016-06-10 14:28 | Kitware Robot | Resolution | reopened => moved |
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot |
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |