mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 04:07:16 +00:00

fix pch support, with proper dependancies. Use cmake built-in functions instead of doing weird "magic" with tabs and spaces. According to gcc doc, if header.h is precompiled, the output should be named "header.h.gch" and not anything else. svn path=/trunk/; revision=52058
34 lines
548 B
CMake
34 lines
548 B
CMake
|
|
set_unicode()
|
|
|
|
list(APPEND SOURCE
|
|
bitmap.c
|
|
bsops.c
|
|
cache.c
|
|
channels.c
|
|
connectdialog.c
|
|
iso.c
|
|
licence.c
|
|
mcs.c
|
|
mppc.c
|
|
orders.c
|
|
pstcache.c
|
|
rdp5.c
|
|
rdp.c
|
|
secure.c
|
|
settings.c
|
|
ssl_calls.c
|
|
tcp.c
|
|
uimain.c
|
|
win32.c
|
|
rdc.rc)
|
|
|
|
add_executable(mstsc ${SOURCE})
|
|
|
|
add_pch(mstsc precomp.h)
|
|
|
|
set_module_type(mstsc win32gui)
|
|
|
|
add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
|
|
|
|
add_cd_file(TARGET mstsc DESTINATION reactos/system32 FOR all)
|