Re: CHECK_SYMBOL_EXISTS and C++

Geoffrey Biggs <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
You can supply CMake with a short program and instruct it to see if it
compiles, then based on the result decide if the feature that program
uses is supported or not.

Geoff

On 02/07/10 15:40, Paul Osmialowski wrote:
> Is it possible for cmake to check if some C++ stream modifier is defined? 
> I doubt CHECK_SYMBOL_EXISTS is capable to do that. I'd like to modify 
> CMakeLists.txt for epuck driver so it could check if std::showbase is 
> defined in <iostream> (which is not in older g++).
> 
> Paul

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.