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 and put the value > of _BUILD_MODULE_ into BUILD_MODULE.
You want either TRY_COMPILE or TRY_RUN. Cheers, Brandon Van Every _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake