Top "Conditional-compilation" questions

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

What is the difference between Release and Debug modes in Visual Studio?

Possible Duplicate: Debug vs. release in .NET Debug/Release difference What is the difference between Release and Debug modes in …

visual-studio visual-studio-2005 conditional-compilation
C++ compiling on Windows and Linux: ifdef switch

I want to run some c++ code on Linux and Windows. There are some pieces of code that I want …

c++ linux windows conditional-compilation ifdefine
How do I check OS with a preprocessor directive?

I need my code to do different things based on the operating system on which it gets compiled. I'm looking …

c operating-system c-preprocessor conditional-compilation
Determining 32 vs 64 bit in C++

I'm looking for a way to reliably determine whether C++ code is being compiled in 32 vs 64 bit. We've come up …

c++ 32bit-64bit conditional-compilation
#ifdef #ifndef in Java

I doubt if there is a way to make compile-time conditions in Java like #ifdef #ifndef in C++. My problem …

java compilation conditional conditional-compilation
Using conditional rules in a makefile

I capture the intent of the Makefile in pseudo code, then indicate the issues I have. I'm looking for a …

makefile conditional-compilation
What's the difference between #if and #ifdef Objective-C preprocessor macro?

How to define preprocessor macros in build settings, like IPAD_BUILD, and IPHONE_BUILD (and how to use them in …

ios objective-c macros c-preprocessor conditional-compilation
c++ #ifdef Mac OS X question

I am fairly new to C++. I am currently working on a group project and we want to make our …

c++ macos compatibility conditional-compilation
Java conditional compilation: how to prevent code chunks from being compiled?

My project requires Java 1.6 for compilation and running. Now I have a requirement to make it working with Java 1.5 (from …

java conditional-compilation