[CMAKE]
[reactos.git] / dll / cpl / intl / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D_DLL -D__USE_CRTIMP)
5
6 spec2def(intl ${CMAKE_CURRENT_SOURCE_DIR}/intl.spec ${CMAKE_CURRENT_BINARY_DIR}/intl.def)
7
8 add_library(intl SHARED
9 currency.c
10 date.c
11 generalp.c
12 intl.c
13 inplocale.c
14 numbers.c
15 time.c
16 misc.c
17 kblayouts.c
18 languages.c
19 advanced.c
20 sort.c
21 intl.rc)
22
23 set_module_type(intl cpl)
24
25 target_link_libraries(intl ${CMAKE_CURRENT_BINARY_DIR}/intl.def)
26
27 add_importlibs(intl
28 msvcrt
29 user32
30 comctl32
31 advapi32
32 setupapi
33 shell32
34 kernel32)
35
36 add_dependencies(intl intl_def)