Top "Conditional-compilation" questions

Compilation of certain parts of source code will be included/excluded.

VS2010 Compiler define

In gcc I am writting friend class FriendMaker<T>::Type but Visual Studio wants friend FriendMaker<T&…

c++ visual-studio conditional-compilation
How to make the Qt project file (.pro) platform dependent?

Is there a way to include different libraries depending on the operating system with Qt-Creator? In other words, is there …

qt include qt-creator conditional-compilation project-files
If NETFX_CORE is for Windows 8, what is for Windows Phone 8?

I understand using the NETFX_CORE directive, like this: #if NETFX_CORE // Windows 8 #else // Windows Phone 8 #endif More info: http://…

.net windows-8 windows-phone-8 conditional-compilation
Is it possible to conditionally compile to .NET Framework version?

I can recall back when working with MFC you could support multiple versions of the MFC framework by checking the _…

c# .net .net-4.0 conditional-compilation
Way to determine whether executing in IDE or not?

In C#/VB in Visual Studio 2010, is there way in the code to determine whether the program is currently running …

c# vb.net visual-studio-2010 ide conditional-compilation
#elseif vs #elif (C/C++ preprocessor)

I have found that writing #ifdef ... #elseif defined(...) #else #endif always results in using either the #ifdef or the #else …

c++ c-preprocessor conditional-compilation