View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008768CMakeCMakepublic2009-03-19 11:372016-06-10 14:30
ReporterClinton Stimpson 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008768: .F not in Source Files group with Visual Fortran
DescriptionFortran projects for Visual Studio put the .f under Source Files but leave the .F files at the root of the project tree.

Can we have both .F and .f in the Source Files folder?
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0015752)
Bill Hoffman (manager)
2009-03-22 22:00

I think the fix for this is in cmMakfile.cxx line 87:

#if defined(CMAKE_BUILD_WITH_CMAKE)
  this->AddSourceGroup("", "^.*$");
  this->AddSourceGroup
    ("Source Files",
     "\\.(C|M|c|c\\+\\+|cc|cpp|cxx|f|F|f90|for|fpp"
     "|ftn|m|mm|rc|def|r|odl|idl|hpj|bat)$");
  this->AddSourceGroup("Header Files",
                       "\\.(h|hh|h\\+\\+|hm|hpp|hxx|in|txx|inl)$");
  this->AddSourceGroup("CMake Rules", "\\.rule$");
  this->AddSourceGroup("Resources", "\\.plist$");
#endif

If you can build cmake, please try. Also, you can get around this with the source_group command.
(0015763)
Clinton Stimpson (developer)
2009-03-23 12:21

Adding "F" to that regex fixes it.
Thanks.
(0041519)
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.

 Issue History
Date Modified Username Field Change
2009-03-19 11:37 Clinton Stimpson New Issue
2009-03-22 22:00 Bill Hoffman Note Added: 0015752
2009-03-22 22:00 Bill Hoffman Status new => assigned
2009-03-22 22:00 Bill Hoffman Assigned To => Bill Hoffman
2009-03-23 12:21 Clinton Stimpson Note Added: 0015763
2016-06-10 14:27 Kitware Robot Note Added: 0041519
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


Copyright © 2000 - 2018 MantisBT Team