[CMAKE] Get rid of the set_cpp macro
[reactos.git] / modules / rosapps / applications / net / roshttpd / CMakeLists.txt
1
2 include_directories(BEFORE include)
3 add_compile_flags("-D__USE_W32_SOCKETS")
4
5 list(APPEND SOURCE
6 config.cpp
7 error.cpp
8 http.cpp
9 httpd.cpp
10 roshttpd.cpp
11 common/list.cpp
12 common/socket.cpp
13 common/thread.cpp)
14
15 add_executable(roshttpd ${SOURCE} common/roshttpd.rc)
16 target_link_libraries(roshttpd cppstl)
17 set_target_cpp_properties(roshttpd WITH_EXCEPTIONS)
18 set_module_type(roshttpd win32cui)
19 add_importlibs(roshttpd user32 ws2_32 msvcrt kernel32)
20 add_cd_file(TARGET roshttpd DESTINATION reactos/system32 FOR all)