On Thursday 12 February 2009, ankit jain wrote: > 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?
This is a lot of documentation available online, which gives you this kind of basic information: http://www.cmake.org/Wiki/CMake#Tutorials You can also buy the book "Mastering CMake": http://www.kitware.com/products/books/CMakeBook.html Best regards Alex _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake