Re: [CMake] Finding out what a preprocessor macro is defined as

2007-12-30 Thread Alexander Neundorf
On Saturday 29 December 2007, Matt Williams wrote: > Hi, > > I am writing a cmake system for a project, but at one point I need to > decide whether a certain module of it should be built or not. Now, there's > some preprocessor logic in one of the header files which sets a > preprocessor #define to

Re: [CMake] Finding out what a preprocessor macro is defined as

2007-12-29 Thread Brandon Van Every
On Dec 29, 2007 10:20 AM, Matt Williams <[EMAIL PROTECTED]> wrote: > > What I was hoping would be possible is for me to be able to run a cmake macro, > something like > INSPECT_CPP_MACRO(_BUILD_MODULE_ "../include/PlatformInformation.h" > BUILD_MODULE) which would compile and run the header file an

[CMake] Finding out what a preprocessor macro is defined as

2007-12-29 Thread Matt Williams
Hi, I am writing a cmake system for a project, but at one point I need to decide whether a certain module of it should be built or not. Now, there's some preprocessor logic in one of the header files which sets a preprocessor #define to 1 or 0 and that is used to decide whether to include the h