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