Re: cmake std::regex detection on unix

2015-12-06 Thread Kornel Benko
Am Sonntag, 6. Dezember 2015 um 20:05:26, schrieb Georg Baum > Kornel Benko wrote: > > > The patch does not handle the windows part. For unix and MINGW I'd say > > yes. > > windows is not handled on purpose. Until we know the reason for the linker > errors Uwe is seeing we should not touch the

Re: cmake std::regex detection on unix

2015-12-06 Thread Georg Baum
Kornel Benko wrote: > The patch does not handle the windows part. For unix and MINGW I'd say > yes. windows is not handled on purpose. Until we know the reason for the linker errors Uwe is seeing we should not touch the MSVC part IMHO. Georg

Re: cmake std::regex detection on unix

2015-12-06 Thread Kornel Benko
Am Sonntag, 6. Dezember 2015 um 17:56:41, schrieb Georg Baum > Kornel Benko wrote: > > > Test for headers is done in ConfigureChecks.cmake. Simply add the header > > name to the foreach loop at line 28. > > The created variable for header xy.h is "HAVE_XY_H". > > Thanks, this was the place I se

Re: cmake std::regex detection on unix

2015-12-06 Thread Kornel Benko
Am Sonntag, 6. Dezember 2015 um 17:56:41, schrieb Georg Baum > Kornel Benko wrote: > > > Test for headers is done in ConfigureChecks.cmake. Simply add the header > > name to the foreach loop at line 28. > > The created variable for header xy.h is "HAVE_XY_H". > > Thanks, this was the place I se

Re: cmake std::regex detection on unix

2015-12-06 Thread Georg Baum
Kornel Benko wrote: > Test for headers is done in ConfigureChecks.cmake. Simply add the header > name to the foreach loop at line 28. > The created variable for header xy.h is "HAVE_XY_H". Thanks, this was the place I serached. Unfortunately it does not work exactly like that (regex is a C++ hea

Re: cmake std::regex detection on unix

2015-12-06 Thread Kornel Benko
Am Sonntag, 6. Dezember 2015 um 14:36:41, schrieb Georg Baum > Hi Kornel, > > when compiling with cmake and LYX_ENABLE_CXX11=ON, std::regex is not used. > This is different to autotools, where std::regex is used, if C++11 is used, > and the header is present, and the compiler is not gcc with k