[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kdevelop] [Bug 310510] kdevelop creates '#[bin_dir]' in current directory
From:       Yngve Levinsen <yngve.levinsen () gmail ! com>
Date:       2013-04-10 9:13:00
Message-ID: bug-310510-17878-4mEH15DClC () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=310510

--- Comment #2 from Yngve Levinsen <yngve.levinsen@gmail.com> ---
Created attachment 78764
  --> https://bugs.kde.org/attachment.cgi?id=78764&action=edit
script which triggers the bug using execute_process()

Can confirm this. I have been wondering for quite a while why every now and
then suddenly a #[bin_dir] was created in my home directory, containing some of
the files/folders I copy from source to binary dir for running the test suite.
I tried also your attached example and I can confirm that this triggers when
opened in kdevelop.

I do not think it is solely related to install(), I attach another example
which shows the bug using execute_process(). This is the command which
essentially created the directory for my projects.

I use Chakra GNU/Linux, Kdevelop 4.4.1, KDE 4.10.2 and cmake 2.8.10.2.

I have not found this string '#[bin_dir]' in cmake, but I find it in the
kdevelop sources:

$ git grep -ni '\#\[bin_dir\]'
projectmanagers/cmake/cmakemanager.cpp:116:    return in.replace("#[bin_dir]",
buildDir);
projectmanagers/cmake/cmakemanager.cpp:133:       
if(s.startsWith(QString::fromUtf8("#[bin_dir]")))
projectmanagers/cmake/parser/cmakeparserutils.cpp:80:       
m_varsDef.insertGlobal("CMAKE_BINARY_DIR", QStringList("#[bin_dir]"));

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic