lighttpd 1.4.x https://www.lighttpd.net/
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.
 
 
 
 
 
 

30 lines
704 B

add_executable(fcgi-responder fcgi-responder.c)
add_executable(scgi-responder scgi-responder.c)
if(WIN32)
set(SOCKLIBS ws2_32)
endif()
if(CMAKE_SYSTEM_NAME MATCHES "SunOS")
set(SOCKLIBS socket nsl)
elseif(CMAKE_SYSTEM_NAME MATCHES "Haiku")
set(SOCKLIBS network)
endif()
if(SOCKLIBS)
target_link_libraries(fcgi-responder ${SOCKLIBS})
target_link_libraries(scgi-responder ${SOCKLIBS})
endif()
set(T_FILES
prepare.sh
request.t
core-condition.t
mod-fastcgi.t
mod-scgi.t
cleanup.sh
)
foreach(it ${T_FILES})
add_test(NAME ${it} COMMAND "${lighttpd_SOURCE_DIR}/tests/wrapper.sh"
"${lighttpd_SOURCE_DIR}/tests"
"${lighttpd_BINARY_DIR}"
"${lighttpd_SOURCE_DIR}/tests/${it}")
endforeach()