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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -