[CMake] KDevelop3 generator issue, Was: Bug? Broken header files in Visual C++ 2008 project
Alexander Neundorf
a.neundorf-work at gmx.net
Thu Sep 4 17:41:13 EDT 2008
On Thursday 04 September 2008, Andreas Pakulat wrote:
> On 03.09.08 23:45:56, Alexander Neundorf wrote:
...
> > <projectdirectory>
> > <projectmanagement>
> > <absoluteprojectpath>
> > <filelistdirectory>
> > <buildtool>
> > <builddir>
>
> I changed the builddir, by renaming it. Then re-run cmake -GKDevelop3
> and it didn't update the builddir entry in the .kdevelop file. After
> removing the CMake-related files, but leaving the kdevelop files the
> builddir is updated properly.
Hmm, I can't reproduce this.
I created a basic "hello world" example and then let kdevelop create the
makefile and project files (attached as "Project.kdevelop.initial"), then
loaded the project in kdevelop and changed the author to "xyz", quit kdevelop
and modified the builddir manually by appending "-xxx" (attached
as "Project.kdevelop.modified"), then touched the CMakeLists.txt and then run
make, which rerun cmake (the resulting file is attached
as "Project.kdevelop").
As I exptected the builddir is changed back to the real one and the author is
still there.
Alex
-------------- next part --------------
<?xml version = '1.0'?>
<kdevelop>
<general>
<author></author>
<email></email>
<version>$VERSION$</version>
<projectmanagement>KDevCustomProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<ignoreparts/>
<projectdirectory>/home/alex/src/tests/hello</projectdirectory>
<absoluteprojectpath>true</absoluteprojectpath>
<secondaryLanguages>
<language>C</language>
</secondaryLanguages>
</general>
<kdevcustomproject>
<filelistdirectory>/home/alex/src/tests/hello/bheadkdev3</filelistdirectory>
<run>
<mainprogram>/home/alex/src/tests/hello/bheadkdev3/hallo</mainprogram>
<directoryradio>custom</directoryradio>
<customdirectory>/home/alex/src/tests/hello/bheadkdev3</customdirectory>
<programargs></programargs>
<terminal>false</terminal>
<autocompile>true</autocompile>
<envvars/>
</run>
<build>
<buildtool>make</buildtool>
<builddir>/home/alex/src/tests/hello/bheadkdev3</builddir>
</build>
<make>
<abortonerror>false</abortonerror>
<numberofjobs>1</numberofjobs>
<dontact>false</dontact>
<makebin>/usr/bin/gmake </makebin>
<selectedenvironment>default</selectedenvironment>
<environments>
<default>
<envvar value="1" name="VERBOSE" />
</default>
</environments>
</make>
<blacklist>
<path>CMakeFiles</path>
<path>b26</path>
<path>b26-2</path>
<path>b246</path>
<path>bec</path>
<path>bhead</path>
<path>b</path>
<path>bheadkdev3</path>
</blacklist>
</kdevcustomproject>
<kdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
</kdevfilecreate>
<kdevdoctreeview>
<projectdoc>
<userdocDir>html/</userdocDir>
<apidocDir>html/</apidocDir>
</projectdoc>
<ignoreqt_xml/>
<ignoredoxygen/>
<ignorekdocs/>
<ignoretocs/>
<ignoredevhelp/>
</kdevdoctreeview>
<cppsupportpart>
<filetemplates>
<interfacesuffix>.h</interfacesuffix>
<implementationsuffix>.cpp</implementationsuffix>
</filetemplates>
</cppsupportpart>
<kdevcppsupport>
<codecompletion>
<includeGlobalFunctions>true</includeGlobalFunctions>
<includeTypes>true</includeTypes>
<includeEnums>true</includeEnums>
<includeTypedefs>false</includeTypedefs>
<automaticCodeCompletion>true</automaticCodeCompletion>
<automaticArgumentsHint>true</automaticArgumentsHint>
<automaticHeaderCompletion>true</automaticHeaderCompletion>
<codeCompletionDelay>250</codeCompletionDelay>
<argumentsHintDelay>400</argumentsHintDelay>
<headerCompletionDelay>250</headerCompletionDelay>
</codecompletion>
<references/>
</kdevcppsupport>
<kdevfileview>
<groups>
<group pattern="CMakeLists.txt;*.cmake;" name="CMake" />
<group pattern="*.h;*.hxx;*.hpp" name="Header" />
<group pattern="*.c" name="C Sources" />
<group pattern="*.cpp;*.C;*.cxx;*.cc" name="C++ Sources"/>
<group pattern="*.ui" name="Qt Designer files" />
<hidenonprojectfiles>true</hidenonprojectfiles>
</groups>
<tree>
<hidepatterns>*.o,*.lo,CVS,*~,cmake*</hidepatterns>
<hidenonprojectfiles>true</hidenonprojectfiles>
</tree>
</kdevfileview>
</kdevelop>
-------------- next part --------------
<?xml version = '1.0'?>
<kdevelop>
<general>
<author>xyz</author>
<email></email>
<version>$VERSION$</version>
<projectmanagement>KDevCustomProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<ignoreparts/>
<projectdirectory>/home/alex/src/tests/hello</projectdirectory>
<absoluteprojectpath>true</absoluteprojectpath>
<secondaryLanguages>
<language>C</language>
</secondaryLanguages>
<projectname>Project</projectname>
<description></description>
<defaultencoding></defaultencoding>
</general>
<kdevcustomproject>
<filelistdirectory>/home/alex/src/tests/hello/bheadkdev3</filelistdirectory>
<run>
<mainprogram>/home/alex/src/tests/hello/bheadkdev3/hallo</mainprogram>
<directoryradio>custom</directoryradio>
<customdirectory>/home/alex/src/tests/hello/bheadkdev3</customdirectory>
<programargs></programargs>
<terminal>false</terminal>
<autocompile>true</autocompile>
<envvars/>
<globaldebugarguments></globaldebugarguments>
<globalcwd>/home/alex/src/tests/hello/bheadkdev3</globalcwd>
<useglobalprogram>false</useglobalprogram>
<autoinstall>false</autoinstall>
<autokdesu>false</autokdesu>
</run>
<build>
<buildtool>make</buildtool>
<builddir>/home/alex/src/tests/hello/bheadkdev3</builddir-xxx>
</build>
<make>
<abortonerror>false</abortonerror>
<numberofjobs>1</numberofjobs>
<dontact>false</dontact>
<makebin>/usr/bin/gmake </makebin>
<selectedenvironment>default</selectedenvironment>
<environments>
<default>
<envvar value="1" name="VERBOSE" />
</default>
</environments>
<prio>0</prio>
<defaulttarget></defaulttarget>
<makeoptions></makeoptions>
</make>
<blacklist>
<path>CMakeFiles</path>
<path>b26</path>
<path>b26-2</path>
<path>b246</path>
<path>bec</path>
<path>bhead</path>
<path>b</path>
<path>bheadkdev3</path>
<path>Makefile</path>
</blacklist>
<filetypes>
<filetype>*.java</filetype>
<filetype>*.h</filetype>
<filetype>*.H</filetype>
<filetype>*.hh</filetype>
<filetype>*.hxx</filetype>
<filetype>*.hpp</filetype>
<filetype>*.c</filetype>
<filetype>*.C</filetype>
<filetype>*.cc</filetype>
<filetype>*.cpp</filetype>
<filetype>*.c++</filetype>
<filetype>*.cxx</filetype>
<filetype>Makefile</filetype>
<filetype>CMakeLists.txt</filetype>
</filetypes>
<other>
<prio>0</prio>
<otherbin></otherbin>
<defaulttarget></defaulttarget>
<otheroptions></otheroptions>
<selectedenvironment>default</selectedenvironment>
<environments>
<default/>
</environments>
</other>
</kdevcustomproject>
<kdevfilecreate>
<filetypes/>
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
</kdevfilecreate>
<kdevdoctreeview>
<projectdoc>
<userdocDir>html/</userdocDir>
<apidocDir>html/</apidocDir>
</projectdoc>
<ignoreqt_xml/>
<ignoredoxygen/>
<ignorekdocs/>
<ignoretocs/>
<ignoredevhelp/>
</kdevdoctreeview>
<cppsupportpart>
<filetemplates>
<interfacesuffix>.h</interfacesuffix>
<implementationsuffix>.cpp</implementationsuffix>
</filetemplates>
</cppsupportpart>
<kdevcppsupport>
<codecompletion>
<includeGlobalFunctions>true</includeGlobalFunctions>
<includeTypes>true</includeTypes>
<includeEnums>true</includeEnums>
<includeTypedefs>false</includeTypedefs>
<automaticCodeCompletion>true</automaticCodeCompletion>
<automaticArgumentsHint>true</automaticArgumentsHint>
<automaticHeaderCompletion>true</automaticHeaderCompletion>
<codeCompletionDelay>250</codeCompletionDelay>
<argumentsHintDelay>400</argumentsHintDelay>
<headerCompletionDelay>250</headerCompletionDelay>
<showOnlyAccessibleItems>false</showOnlyAccessibleItems>
<completionBoxItemOrder>0</completionBoxItemOrder>
<howEvaluationContextMenu>true</howEvaluationContextMenu>
<showCommentWithArgumentHint>true</showCommentWithArgumentHint>
<statusBarTypeEvaluation>false</statusBarTypeEvaluation>
<namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
<processPrimaryTypes>true</processPrimaryTypes>
<processFunctionArguments>false</processFunctionArguments>
<preProcessAllHeaders>false</preProcessAllHeaders>
<parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
<resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
<alwaysParseInBackground>true</alwaysParseInBackground>
<usePermanentCaching>true</usePermanentCaching>
<alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
<includePaths>.;</includePaths>
</codecompletion>
<references/>
<qt>
<used>false</used>
<version>3</version>
<includestyle>3</includestyle>
<root>/usr/lib/qt</root>
<designerintegration>EmbeddedKDevDesigner</designerintegration>
<qmake>/usr/lib/qt/bin/qmake</qmake>
<designer>/usr/lib/qt/bin/designer</designer>
<designerpluginpaths/>
</qt>
<creategettersetter>
<prefixGet></prefixGet>
<prefixSet>set</prefixSet>
<prefixVariable>m_,_</prefixVariable>
<parameterName>theValue</parameterName>
<inlineGet>true</inlineGet>
<inlineSet>true</inlineSet>
</creategettersetter>
<splitheadersource>
<enabled>false</enabled>
<synchronize>true</synchronize>
<orientation>Vertical</orientation>
</splitheadersource>
</kdevcppsupport>
<kdevfileview>
<groups>
<group pattern="CMakeLists.txt;*.cmake;" name="CMake" />
<group pattern="*.h;*.hxx;*.hpp" name="Header" />
<group pattern="*.c" name="C Sources" />
<group pattern="*.cpp;*.C;*.cxx;*.cc" name="C++ Sources" />
<group pattern="*.ui" name="Qt Designer files" />
<hidenonprojectfiles>true</hidenonprojectfiles>
<hidenonlocation>false</hidenonlocation>
</groups>
<tree>
<hidepatterns>*.o,*.lo,CVS,*~,cmake*</hidepatterns>
<hidenonprojectfiles>true</hidenonprojectfiles>
</tree>
</kdevfileview>
<kdevdebugger>
<general>
<gdbpath></gdbpath>
<dbgshell></dbgshell>
<configGdbScript></configGdbScript>
<runShellScript></runShellScript>
<runGdbScript></runGdbScript>
<breakonloadinglibs>true</breakonloadinglibs>
<separatetty>false</separatetty>
<floatingtoolbar>false</floatingtoolbar>
</general>
<display>
<staticmembers>false</staticmembers>
<demanglenames>true</demanglenames>
<outputradix>10</outputradix>
</display>
</kdevdebugger>
</kdevelop>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Project.kdevelop
Type: application/x-kdevelop
Size: 7135 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080904/e5b74bf8/attachment-0001.bin>
More information about the CMake
mailing list