[Qt-creator] CMake and Include Files
Alexander Neundorf
neundorf at kde.org
Thu Jul 16 01:19:11 CEST 2009
On Wednesday 15 July 2009, Mike Jackson wrote:
> I think Creator was using the CodeBlocks generator and not the KDevelop
> one that I stated earlier.
Yes, Creator is using the CodeBlocks generator.
> As far as the include paths go CMake will find all the include paths
> that are listed out in the CMakeLists.txt file. Usually through calls
> like "include_directories" in the CMakeLists.txt files. In the
> CodeBlocks generated XML file I think some of those were missing maybe
> which is why we went looking in the visual studio xml files to see if
> there were a more complete list, which there is.
Can you please create a minimal testcase where the resulting CodeBlocks
project file is missing some include directories ?
This sounds like a bug in either CMake when it generates the project files, or
Creator when it processes them.
> In the end it is probably going to take someone intimate with both
> CMake and Creator (or a collaboration between kitware and nokia
> software) to get this done.. or someone else with a _lot_ of time on
> their hands.
>
> I would like to help but I am buried in other work currently.
I'm not sure this is really necessary. AFAIK the CodeBlocks project files
contain almost everything what's required.
If there's something missing, there are two options:
1) that missing thing is supported by the CodeBlocks project file format, but
not implemented in the CodeBlocks generator in CMake or Creator -> should be
fixed in CMake or Creator respectively
2) some information is missing which is not supported by the CodeBlocks
project file format -> ideally we should then talk with the CodeBlocks
developers how to add that information to the project file, in a way that it
can be used both by Creator and by CodeBlocks
Alex
More information about the Qt-creator-old
mailing list