1
2
3list(APPEND SOURCE
4    gflags.c
5    imagefile.c
6    pageheap.c
7    gflags.h)
8
9add_executable(gflags ${SOURCE} gflags.rc)
10set_module_type(gflags win32cui UNICODE)
11add_importlibs(gflags advapi32 user32 msvcrt kernel32)
12add_pch(gflags gflags.h SOURCE)
13
14if(MSVC)
15    add_importlibs(gflags ntdll)
16endif()
17
18add_cd_file(TARGET gflags DESTINATION reactos/bin FOR all)
19