1
2include_directories(${CMAKE_CURRENT_SOURCE_DIR})
3
4list(APPEND SOURCE
5    main.c
6    dialog.c
7    main.h)
8
9file(GLOB winmine_rc_deps rc/*.*)
10add_rc_deps(rsrc.rc ${winmine_rc_deps})
11add_executable(winmine ${SOURCE} rsrc.rc)
12set_module_type(winmine win32gui UNICODE)
13target_link_libraries(winmine wine)
14add_importlibs(winmine user32 gdi32 advapi32 shell32 winmm msvcrt kernel32 ntdll)
15add_pch(winmine main.h SOURCE)
16add_cd_file(TARGET winmine DESTINATION reactos/system32 FOR all)
17