[Cmake] case sensitive string matching ?
Jan Woetzel
jw at mip . informatik . uni-kiel . de
Tue, 01 Jul 2003 16:53:28 +0200
Hi,
is there a way to do case sensitive string matching?
In IF matching seems to be case insensitive,
both of teh following versions match:
IF("ab" MATCHES "a*")
MESSAGE("++++ ab matches a* ")
ENDIF("Aab" MATCHES "A*")
IF("ab" MATCHES "A*")
MESSAGE("++++ ab matcheses A* ")
ENDIF("ab" MATCHES "A*")
Background:
There are third party configure --cflags and configure--libs scripts I
want to use.
Their output is a mix of libs and link directories.
I want to sort the libs out by "-l*" and teh link directopries by "-L*".
I want to avoid putting a backquoted `config --libs` into to
CMAKE_CXX_FLAGS to get rpath running correctly.
I am refering to cmake Version 1.6.7 under Linux.
Best regards,
Jan.
--
Dipl.-Ing. Jan Woetzel
--------------------------------------------------
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 401]
24098 Kiel/Germany
--------------------------------------------------
Phone +49-431-880-1418
Fax +49-431-880-4054
Mob. +49-179-2937346
--------------------------------------------------
Url www.mip.informatik.uni-kiel.de/~jw
Email jw at mip . informatik . uni-kiel . de