[CMAKE]
[reactos.git] / base / applications / regedit / CMakeLists.txt
1 add_definitions(-D_DLL -D__USE_CRTIMP)
2
3 set_unicode()
4
5 include_directories(BEFORE .)
6
7 list(APPEND SOURCE
8 about.c
9 childwnd.c
10 edit.c
11 error.c
12 find.c
13 framewnd.c
14 hexedit.c
15 listview.c
16 main.c
17 regedit.c
18 regproc.c
19 security.c
20 treeview.c
21 regedit.rc)
22
23 add_pch(regedit ${CMAKE_CURRENT_SOURCE_DIR}/regedit.h ${SOURCE})
24
25 add_executable(regedit ${CMAKE_CURRENT_BINARY_DIR}/regedit_regedit.h.gch ${SOURCE})
26
27 set_module_type(regedit win32gui)
28
29 target_link_libraries(regedit uuid)
30
31 add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt kernel32)
32
33 #add_subdirectory(clb)
34
35 add_cab_target(regedit 4)