Re: [Cppcms-users] cppcms build problems
Brought to you by:
artyom-beilis
From: Markus R. <us...@ma...> - 2009-11-11 17:00:20
|
Artyom wrote: > Hello... > >> >> Searching for libs is very easy - if there is already >> support for it. It is >> also often done without pkg-config. Something like >> find_package(Boost 1.34 REQUIRED COMPONENTS thread >> date_time program_options >> regex filesystem) >> may be enough. > > Good you mentioned it ;-) Just to make my points better. > Ok lets try to search a library by myself and check if I can > find all I need... Find 5 libraries... but second > if(X and Y and Z and T) does not work in CMake syntax... > So lets write long-long tests... The tests are quite long, but hopefully they will be shared along projects soon or accepted into cmake core. > Ok lets check where we have socket? in libc, nls, or socket > (AC_SEARCH_LIBS) there is no such thing (note it is quite > different from find library)... > > Write long macros again. Yes > Now, lets check for simple C++0x feature "auto"... Wait a second > for TRY_COMPILE I need to create a project instead of writing > 3 lines. WTF??? You are writing for boost, so you can simply use BOOST_NO_AUTO_DECLARATIONS and don't need to write the checks yourself :-) > ----------------------------- > In other words... > > CMake is almost as useable as... handly written configure script. > It is just too verbose, It is more > verbose by an order of magnitude then auto* even for simple > tasks you take for granted. It is verbose, no question about that. I am asking myself how happy you will be with Jam :-) Markus -- http://www.markus-raab.org | Nur wer gegen den Strom schwimmt, kann zu -o) | Quelle gelangen. -- Chinesisches Kernel 2.6.24-1-a /\ | Sprichwort on a x86_64 _\_v | |