1 2set_cpp(WITH_RUNTIME WITH_STL WITH_EXCEPTIONS) 3include_directories(BEFORE include) 4add_compile_flags("-D__USE_W32_SOCKETS") 5 6list(APPEND SOURCE 7 config.cpp 8 error.cpp 9 http.cpp 10 httpd.cpp 11 roshttpd.cpp 12 common/list.cpp 13 common/socket.cpp 14 common/thread.cpp) 15 16add_executable(roshttpd ${SOURCE} common/roshttpd.rc) 17set_module_type(roshttpd win32cui) 18add_importlibs(roshttpd user32 ws2_32 msvcrt kernel32) 19add_cd_file(TARGET roshttpd DESTINATION reactos/system32 FOR all) 20