[C++]
[reactos.git] / reactos / base / applications / network / telnet / CMakeLists.txt
1
2 set_cpp(WITH_EXCEPTIONS WITH_STL)
3
4 add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
5
6 add_executable(telnet
7 src/ansiprsr.cpp
8 src/keytrans.cpp
9 src/tcharmap.cpp
10 src/tconsole.cpp
11 src/tkeydef.cpp
12 src/tkeymap.cpp
13 src/tmapldr.cpp
14 src/tmouse.cpp
15 src/tnclass.cpp
16 src/tnclip.cpp
17 src/tncon.cpp
18 src/tnconfig.cpp
19 src/tnerror.cpp
20 src/tnetwork.cpp
21 src/tnmain.cpp
22 src/tnmisc.cpp
23 src/tscript.cpp
24 src/tscroll.cpp
25 src/ttelhndl.cpp
26 telnet.rc)
27
28 set_module_type(telnet win32cui)
29 add_pch(telnet src/precomp.h)
30 add_importlibs(telnet ws2_32 user32 msvcrt kernel32 ntdll)
31 add_cd_file(TARGET telnet DESTINATION reactos/system32 FOR all)
32
33 if(NOT MSVC)
34 add_compile_flags_language("-Wno-narrowing" "CXX")
35 endif()