487bff26f9081dd5021d0b474c3cc79f23b60b77
[reactos.git] / dll / cpl / main / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D_DLL -D__USE_CRTIMP)
5
6 spec2def(main ${CMAKE_CURRENT_SOURCE_DIR}/main.spec ${CMAKE_CURRENT_BINARY_DIR}/main.def)
7
8 add_library(main SHARED
9 keyboard.c
10 main.c
11 mouse.c
12 main.rc)
13
14 set_module_type(main cpl)
15
16 target_link_libraries(main ${CMAKE_CURRENT_BINARY_DIR}/main.def)
17
18 add_importlibs(main
19 msvcrt
20 advapi32
21 user32
22 comctl32
23 devmgr
24 comdlg32
25 shell32
26 gdi32
27 kernel32)
28
29 add_dependencies(main main_def)