[GFLAGS] Move code around to handle multiple options
[reactos.git] / modules / rosapps / applications / cmdutils / gflags / CMakeLists.txt
1
2
3 list(APPEND SOURCE
4 gflags.c
5 pageheap.c
6 gflags.h)
7
8 add_executable(gflags ${SOURCE} gflags.rc)
9 set_module_type(gflags win32cui UNICODE)
10 add_importlibs(gflags advapi32 user32 msvcrt kernel32)
11 add_pch(gflags gflags.h SOURCE)
12
13 if(MSVC)
14 add_importlibs(gflags ntdll)
15 endif()
16
17 add_cd_file(TARGET gflags DESTINATION reactos/bin FOR all)