Prefix headers in other IDEs than Xcode

The prefix header functionality in Xcode comes in handy quite often and I was wondering if other IDEs provide a similar functionality? Or is there even a way on compiler level?

I've been looking for this in other environments for quite a time and the only thing I could find were precompiled headers. But that's not really the same as you still need to include the header file in each source file.

So, does anyone know if there's a way to configure prefix headers in IDEs like Visual Studio or QT Creator?

Answers


For VC++ you can specify Forced Include File using option /FI on command line or through an IDE. An excerpt from MSDN:

To set this compiler option in the Visual Studio development environment: 1. Open the project's Property Pages dialog box. 2. Click the C/C++ folder. 3. Click the Advanced property page. 4. Modify the Force Includes property.


Need Your Help

JS slider menu toggling issues

javascript html

I have a Q&A sider menu that can be clicked to reveal the answer. When you click on each question the answer is revealed and the other answer closed. I would also like to be able to re-click on...

how to append to a JEditorPane?

java swing append jtextfield jeditorpane

now i am making a calculator and want to append the problems and thier answers into a JEditorPane. I looked around and found a post that says that a one can append to a JTextField, but when i try to

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.