mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
74ec94e12c
These are (so far): -Wno-format-overflow -Wno-nonnull-compare -Wno-old-style-declaration -Wno-unused-but-set-variable
16 lines
467 B
CMake
16 lines
467 B
CMake
|
|
list(APPEND SOURCE
|
|
dialog.c
|
|
memdlg.c
|
|
page1.c
|
|
page2.c
|
|
page3.c
|
|
trace.c)
|
|
|
|
add_executable(template_dialog ${SOURCE} dialog.rc)
|
|
set_module_type(template_dialog win32cui)
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
|
target_compile_options(template_dialog PRIVATE -Wno-unused-but-set-variable)
|
|
endif()
|
|
add_importlibs(template_dialog user32 gdi32 comctl32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET template_dialog DESTINATION reactos/system32 FOR all)
|