View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015519CMakeCMakepublic2015-04-17 15:412016-06-10 14:31
Reporterchenliang xu 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionmoved 
PlatformApple MacOSOS XOS Version10.4.10
Product VersionCMake 3.2.2 
Target VersionFixed in Version 
Summary0015519: Support auto-complete for CodeLite generator
DescriptionThe generated CodeLite would be more useful if the auto-complete is supported. To do that, the completion and search paths should be configured in the .projct file, such as,

      <Completion EnableCpp11="no">
        <ClangCmpFlagsC/>
        <ClangCmpFlags/>
        <ClangPP/><SearchPaths>
/foo/bar
/something
</SearchPaths>
      </Completion>

To get a full xml file, you can generate project with cmake, edit include path in CodeLite and check the .project file.

I believe some other IDEs such as Eclipse need something similar.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038541)
Eran Ifrah (reporter)
2015-04-19 09:02

Hi chenliang,

After generating the CodeLite workspace + project file, you can run from the command line 'cmake' with the "-DCMAKE_EXPORT_COMPILE_COMMANDS=1" this will export a JSON file that is automatically used by CodeLite (this file contains the build command per file with all the include paths in the format of: "-I/path/to/somewhere"
(0042759)
Kitware Robot (administrator)
2016-06-10 14:29

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
2015-04-17 15:41 chenliang xu New Issue
2015-04-19 09:02 Eran Ifrah Note Added: 0038541
2016-06-10 14:29 Kitware Robot Note Added: 0042759
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team