

list(APPEND SOURCE
    gflags.c
    imagefile.c
    pageheap.c
    gflags.h)

add_executable(gflags ${SOURCE} gflags.rc)
set_module_type(gflags win32cui UNICODE)
add_importlibs(gflags advapi32 user32 msvcrt kernel32)
add_pch(gflags gflags.h SOURCE)

if(MSVC)
    add_importlibs(gflags ntdll)
endif()

add_cd_file(TARGET gflags DESTINATION reactos/system32 FOR all)
