cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sukender: curl/tests/libtest CMakeLists.txt,NONE,1.1

From: Piotr Dobrogost <pd_at_opensource.dobrogost.pl>
Date: Sat, 11 Apr 2009 00:10:33 +0200

I'm annoyed by having to read (and soon write I hope)

SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")

instead of something like

SETPREPEND(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS}")

or

SET(CMAKE_C_FLAGS PREPEND "${CMAKE_ANSI_CFLAGS}")

Can we add macros for this and other similar things to make reading and
writing this code easier?

-- 
Piotr Dobrogost
*** curlpp.org - c++ wrapper for libcurl ***
Received on 2009-04-11