On Tue, Sep 29, 2009 at 10:56:45AM -0600, Steven Wilson wrote:
> Is there a way to compare the contents of one variable with another?   I'm
> looking for something like:
> if(${FOO} EQUAL ${BAR})

Did you read the docs for the if() command?

cmake --help-command if


tyler
_______________________________________________
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

Reply via email to