debug fastcgi streams while forwarding them https://redmine.lighttpd.net/projects/fcgi-debug
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
799 B

13 years ago
MACRO(ADD_TARGET_PROPERTIES _target _name)
SET(_properties)
FOREACH(_prop ${ARGN})
SET(_properties "${_properties} ${_prop}")
ENDFOREACH(_prop)
GET_TARGET_PROPERTY(_old_properties ${_target} ${_name})
# MESSAGE("adding property to ${_target} ${_name}:" ${_properties})
13 years ago
IF(NOT _old_properties)
# in case it's NOTFOUND
SET(_old_properties)
ENDIF(NOT _old_properties)
SET_TARGET_PROPERTIES(${_target} PROPERTIES ${_name} "${_old_properties} ${_properties}")
ENDMACRO(ADD_TARGET_PROPERTIES)
MACRO(TARGET_USE_PACKAGE _target _ldirs _libs _lflags _cflags)
LINK_DIRECTORIES(${_ldirs})
TARGET_LINK_LIBRARIES(fcgi-debug ${_libs})
ADD_TARGET_PROPERTIES(fcgi-debug LINK_FLAGS "${_lflags}")
ADD_TARGET_PROPERTIES(fcgi-debug COMPILE_FLAGS ${_cflags})
ENDMACRO(TARGET_USE_PACKAGE)