2017-06-17 12:34:08 +00:00
|
|
|
|
2018-10-12 23:14:15 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
gflags.c
|
2018-10-13 15:11:51 +00:00
|
|
|
imagefile.c
|
2018-10-12 23:14:15 +00:00
|
|
|
pageheap.c
|
|
|
|
gflags.h)
|
|
|
|
|
|
|
|
add_executable(gflags ${SOURCE} gflags.rc)
|
2017-06-17 12:34:08 +00:00
|
|
|
set_module_type(gflags win32cui UNICODE)
|
|
|
|
add_importlibs(gflags advapi32 user32 msvcrt kernel32)
|
2018-10-12 23:14:15 +00:00
|
|
|
add_pch(gflags gflags.h SOURCE)
|
2017-06-17 12:34:08 +00:00
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
add_importlibs(gflags ntdll)
|
|
|
|
endif()
|
|
|
|
|
2020-06-23 21:46:35 +00:00
|
|
|
add_cd_file(TARGET gflags DESTINATION reactos/system32 FOR all)
|