[CMAKE] Use modules instead of shared libraries
[reactos.git] / dll / cpl / intl / CMakeLists.txt
1
2 spec2def(intl.cpl intl.spec)
3
4 list(APPEND SOURCE
5 currency.c
6 date.c
7 generalp.c
8 intl.c
9 inplocale.c
10 numbers.c
11 time.c
12 misc.c
13 kblayouts.c
14 languages.c
15 advanced.c
16 sort.c
17 intl.h)
18
19 add_rc_deps(intl.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
20
21 add_library(intl MODULE
22 ${SOURCE}
23 intl.rc
24 ${CMAKE_CURRENT_BINARY_DIR}/intl.def)
25
26 set_module_type(intl cpl UNICODE)
27 add_importlibs(intl user32 comctl32 advapi32 setupapi shell32 msvcrt kernel32 ntdll)
28 add_pch(intl intl.h SOURCE)
29 add_cd_file(TARGET intl DESTINATION reactos/system32 FOR all)