2009/12/17 Nicola Brisotto <nicolabriso...@gmail.com>:
> Hello,
> I've an autotools script to convert to cmake. It has a lot of long case
> statement. Any tips to easily convert this statement?
> Here an example:
> case "$THREADS" in

I would try a set of

if(string MATCHES regex)

endif(string MATCHES regex)

see
cmake --help-command if

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
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