On Thu, Mar 3, 2011 at 5:10 PM, Alexander Neundorf <a.neundorf-w...@gmx.net> wrote: > On Tuesday 01 March 2011, Campbell Barton wrote: >> On Tue, Mar 1, 2011 at 2:47 PM, Marcus D. Hanwell >> >> <marcus.hanw...@kitware.com> wrote: >> > On Tue, Mar 1, 2011 at 9:15 AM, John Drescher <dresche...@gmail.com> > wrote: >> >> On Tue, Mar 1, 2011 at 6:45 AM, Campbell Barton <ideasma...@gmail.com> > wrote: >> >>> QT-Creator which currently supports CMake by reading code::blocks >> >>> project files. >> >>> >> >>> The problem with this is code::blocks project files don't write in >> >>> #defines, so the IDE shows #ifdef's incorrecyly. > > What are they needed for ? > Does CodeBlocks and/or QtCreator do syntax highlighting based on this > information ? > > http://wiki.codeblocks.org/index.php?title=Project_file > > The QtCreator developer is open to suggestions how to improve the CMake > integration. > So, adding stuff to the CodeBlocks project should be ok. > Is there already a tag like that for C::B project files ? I can not really > find one. > > Alex
Yep, QtCreator will act as code is commented if the define are not found, you can type of course but no auto-complete or syntax highlighting. I don't use code::blocks but suspect it doesn't work this way. >From my previous mail, heres a patch to cmake's codeblocks generator. http://www.graphicall.org/ftp/ideasman42/code_blocks.diff If this was applied qtcreator could use the defines. -- - Campbell _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake