2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
2014-02-08 18:13:52 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
main.c
|
|
|
|
dialog.c
|
2014-02-08 18:13:52 +00:00
|
|
|
main.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-06-17 17:20:29 +00:00
|
|
|
file(GLOB winmine_rc_deps rc/*.*)
|
|
|
|
add_rc_deps(rsrc.rc ${winmine_rc_deps})
|
2014-02-08 18:13:52 +00:00
|
|
|
add_executable(winmine ${SOURCE} rsrc.rc)
|
2015-05-12 14:40:23 +00:00
|
|
|
set_module_type(winmine win32gui UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(winmine wine)
|
|
|
|
add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
|
2014-02-08 18:13:52 +00:00
|
|
|
add_pch(winmine main.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET winmine DESTINATION reactos/system32 FOR all)
|