1
2include_directories(BEFORE .)
3
4if(DBG)
5    add_definitions(-D_DEBUG=1)
6endif()
7
8list(APPEND SOURCE
9    about.c
10    childwnd.c
11    edit.c
12    error.c
13    find.c
14    framewnd.c
15    hexedit.c
16    listview.c
17    main.c
18    regedit.c
19    regproc.c
20    security.c
21    settings.c
22    treeview.c
23    txtproc.c
24    regedit.h)
25
26file(GLOB regedit_rc_deps res/*.*)
27add_rc_deps(regedit.rc ${regedit_rc_deps})
28add_executable(regedit ${SOURCE} regedit.rc)
29set_module_type(regedit win32gui UNICODE)
30target_link_libraries(regedit uuid wine)
31add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt kernel32 ntdll)
32add_pch(regedit regedit.h SOURCE)
33add_cd_file(TARGET regedit DESTINATION reactos FOR all)
34add_subdirectory(clb)
35