c preprocessor - How to transfer #define-constants to another C++-project? -


i have 2 c++-projects in visual studio 2010, , 1 of them has check if #define-constant has been set in other project (this 1 dll, first 1 executable). according constant being set in executable dll should compiled in way (with #ifdef , #ifndef). how possible, or there way control way dll compiled remotely?

the usual way stuff defines central (shared) header, traditional names config.h, instead of using vs specific project settings.

if want pry them out of existing project files, vim/grep on .vcproj decent job.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -