Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Extension-less headers versus Binaries

On May 8, 2012, at 1:30 PM, Marc-Andre Laperle wrote:

> On 08/05/2012 1:18 PM, Doug Schaefer wrote:
>> Hey gang,
>> 
>> I'm wondering if anyone has thought or dealt with this. I'm looking at Qt and it has a lot of extension-less headers. Now I could create a contentType extension that lists all of these files as cxxHeaders. However, if the user creates a binary with the same name, the BinaryRunner will skip over them because it         thinks it's a header file.
>> 
>> First of all, I find it odd that the BinaryRunner is running over the entire project instead of just looking at the output folders. If the scope was restricted like that then we could try every file (or at least extension-less files) and see if it's a binary.
>> 
> 
> Does it run on the entire project even when changing the refresh scope? (Beware of the issues mentioned in Bug 375859 though). In bug 364027 it was suggested to check the executable flag but I haven't tried that yet.
> 
> Marc-Andre
> 
>> Any thoughts?
>> Doug
>> 

And if you could add an option to NOT follow symlinks when looking for binaries that would be great. My scenario is like this. I use CMake to bundle my application. If I choose to try and make a .dmg then during the process of creating the disk image a symlink to /Applications is made in my "Build" directory. Then the "searching for binaries" will basically never end because it ends up searching /Applications also. Just an annoyance at this point. I just have to remember to remove the symlink after each packaging sequence.
--
Mike Jackson <www.bluequartz.net>



Back to the top