[CMAKE]
[reactos.git] / base / applications / regedit / CMakeLists.txt
1
2 add_definitions(-D_DLL -D__USE_CRTIMP)
3
4 set_unicode()
5
6 include_directories(BEFORE .)
7
8 list(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 treeview.c
22 regedit.rc)
23
24 add_pch(regedit ${CMAKE_CURRENT_SOURCE_DIR}/regedit.h ${SOURCE})
25
26 add_executable(regedit ${CMAKE_CURRENT_BINARY_DIR}/regedit_regedit.h.gch ${SOURCE})
27
28 set_module_type(regedit win32gui)
29
30 target_link_libraries(regedit uuid)
31
32 add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt kernel32)
33
34 #add_subdirectory(clb)
35
36 add_cab_target(regedit 4)