[CMake] Setting macro while compiling through cmake

ankit jain ankitguddu at gmail.com
Thu Feb 12 08:01:17 EST 2009


Hi all,

If i want to compile through g++ as:

g++ -Dname=value

The same if i want to do with cmake how to do it. Whether i need to make
some entry in CMakeCache.txt or somewhere else?

Ankit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090212/c27a30c2/attachment.htm>


More information about the CMake mailing list